Skip to main content

Linux Kernel EUVDEUVD-2026-39855

| CVE-2026-53320 MEDIUM
2026-06-26 Linux GHSA-r88h-63mh-cc6h
5.5
CVSS 3.1 · NVD
View

Attack ChainAIDerived

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

  1. Recon
    Obtain local low-privilege shell
  2. Delivery
    Identify mounted nilfs2 filesystem
  3. Exploit
    Craft ioctl struct with bd_oblocknr=0
  4. Install
    Submit NILFS_IOCTL_MARK_BLOCKS_DIRTY
  5. C2
    Bypass dead block sentinel check
  6. Execute
    Trigger WARN_ON via nilfs_btree_do_lookup
  7. Impact
    Kernel denial of service

Vulnerability Assessment

Exploitation Conditions

Exploitation requires three concurrent conditions: (1) the target system must have a nilfs2 filesystem mounted - systems without nilfs2 loaded as a kernel module are entirely unaffected; (2) the attacker must have a local low-privilege user session with the ability to invoke ioctl on the nilfs2 device (PR:L per CVSS vector); and (3) the kernel must be running an unpatched version in one of the affected stable branches. Remote exploitation is architecturally impossible (AV:L). Limiting factors for defenders: nilfs2 is not mounted or enabled by default on major Linux distributions including RHEL, Ubuntu, and Debian; disabling the nilfs2 kernel module entirely neutralizes this vulnerability without any side effects on standard workloads. Authentication requirements are confirmed by CVSS PR:L - unauthenticated remote exploitation is not possible.

Impact

The CVSS 3.1 score of 5.5 Medium is well-calibrated for this vulnerability. The attack vector is strictly local (AV:L), meaning remote exploitation is not possible - an attacker must already have code execution on the target system with at least low-privilege access (PR:L). The impact is confined to availability (A:H) with no confidentiality or integrity consequences. EPSS of 0.17% at the 7th percentile independently corroborates the low exploitation probability, and the vulnerability is absent from CISA KEV, confirming no observed active exploitation. The real-world attack surface is further constrained by the requirement that a nilfs2 filesystem must be mounted and accessible to the attacking user - nilfs2 is a niche, log-structured filesystem rarely deployed in production enterprise environments. There is no public POC exploit code identified. Overall, this is a low operational priority for most environments; only systems deliberately running nilfs2 workloads with untrusted local users need to urgently patch.

Exploit ScenarioDerived

A local user on a Linux system with a nilfs2 filesystem mounted issues a crafted NILFS_IOCTL_MARK_BLOCKS_DIRTY ioctl with the bd_oblocknr field set to zero in the block descriptor structure. The kernel's dead block detection logic incorrectly treats this as a match when a lookup returns -ENOENT and internally zeros bd_blocknr, bypassing the skip condition and passing the invalid block reference to nilfs_bmap_mark(). This causes nilfs_btree_do_lookup() to return -ENOENT, firing WARN_ON(ret == -ENOENT) and potentially destabilizing or crashing the kernel. No public POC exploit code has been identified.

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

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

Alert me

AnalysisAIv1 – Jul 06, 2026

Improper input validation in the Linux kernel's nilfs2 filesystem driver allows a local low-privileged user to trigger a kernel WARN_ON and cause a denial of service by submitting a crafted ioctl request with bd_oblocknr set to zero. The zero value collides with the -ENOENT sentinel path in nilfs_ioctl_mark_blocks_dirty(), bypassing the dead block detection logic and passing an invalid block reference into nilfs_bmap_mark(). No active exploitation has been identified (EPSS 0.17%, not in CISA KEV), and patches are available across all actively maintained Linux stable branches.

RemediationAI

Update to the nearest patched stable kernel release: 5.10.258 or later for the 5.10.x series, 5.15.209 or later for 5.15.x, 6.1.175 or later for 6.1.x, 6.6.141 or later for 6.6.x, 6.12.91 or later for 6.12.x, 6.18.33 or later for 6.18.x, 7.0.10 or later for 7.0.x, and 7.1 or later for the mainline series. Upstream fix commits are available at https://git.kernel.org/stable/c/e0a0c4903cbba351f0f5b5d104960d3a5b23202f and sibling commits listed in EUVD-2026-39855. As a compensating control on systems where nilfs2 is not required, add the line install nilfs2 /bin/false to /etc/modprobe.d/ to prevent module loading - this eliminates the attack surface entirely with no functional impact on systems not using nilfs2. Restricting ioctl access to privileged users only via filesystem permissions or LSM (SELinux/AppArmor) policy can also reduce risk where module blacklisting is impractical.

Affected VersionsENISA

