CVE-2026-31559

MEDIUM

LoongArch: Fix missing NULL checks for kstrdup()

Title source: cna
STIX 2.1

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.

Scores

CVSS v3 5.5
EPSS 0.0001
EPSS Percentile 2.1%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Details

CWE
CWE-476
Status published
Products (19)
Linux/Linux < 6.17
Linux/Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 - 3a28daa9b7d7c2ddf2c722e9e95d7e0928bf0cd1
Linux/Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 - 5e7fde2c551f86e6c3de3fd7a9b1f52806ac8db0
Linux/Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 - a1da957c25cf751a2dce8fb7777f82ccbac0cb3e
Linux/Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 - b61a309743322fb57fb9afa9aa3495ac758e4f5e
Linux/Linux 6.12.80 - 6.12.*
Linux/Linux 6.17
Linux/Linux 6.18.21 - 6.18.*
Linux/Linux 6.19.11 - 6.19.*
Linux/Linux 620805dc674eab3055543496a7ef25beb9ffd2a8
... and 9 more
Published Apr 24, 2026
Tracked Since Apr 24, 2026