CVE-2026-31559: Linux kernel · LoongArch: Fix missing NULL checks for kstrdup()
Affects Linux kernelSource GCVE Database
Not known to be exploited · CVSS 5.5 Medium.
Data as of 24 Nov 2026, 20:27 UTC
Thin evidence
One scorer or noneCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HExploitation 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 23 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 24.04 LTSlinux-azure-6.11pkg:deb/ubuntu/linux-azure-6.11?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Ubuntu 24.04 LTSlinux-gcp-6.11pkg:deb/ubuntu/linux-gcp-6.11?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Ubuntu 24.04 LTSlinux-hwe-6.11pkg:deb/ubuntu/linux-hwe-6.11?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Ubuntu 24.04 LTSlinux-lowlatency-hwe-6.11pkg:deb/ubuntu/linux-lowlatency-hwe-6.11?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Ubuntu 24.04 LTSlinux-nvidia-6.11pkg:deb/ubuntu/linux-nvidia-6.11?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Ubuntu 24.04 LTSlinux-oem-6.11pkg:deb/ubuntu/linux-oem-6.11?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
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.
References
- ubuntu.com/security/CVE-2026-31559 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2026-31559 (opens in a new tab)
- git.kernel.org/linus/3a28daa9b7d7c2ddf2c722e9e95d7e0928bf0cd1 (opens in a new tab)
- git.kernel.org/stable/c/3a28daa9b7d7c2ddf2c722e9e95d7e0928bf0cd1 (opens in a new tab)
- 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)