CVE-2026-31559: Linux kernel · LoongArch: Fix missing NULL checks for kstrdup()
Affects Linux kernelSource GCVE Database
Not known to be exploited · fixed in 6.12.43 : update Linux kernel when convenient.
Data as of 12 Nov 2026, 03:33 UTC
Rated Medium by Threat Radar's AI analysis · No CVSS score from NVD or the CNA
Thin evidence
One scorer or none- Patch
- Available – fixed in 6.12.43
Exploitation evidence
Disclosed: evidence found.
CVE published 24 Apr 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 11 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux | Affected
| Fixed in– |
AI-suggested
A fix is available in Linux kernel versions 6.12.43, 6.15.11, and 6.16.2. Users and administrators should upgrade to these or later versions to resolve the issue. No other mitigation actions are indicated.
Description
A vulnerability in the Linux kernel related to the LoongArch architecture has been fixed. The issue involved missing NULL checks for the kstrdup() function, which could lead to a kernel oops during early boot if memory allocation failed while parsing the CPU model from the device tree. Additionally, a code change replaced multiple calls to of_node_put() by using of_root instead of of_find_node_by_path("/").
References
- git.kernel.org/stable/c/5e7fde2c551f86e6c3de3fd7a9b1f52806ac8db0 (opens in a new tab)
- git.kernel.org/stable/c/a1da957c25cf751a2dce8fb7777f82ccbac0cb3e (opens in a new tab)
- git.kernel.org/stable/c/b61a309743322fb57fb9afa9aa3495ac758e4f5e (opens in a new tab)
- git.kernel.org/stable/c/3a28daa9b7d7c2ddf2c722e9e95d7e0928bf0cd1 (opens in a new tab)