VDB

CVE-2026-31559

CVE-2026-31559 PUBLISHED

LoongArch: Fix missing NULL checks for kstrdup()

Reported by linux · Published April 24, 2026

In the Linux kernel, the following vulnerability has been resolved: LoongArch: Fix missing NULL checks for kstrdup() 1. Replace "of_find_node_by_path("/")" with "of_root" to avoid multiple calls to "of_node_put()". 2. Fix a potential kernel oops during early boot when memory allocation fails while parsing CPU model from device tree.

EPSS 0.12% · 1.9th percentile

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
linux_kernellinux6.19.11, 6.18.21, 6.17, 6.16, 6.12.80

Risk scores

EPSS Score
0.12%
1.9th percentile

Affected products

VendorProductVersions
LinuxLinuxfacc69f43502c135c16b97d5ded7253f15597912, 70a2365e18affc5ebdaab1ca6a0b3c4f3aac2ee8, 70a2365e18affc5ebdaab1ca6a0b3c4f3aac2ee8
LinuxLinux6.17, 0, 6.12.80
LinuxLinux6.16.2, 6.18.21, 6.19.11
linuxlinux_kernel6.17, 6.17, 6.17

Timeline

  • Apr 24, 2026 CVE Published
  • Apr 24, 2026 Security Advisory (102 in total, the first dated here)
  • May 18, 2026 EPSS Score (24 in total, the first dated here)
  • Jun 17, 2026 CVE Updated
  • Jul 18, 2026 Coalition ESS Score
  • Aug 11, 2026 Distribution Patch (97 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-31559
vulnetix vdb fixes CVE-2026-31559

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-31559/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›