CVE-2025-39743

jfs: truncate good inode pages when hard link is 0

HIGH
7.8
CVSS Score
Published: September 11, 2025 at 04:52 PM UTC
Updated: October 19, 2026 at 09:10 PM UTC
3 products affected across 3 vendorsLinux KernelDebian LinuxSIMATIC CN 4100

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.8
Exploit prediction
EPSS 0.2%

Description

In the Linux kernel, the following vulnerability has been resolved: jfs: truncate good inode pages when hard link is 0 The fileset value of the inode copy from the disk by the reproducer is AGGR_RESERVED_I. When executing evict, its hard link number is 0, so its inode pages are not truncated. This causes the bugon to be triggered when executing clear_inode() because nrpages is greater than 0.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

All versions2.6.14 ≤ v < 5.4.2975.11 ≤ v < 5.15.1905.16 ≤ v < 6.1.1495.5 ≤ v < 5.10.2416.13 ≤ v < 6.15.116.16 ≤ v < 6.16.26.2 ≤ v < 6.6.1036.7 ≤ v < 6.12.432.6.1432983696a48a6c41d99f3eca82ba7510a552d843
Vendor states this is fixed in 1bb5cdc3e39f0c2b311fcb631258b7e60d3fb0d3 (fixed)
Vendor states this is fixed in 2b1d5ca395a5fb170c3f885cd42c16179f7f54ec (fixed)
Vendor states this is fixed in 2d91b3765cd05016335cd5df5e5c6a29708ec058 (fixed)
Vendor states this is fixed in 34d8e982bac48bdcca7524644a8825a580edce74 (fixed)
Vendor states this is fixed in 5845b926c561b8333cd65169526eec357d7bb449 (fixed)
Vendor states this is fixed in 89fff8e3d6710fc32507b8e19eb5afa9fb79b896 (fixed)
Vendor states this is fixed in 8ed7275910fb7177012619864e04d3008763f3ea (fixed)
Vendor states this is fixed in b5b471820c33365a8ccd2d463578bf4e47056c2c (fixed)
Vendor states this is fixed in df3fd8daf278eca365f221749ae5b728e8382a04 (fixed)
Vendor states this is fixed in 2.6.14 (unaffected)
Vendor states this is fixed in 5.10.241 (unaffected)
Vendor states this is fixed in 5.15.190 (unaffected)
Vendor states this is fixed in 5.4.297 (unaffected)
Vendor states this is fixed in 6.1.149 (unaffected)
Vendor states this is fixed in 6.12.43 (unaffected)
Vendor states this is fixed in 6.15.11 (unaffected)
Vendor states this is fixed in 6.16.2 (unaffected)
Vendor states this is fixed in 6.17 (unaffected)
Vendor states this is fixed in 6.6.103 (unaffected)
v < V5.0
Affected range stops below V5.0, so it looks safe — our inference, not a vendor statement

References (12)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/1bb5cdc3e39f0c2b311fcb631258b7e60d3fb0d3
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/2b1d5ca395a5fb170c3f885cd42c16179f7f54ec
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/2d91b3765cd05016335cd5df5e5c6a29708ec058
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/34d8e982bac48bdcca7524644a8825a580edce74
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/5845b926c561b8333cd65169526eec357d7bb449
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/89fff8e3d6710fc32507b8e19eb5afa9fb79b896
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/8ed7275910fb7177012619864e04d3008763f3ea
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/b5b471820c33365a8ccd2d463578bf4e47056c2c

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
NVD-CWE-noinfo

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card