CVEvulnerability
CVE-2026-31559
5.5 MEDIUM
Official page ↗
- Status
- Analyzed
- Published
- 2026-04-24
- Last modified
- 2026-06-17
- Assigner
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- CVSS 3.1 ([email protected])
- 5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-476
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 configurations
• linux linux kernel (>= 6.12.43 < 6.12.80)
• linux linux kernel (>= 6.15.11 < 6.16)
• linux linux kernel (>= 6.16.2 < 6.17)
• linux linux kernel (>= 6.17.1 < 6.18.21)
• linux linux kernel (>= 6.19 < 6.19.11)
• linux linux kernel 6.17
• linux linux kernel 7.0
Related
Weakness · CWE (1)
- CWE-476 NULL Pointer Dereference weakness
References
- https://git.kernel.org/stable/c/3a28daa9b7d7c2ddf2c722e9e95d7e0928bf0cd1 Patch
- https://git.kernel.org/stable/c/5e7fde2c551f86e6c3de3fd7a9b1f52806ac8db0 Patch
- https://git.kernel.org/stable/c/a1da957c25cf751a2dce8fb7777f82ccbac0cb3e Patch
- https://git.kernel.org/stable/c/b61a309743322fb57fb9afa9aa3495ac758e4f5e Patch