Skip to main content

Linux Kernel CVE-2026-31559

| EUVDEUVD-2026-25452 MEDIUM
NULL Pointer Dereference (CWE-476)
2026-04-24 Linux GHSA-jj4r-h87w-8r6g
5.5
CVSS 3.1 · NVD
Share

Severity by source

NVD PRIMARY
5.5 MEDIUM
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
vuln.today AI
5.1 MEDIUM

Boot-time trigger requires memory allocation failure (AC:H); no user privilege context exists at early boot (PR:N); impact is purely local availability.

3.1 AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
4.0 AV:L/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
SUSE
MEDIUM
qualitative

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

6
Analysis Generated
Jul 24, 2026 - 03:12 vuln.today
CVSS changed
Apr 27, 2026 - 20:22 NVD
5.5 (MEDIUM)
Patch released
Apr 27, 2026 - 20:13 nvd
Patch available
Patch available
Apr 24, 2026 - 16:16 EUVD
EUVD ID Assigned
Apr 24, 2026 - 15:00 euvd
EUVD-2026-25452
CVE Published
Apr 24, 2026 - 14:35 nvd
MEDIUM 5.5

DescriptionCVE.org

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()".

  1. Fix a potential kernel oops during early boot when memory allocation

fails while parsing CPU model from device tree.

AnalysisAI

Null pointer dereference in the Linux kernel's LoongArch architecture code can crash the kernel during early boot when kstrdup() fails to allocate memory while parsing CPU model strings from the device tree. Affected systems running unpatched kernels on LoongArch hardware may experience a kernel oops and complete system unavailability if memory is exhausted at boot time. No public exploit exists and EPSS is 0.02% (6th percentile), reflecting very low exploitation probability; this is not listed in CISA KEV.

Technical ContextAI

The vulnerability resides in LoongArch-specific early boot code in the Linux kernel (CWE-476: NULL Pointer Dereference). During boot, the kernel reads CPU model strings from the device tree and duplicates them via kstrdup(). kstrdup() returns NULL on allocation failure, and the code lacked validation of this return value before dereferencing the pointer, causing a kernel oops. A related fix replaces of_find_node_by_path('/') with the of_root global to prevent reference count imbalances from multiple of_node_put() calls. The CPE cpe:2.3:a:linux:linux:*:*:*:*:*:*:*:* confirms this is a mainline Linux kernel issue, and the code path is exclusive to the LoongArch architecture - a RISC ISA developed by Loongson Technology and used primarily in Chinese government and enterprise deployments. x86, ARM, and other architectures do not execute this code path.

RemediationAI

Upgrade the Linux kernel on LoongArch systems to a patched version: 6.12.80, 6.18.21, 6.19.11, or 7.0. Upstream fix commits are published at https://git.kernel.org/stable/c/5e7fde2c551f86e6c3de3fd7a9b1f52806ac8db0 (6.18 branch), https://git.kernel.org/stable/c/a1da957c25cf751a2dce8fb7777f82ccbac0cb3e (6.12 branch), https://git.kernel.org/stable/c/b61a309743322fb57fb9afa9aa3495ac758e4f5e (6.19 branch), and https://git.kernel.org/stable/c/3a28daa9b7d7c2ddf2c722e9e95d7e0928bf0cd1 (7.0). For systems that cannot be immediately patched, ensuring LoongArch hardware has adequate physical memory reduces the probability of boot-time allocation failure triggering this path; however, this is not a reliable mitigation as memory availability cannot be strictly guaranteed. Red Hat and SUSE customers should await and apply distribution-specific kernel errata. NVD advisory detail is available at https://nvd.nist.gov/vuln/detail/CVE-2026-31559.

Vendor StatusVendor

SUSE

Severity: Medium
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Fixed
SUSE Linux Enterprise Desktop 15 SP7 Fixed
SUSE Linux Enterprise High Availability Extension 15 SP7 Fixed
SUSE Linux Enterprise High Availability Extension 15 SP7 Fixed
SUSE Linux Enterprise High Performance Computing 15 SP7 Fixed

Share

CVE-2026-31559 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy