What’s Vulnerable › Vulnerabilities

CVE-2026-31559: LoongArch: Fix missing NULL checks for kstrdup()

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.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 6.12.80, 6.16, 6.17, 6.18.21. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-31559 or the next vulnerability affects your stack