CVE-2026-31559

published 24 Apr 2026 · updated 17 Nov 2026

LoongArch: Fix missing NULL checks for kstrdup()

5.5MediumCVSS 5.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 6.12.80, Kernel 6.16, Kernel 6.17 and 6 more.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel>=6.12.43 <6.12.80, >=6.15.11 <6.16, >=6.16.2 <6.17, >=6.17.1 <6.18.21, >=6.19 <6.19.11, =6.17, =7.0, >=70a2365e18affc5ebdaab1ca6a0b3c4f3aac2ee8 <3a28daa9b7d7c2ddf2c722e9e95d7e0928bf0cd1, >=70a2365e18affc5ebdaab1ca6a0b3c4f3aac2ee8 <a1da957c25cf751a2dce8fb7777f82ccbac0cb3e, >=70a2365e18affc5ebdaab1ca6a0b3c4f3aac2ee8 <b61a309743322fb57fb9afa9aa3495ac758e4f5e, >=facc69f43502c135c16b97d5ded7253f15597912 <5e7fde2c551f86e6c3de3fd7a9b1f52806ac8db0, =620805dc674eab3055543496a7ef25beb9ffd2a8, =8dfeedf9eceadc1a2fc9066b4c5230690d1cad486.12.80, 6.16, 6.17, 6.18.21, 6.19.11, 3a28daa9b7d7c2ddf2c722e9e95d7e0928bf0cd1, a1da957c25cf751a2dce8fb7777f82ccbac0cb3e, b61a309743322fb57fb9afa9aa3495ac758e4f5e, 5e7fde2c551f86e6c3de3fd7a9b1f52806ac8db0
linux-kernel: Kernel>=6.12.43 <6.12.80, >=6.15.11 <6.16, >=6.16.2 <6.17, >=6.17.0 <6.18.21, >=6.19.0 <6.19.116.12.80, 6.16, 6.17, 6.18.21, 6.19.11

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-31559 severity on Zeptric[![CVE-2026-31559](https://zeptric.io/badge/cve/CVE-2026-31559.svg)](https://zeptric.io/cve/CVE-2026-31559)