Skip to main content

Linux Kernel JFS CVE-2025-71292

| EUVDEUVD-2025-209683 MEDIUM
2026-05-06 Linux GHSA-469f-r242-gq7h
5.5
CVSS 3.1 · NVD
View

Attack ChainAIDerived

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

  1. Access
    Gain local shell with write access to JFS volume
  2. Delivery
    Manipulate directory to reach maximum nlink count
  3. Exploit
    Execute rename of child subdirectory within same parent
  4. Execution
    Trigger nlink increment-then-decrement wraparound to zero
  5. Persist
    drop_nlink kernel warning fires
  6. Impact
    Kernel crash (if panic-on-warn enabled) or log noise denial of service

Vulnerability Assessment

Exploitation Conditions

Exploitation requires: (1) the JFS filesystem to be mounted and accessible to the attacker - JFS is not a default filesystem on most modern Linux distributions, limiting the affected population; (2) local, low-privilege user access (PR:L per CVSS) with write permissions to a directory on the JFS volume; (3) the target directory must have its nlink counter at the maximum value, which is a non-default, artificially induced state requiring prior filesystem manipulation. No remote vector exists; no unauthenticated path exists. Exploitation is further limited by the fact that JFS is rarely used in modern deployments (ext4, xfs, and btrfs dominate), and reaching the nlink maximum requires deliberate pre-conditioning of the filesystem state. Systems with panic-on-warn disabled (the default in most production kernels) will only log a warning rather than crash, further limiting real-world availability impact.

Impact

Real-world risk is low-to-moderate for most deployments. The CVSS vector (AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H) confirms this is a local, low-complexity denial-of-service with no confidentiality or integrity impact, requiring only low-privilege local access. The EPSS score of 0.02% at the 7th percentile aligns with this assessment - exploitation probability is very low. No KEV listing and no public exploit code have been identified at time of analysis. The practical barrier is reaching the prerequisite condition of a directory with a maximal nlink value, which is an unusual filesystem state not typically encountered in production. In shared hosting, container environments, or systems where untrusted users can perform filesystem operations on JFS-mounted volumes, the risk is elevated relative to single-user systems. The kernel warning triggered by drop_nlink may cause system log noise or, depending on kernel configuration and panic-on-warn settings, could cause an unexpected system halt - the latter would represent a more severe real-world availability impact than the CVSS base score alone suggests.

Exploit ScenarioDerived

A local user with write access to a JFS-mounted filesystem first manipulates directory hard link counts to reach the maximum nlink value on a target directory - an unusual but achievable filesystem state via repeated hard-linking operations. The user then performs a rename of a child subdirectory within that same parent directory (not moving it to a different parent), triggering the increment-then-decrement sequence in jfs_rename that causes nlink to wrap to zero. This results in a kernel drop_nlink warning, which on panic-on-warn-configured kernels could crash the system, constituting a local denial of service.

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 – Jun 08, 2026

Integer wraparound in the Linux kernel JFS (Journaled File System) jfs_rename function can be triggered by a local low-privileged user to cause a kernel warning and denial of service. When a directory's hard link count (nlink) is already at its maximum value (-1 as an unsigned overflow scenario), performing an in-place rename of a child subdirectory increments nlink and then decrements it, wrapping the counter to zero and triggering a drop_nlink kernel warning. The vulnerability affects a wide range of stable kernel branches from 5.10 through 6.19; no public exploit code exists and CISA has not listed this in KEV, making active exploitation unlikely but not impossible in multi-tenant or container environments where JFS-mounted filesystems are accessible to low-privilege users.

RemediationAI

The primary fix is to upgrade to a patched Linux kernel version. Vendor-released patches are confirmed across stable series: upgrade to 5.10.252 or later, 5.15.202 or later, 6.1.165 or later, 6.6.128 or later, 6.12.75 or later, 6.18.16 or later, 6.19.6 or later, or 7.0 or later. Upstream fix commits are available at git.kernel.org/stable/c/ (see references: 2108829a, b4330a0d, a3d66089, f70fcbc2, 5d77c36c, fe136426, 93c32574, 9218dc26). For systems where kernel patching is not immediately feasible, a practical compensating control is to avoid mounting JFS filesystems accessible to untrusted low-privilege users - switching to ext4 or xfs for user-accessible volumes eliminates the attack surface entirely with no functional trade-off for most workloads. If JFS must be used, restricting filesystem access via Linux DAC permissions or mandatory access control (SELinux/AppArmor) policies to limit which users can perform rename operations in JFS directories reduces exploitability. Enabling kernel panic-on-warn in production should be reconsidered if not already disabled, as the drop_nlink warning could cause system halt depending on kernel build configuration.

Affected VersionsENISA

Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <5d77c36cd4b698649f5c30c5f6c084f4f61d1880
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <fe136426e30ca6debcf916fd6a141555ed9fde74
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <2108829a59f081e822fdab8c2cd7131deb8aa8a1
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <b4330a0d0947fbdc9d445cbbeabd8cc910a8c9ca
Linux patch: 6.18.16
Linux patch: 6.19.6
Linux patch: 6.6.128
Linux patch: 6.1.165
Linux patch: 5.15.202
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <9218dc26fd922b09858ecd3666ed57dfd8098da8
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <f70fcbc2ac7c24f087a2c895c5753aa730b1e479
Linux patch: 5.10.252
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <93c325746ae59709b4f9bad4e3e4761c8d566c70
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <a3d66089e50a6e0142f8884471f74292102ea9aa
Linux patch: 7.0
Linux patch: 6.12.75

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

JFS (Journaled File System), originally developed by IBM, is a kernel filesystem implementation accessible via cpe:2.3:a:linux:linux. The jfs_rename() function in fs/jfs/jfsutils.c or equivalent manages directory entry renaming and adjusts hard link counts via inc_nlink and drop_nlink. When a directory's nlink reaches the integer maximum (stored as an unsigned 32-bit value, maximum ~4 billion, but the saturating semantics mean -1 in this context represents a saturated/overflowed counter), an in-place rename of a child directory triggers an increment followed by a decrement. Because the increment pushes past the maximum and wraps to 0, the subsequent drop_nlink call issues a kernel WARN_ON since nlink should never transition from 0 downward. The root cause class is integer overflow/wraparound (conceptually CWE-190 or CWE-191), though the CVE lists CWE as N/A. The tags include 'Buffer Overflow' which is imprecise - this is a numeric wraparound, not a memory buffer overrun. The syzbot fuzzer identified this condition, confirming the scenario is reproducible via automated filesystem fuzzing.

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
SUSE MEDIUM
Red Hat 5.5 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

3
CVSS changed
May 13, 2026 - 21:07 NVD
5.5 (MEDIUM)
Patch available
May 06, 2026 - 13:02 EUVD
CVE Published
May 06, 2026 - 11:32 nvd
MEDIUM 5.5

DescriptionNVD

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

jfs: nlink overflow in jfs_rename

If nlink is maximal for a directory (-1) and inside that directory you perform a rename for some child directory (not moving from the parent), then the nlink of the first directory is first incremented and later decremented. Normally this is fine, but when nlink = -1 this causes a wrap around to 0, and then drop_nlink issues a warning.

After applying the patch syzbot no longer issues any warnings. I also ran some basic fs tests to look for any regressions.

Threat Intelligence Overview

EPSS Score
0.0%
Top 93% exploitable
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 buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

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