CVE-2026-31559: LoongArch: Fix missing NULL checks for kstrdup()
In the Linux kernel, the following vulnerability has been resolved:
LoongArch: Fix missing NULL checks for kstrdup()
1. Replace "offindnodebypath("/")" with "ofroot" to avoid multiple calls to "ofnodeput()".
2. Fix a potential kernel oops during early boot when memory allocation fails while parsing CPU model from device tree.
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2026-31559?
The severity of CVE-2026-31559 is medium with a CVSS score of 5.5.
How do I fix CVE-2026-31559?
CVE-2026-31559 can be fixed by applying the available patch from the Linux kernel.
What type of vulnerability is CVE-2026-31559?
CVE-2026-31559 is classified as a Null Pointer Dereference vulnerability.
Which software is affected by CVE-2026-31559?
CVE-2026-31559 affects the Linux kernel, specifically the LoongArch architecture.
What is the description of CVE-2026-31559?
CVE-2026-31559 addresses a missing NULL check for kstrdup() in the Linux kernel that could lead to a kernel oops during early boot.