CVE-2026-31559
LoongArch: Fix missing NULL checks for kstrdup()
Summary
LoongArch: Fix missing NULL checks for kstrdup()
Original description
The description as published by the source.
In the Linux kernel, the following vulnerability has been resolved:
LoongArch: Fix missing NULL checks for kstrdup()
-
Replace "of_find_node_by_path("/")" with "of_root" to avoid multiple
calls to "of_node_put()". -
Fix a potential kernel oops during early boot when memory allocation
fails while parsing CPU model from device tree.
Affected packages
Linux
Kernel
[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.12.80"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.21"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.17.0"},{"fixed":"6.19.11"}]}]
Fix status by distribution
Fixed packages published by each distribution for this CVE
- BellSoft Alpaquita BELL-CVE-2026-31559 linux-lts Fixed in: 6.12.80-r0
- Debian DEBIAN-CVE-2026-31559 linux Fixed in: 6.12.85-1
- Ubuntu UBUNTU-CVE-2026-31559 linux-hwe-edge
References
- advisory github.com
- advisory nvd.nist.gov
- package git.kernel.org
- web git.kernel.org
- web git.kernel.org
- web git.kernel.org
- web git.kernel.org