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
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    LoongArch system initiates boot sequence
  2. Delivery
    Kernel parses CPU model from device tree
  3. Exploit
    kstrdup() returns NULL due to memory exhaustion
  4. Execution
    Unpatched code dereferences NULL pointer
  5. Persist
    Kernel oops triggers in early boot
  6. Impact
    System halts or reboots, denying availability

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A10:2025 - Mishandling of Exceptional Conditions
ASVS 5.0
V16 - Security Logging and Error Handling Null pointer safety, defensive checks
MITRE ATT&CK

1 technique across 1 tactic: Impact

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires three concurrent conditions: (1) the system must run a LoongArch-architecture processor - this code path is entirely absent on x86, ARM, RISC-V, or any other architecture; (2) the system must run an unpatched Linux kernel (pre-6.12.80, pre-6.18.21, pre-6.19.11, or pre-7.0); and (3) memory allocation (kstrdup) must fail during early boot while the kernel parses the CPU model string from the device tree. Condition (3) is the key limiting factor: on systems with adequate physical memory, kstrdup() succeeds and the vulnerable code path completes without issue. This is a boot-time flaw, not a runtime attack surface - a running system with a logged-in user cannot trigger this directly. Exploitation cannot be performed remotely and does not require authenticated user access.

Impact

The official CVSS 3.1 vector AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H (5.5 Medium) captures the local, availability-only nature of this flaw but AC:L and PR:L merit scrutiny: the trigger is a memory allocation failure during early boot, a condition that cannot be reliably engineered by an unprivileged user on a running system, suggesting AC:H is more accurate. EPSS at 0.02% (6th percentile) aligns with the assessment that this is not exploited opportunistically. The vulnerability is not in CISA KEV and no POC has been identified. Real-world risk is low: it affects only LoongArch hardware (a niche architecture), the trigger requires memory pressure at boot time rather than a runtime user-space attack, and the impact is limited to a local denial of service via kernel crash. Red Hat and SUSE are tagged as affected distributions, suggesting downstream patching is underway. This is a genuine but low-urgency defect - prioritize patching in LoongArch deployments but it does not warrant emergency response.

Exploit ScenarioDerived

On a LoongArch server or embedded device booting under severe memory pressure - such as a system with minimal RAM or a hypervisor guest with restricted memory - the kernel's early-boot device tree parsing calls kstrdup() to copy the CPU model string, which returns NULL due to allocation failure. The unpatched code then dereferences this NULL pointer, triggering a kernel oops during initialization that halts the boot sequence, leaving the system unavailable. No public exploit code has been identified for this scenario.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 24, 2026

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.

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.

Affected VersionsENISA

Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <5e7fde2c551f86e6c3de3fd7a9b1f52806ac8db0
Linux patch: 6.18.21
Linux patch: 7.0
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <a1da957c25cf751a2dce8fb7777f82ccbac0cb3e
Linux patch: 6.12.80
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <3a28daa9b7d7c2ddf2c722e9e95d7e0928bf0cd1
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <b61a309743322fb57fb9afa9aa3495ac758e4f5e
Linux patch: 6.19.11

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

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.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

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

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

4
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
CVE Published
Apr 24, 2026 - 14:35 nvd
MEDIUM 5.5

DescriptionNVD

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.

Threat Intelligence Overview

EPSS Score
0.0%
Top 94% exploitable
Prevalence
Low
LoongArch is a niche Chinese RISC ISA with limited global enterprise footprint.
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

28
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +28
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A null pointer dereference occurs when a program attempts to access memory through a pointer that has been set to NULL (address 0x0).

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

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

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