CVE-2026-31559
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.
| Package | Ecosystem | Fixed in |
|---|---|---|
| linux_kernel | linux | 6.19.11, 6.18.21, 6.17, 6.16, 6.12.80 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | facc69f43502c135c16b97d5ded7253f15597912, 70a2365e18affc5ebdaab1ca6a0b3c4f3aac2ee8, 70a2365e18affc5ebdaab1ca6a0b3c4f3aac2ee8 |
| Linux | Linux | 6.17, 0, 6.12.80 |
| Linux | Linux | 6.16.2, 6.18.21, 6.19.11 |
| linux | linux_kernel | 6.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