Skip to main content

Linux Kernel CVE-2026-31577

| EUVDEUVD-2026-25470 MEDIUM
NULL Pointer Dereference (CWE-476)
2026-04-24 Linux GHSA-9pgh-55q5-rvp6
5.5
CVSS 3.1 · NVD
View

Attack ChainAIDerived

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

  1. Access
    Mount nilfs2 filesystem locally
  2. Delivery
    Invoke NILFS_IOCTL_CLEAN_SEGMENTS ioctl before any btree operation
  3. Exploit
    NULL i_assoc_inode dereferenced in nilfs_mdt_save_to_shadow_map
  4. Execution
    Kernel general protection fault
  5. Impact
    System denial of service (kernel crash)

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

The following specific conditions must all be present: (1) a nilfs2 filesystem must be mounted on the target system - systems not using nilfs2 are entirely unaffected; (2) the attacker must have local access with at least low-level privilege sufficient to issue the NILFS_IOCTL_CLEAN_SEGMENTS ioctl, which in practice typically requires CAP_SYS_ADMIN or equivalent; (3) the ioctl must be invoked before any btree operation on the DAT inode has occurred post-mount, meaning the exploitation window is the period immediately after mount before normal filesystem I/O has occurred. Limiting factors: no remote exploitation path exists (AV:L confirmed by CVSS vector); no confidentiality or integrity impact; nilfs2 is a niche filesystem not mounted by default on most distributions; the timing window can be closed by any ordinary filesystem operation post-mount.

Impact

CVSS 5.5 Medium with vector AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H accurately characterizes this as a local, low-complexity denial-of-service. The attacker needs local access and low privileges to issue ioctls on a mounted nilfs2 filesystem - not unauthenticated remote exploitation. EPSS at 0.02% (5th percentile) is consistent with the local-only, filesystem-specific, DoS-only nature: real attackers have little incentive when they already have local access. No CISA KEV listing and no public exploit code further reduce urgency. The primary real-world risk is accidental crash during administrative GC operations or targeted DoS on multi-tenant systems where nilfs2 is in use. Systems that do not mount nilfs2 filesystems are entirely unaffected, limiting population at risk to a small fraction of Linux deployments. This is a genuine but low-priority patching item for affected environments.

Exploit ScenarioDerived

A local user with sufficient privilege to issue ioctls on a mounted nilfs2 filesystem mounts a nilfs2 volume and immediately invokes NILFS_IOCTL_CLEAN_SEGMENTS without performing any prior file-level operations that would trigger btree initialization. The kernel's nilfs_mdt_save_to_shadow_map() dereferences the uninitialized NULL i_assoc_inode pointer during GC, triggering a general protection fault and kernel panic. No public exploit code is known at time of analysis.

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 nilfs2 filesystem driver allows a local, low-privileged attacker to crash the kernel by invoking the NILFS_IOCTL_CLEAN_SEGMENTS ioctl immediately after mounting a nilfs2 filesystem, before the DAT inode's btree node cache is lazily initialized. The impact is a general protection fault and full denial of service; no confidentiality or integrity impact is possible. No public exploit is known at time of analysis, and EPSS at 0.02% (5th percentile) reflects extremely low real-world exploitation probability.

RemediationAI

Upgrade to a patched kernel version: 6.12.83, 6.18.24, 6.19.14, or 7.0.1 for the corresponding stable branch. Fix commits are available at the Linux stable tree, including 449ec5fc99f45974525ba9eea16b6670c45cd363 (6.19.x), 97fb7afec404912d967a7d4715f37742666b3084, 41de342278ae025c99cc8d33648773f05e306cf1 (6.12.x), and c36e206f302f1ddefed92d09ecbba070e1ae079e. Ubuntu users should apply the packages referenced in USN-8488-1 at https://ubuntu.com/security/notices/USN-8488-1. As a compensating control where immediate patching is not possible, avoid mounting nilfs2 filesystems or restrict access to the NILFS_IOCTL_CLEAN_SEGMENTS ioctl by limiting filesystem administration to root-only accounts and preventing unprivileged users from performing GC operations. Note that this workaround does not protect against a malicious local administrator.

Affected VersionsENISA

Linux patch: 7.0.1
Linux patch: 6.18.24
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <449ec5fc99f45974525ba9eea16b6670c45cd363
Linux patch: 6.19.14
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <97fb7afec404912d967a7d4715f37742666b3084
Linux patch: 6.12.83
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <41de342278ae025c99cc8d33648773f05e306cf1
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <c36e206f302f1ddefed92d09ecbba070e1ae079e

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 nilfs2 (New Implementation of a Log-structured File System 2) driver in the Linux kernel uses a Disk Address Translation (DAT) inode whose btree node cache is stored in the i_assoc_inode field. This pointer is initialized lazily - only during actual btree operations - rather than eagerly at mount time. The garbage collection routine nilfs_mdt_save_to_shadow_map(), triggered by the NILFS_IOCTL_CLEAN_SEGMENTS ioctl, copies dirty pages from the DAT inode to a shadow map and unconditionally dereferences i_assoc_inode. If GC is invoked before any btree operation has occurred post-mount, i_assoc_inode is NULL, producing a general protection fault. Root cause class is CWE-476 (NULL Pointer Dereference). The fix, applied in nilfs_dat_read() at mount time, calls nilfs_attach_btree_node_cache() eagerly so i_assoc_inode is always valid before any GC path can execute. CPE cpe:2.3:a:linux:linux:*:*:*:*:*:*:*:* covers the affected range.

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.5 MEDIUM

Local-only attack via ioctl on mounted nilfs2 volume requires low privilege; only availability (kernel crash) is impacted, with no confidentiality or integrity effect.

3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
4.0 AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
SUSE MEDIUM
Red Hat 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:52 NVD
5.5 (MEDIUM)
Patch released
Apr 27, 2026 - 20:41 nvd
Patch available
Patch available
Apr 24, 2026 - 16:16 EUVD
CVE Published
Apr 24, 2026 - 14:42 nvd
MEDIUM 5.5

DescriptionNVD

In the Linux kernel, the following vulnerability has been resolved:

nilfs2: fix NULL i_assoc_inode dereference in nilfs_mdt_save_to_shadow_map

The DAT inode's btree node cache (i_assoc_inode) is initialized lazily during btree operations. However, nilfs_mdt_save_to_shadow_map() assumes i_assoc_inode is already initialized when copying dirty pages to the shadow map during GC.

If NILFS_IOCTL_CLEAN_SEGMENTS is called immediately after mount before any btree operation has occurred on the DAT inode, i_assoc_inode is NULL leading to a general protection fault.

Fix this by calling nilfs_attach_btree_node_cache() on the DAT inode in nilfs_dat_read() at mount time, ensuring i_assoc_inode is always initialized before any GC operation can use it.

Threat Intelligence Overview

EPSS Score
0.0%
Top 95% exploitable
Prevalence
Low
niche Linux filesystem, rarely deployed in production
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