Linux patch: 7.1
Linux 7942b919f7321f95a777d396ff7894a7a83dc9b0 <e5ff0ba4b6983cdbcc826efc201e7179ece5d46f
Linux 7942b919f7321f95a777d396ff7894a7a83dc9b0 <94094e70fe292c9566502772d4d4d6d6a99204b1
Linux 7942b919f7321f95a777d396ff7894a7a83dc9b0 <b88f905d4449b70da6bda547be546e365e44352e
Linux patch: 6.1.175
Linux patch: 7.0.10
Linux 7942b919f7321f95a777d396ff7894a7a83dc9b0 <be3e5d10643d3be1cbac9d9939f220a99253f980
Linux patch: 6.12.91
Linux 7942b919f7321f95a777d396ff7894a7a83dc9b0 <65e07964b4b2daf9a54e686cf0fa72d74a9648a8
Linux patch: 5.15.209
Linux patch: 0
Linux patch: 6.18.33
Linux patch: 6.6.141
Linux 7942b919f7321f95a777d396ff7894a7a83dc9b0 <e0a0c4903cbba351f0f5b5d104960d3a5b23202f
Linux 2.6.30
Linux patch: 5.10.258
Linux 7942b919f7321f95a777d396ff7894a7a83dc9b0 <4525658002be3ad310b16bf8db48c8adb6a55d32
Linux 7942b919f7321f95a777d396ff7894a7a83dc9b0 <9472d37799a0b9ff9b99639f35961ac2f0b3c9be

Affected Packages

euvd linux no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

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 the nilfs2 (New Implementation of a Log-structured File System) driver, specifically the nilfs_ioctl_mark_blocks_dirty() function, which is invoked via ioctl to mark garbage collection (GC) target blocks as dirty. The function uses the bd_oblocknr field from the user-supplied ioctl struct as a sentinel: if bd_oblocknr differs from bd_blocknr after a block lookup, the block is treated as dead and skipped. Block 0 in nilfs2 holds the primary superblock and is architecturally never a valid GC target. When a block lookup fails with -ENOENT, the kernel internally sets bd_blocknr to 0. A user-supplied bd_oblocknr of 0 therefore spuriously matches this sentinel value, bypassing the dead block check entirely. The function then proceeds to call nilfs_bmap_mark() on the non-existent block, driving execution into nilfs_btree_do_lookup(), which returns -ENOENT and fires WARN_ON(ret == -ENOENT). The root cause is a missing zero-value rejection guard at the start of each iteration in the ioctl handler. No CWE was formally assigned, but this maps to CWE-20 (Improper Input Validation). Affected products per CPE: cpe:2.3:a:linux:linux:*:*:*:*:*:*:*:* from kernel 2.6.30 onward.

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 ioctl invocation with low-privilege user access required; pure availability impact via kernel WARN_ON with no confidentiality or integrity consequences.

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

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
Jul 06, 2026 - 20:22 NVD
5.5 (MEDIUM)
Patch available
Jun 26, 2026 - 21:02 EUVD
CVE Published
Jun 26, 2026 - 19:41 cve.org
UNKNOWN (no severity yet)
CVE Published
Jun 26, 2026 - 19:41 nvd
MEDIUM 5.5

DescriptionNVD

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

nilfs2: reject zero bd_oblocknr in nilfs_ioctl_mark_blocks_dirty()

nilfs_ioctl_mark_blocks_dirty() uses bd_oblocknr to detect dead blocks by comparing it with the current block number bd_blocknr. If they differ, the block is considered dead and skipped.

However, bd_oblocknr should never be 0 since block 0 typically stores the primary superblock and is never a valid GC target block. A corrupted ioctl request with bd_oblocknr set to 0 causes the comparison to incorrectly match when the lookup returns -ENOENT and sets bd_blocknr to 0, bypassing the dead block check and calling nilfs_bmap_mark() on a non-existent block. This causes nilfs_btree_do_lookup() to return -ENOENT, triggering the WARN_ON(ret == -ENOENT).

Fix this by rejecting ioctl requests with bd_oblocknr set to 0 at the beginning of each iteration.

[ryusuke: slightly modified the commit message and comments for accuracy]

Threat Intelligence Overview

EPSS Score
0.2%
Top 93% exploitable
Prevalence
Ubiquitous
Linux kernel present in virtually all Linux-based deployments
Data Quality
4 sources
Confidence: Medium

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.2%
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
Scheduled
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
High

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

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Affected
SUSE Linux Enterprise Desktop 15 SP7 Affected
SUSE Linux Enterprise High Availability Extension 15 SP7 Affected
SUSE Linux Enterprise High Availability Extension 15 SP7 Affected
SUSE Linux Enterprise High Availability Extension 16.0 Affected

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