Kernel crash via unchecked negative file size
Published Sep 4, 2025 · Updated May 12, 2026
Improper input validation in Linux JFS allows local users to crash the kernel by opening a corrupted regular file. The open path in fs/jfs/file.c accepts a negative on-disk inode size, allowing later writes to reach an assertion in jfs_truncate_nolock. Exploitation requires local access to supply and open a crafted JFS image; the demonstrated consequence is a kernel crash, not reported code execution.
Summary
What happened
Improper input validation in Linux JFS allows local users to crash the kernel by opening a corrupted regular file. The open path in fs/jfs/file.c accepts a negative on-disk inode size, allowing later writes to reach an assertion in jfs_truncate_nolock. Exploitation requires local access to supply and open a crafted JFS image; the demonstrated consequence is a kernel crash, not reported code execution.
The record
- CVE
- CVE-2025-38698
- Published
- Sep 4, 2025
- Updated
- May 12, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-20, T1499
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Sep 4, 2025CVE publishedPublication date reported by the CVE source.
- May 12, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <00462be586b33076f8b8023e7ba697deedc131db
- Affected versionversion=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <02edcfda419168d9405bffe55f18ea9c1bf92366
- Affected versionversion=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <2d04df8116426b6c7b9f8b9b371250f666a2a2fb
- Affected versionversion=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <6bc86f1d7d5419d5b19483ba203ca0b760c41c51
- Affected versionversion=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <78989af5bbf55a0cf1165b0fa73921bc02f1543b
- Affected versionversion=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <9605cb2ea38ba014d0e704cba0dbbb00593fa9fd
- Affected versionversion=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <9ad054cd2c4ca8c371e555748832aa217c41fc65
- Affected versionversion=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <9f896c3d0192241d6438be6963682ace8203f502
- Affected versionversion=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <fd9454b7710b28060faa49b041f8283c435721a3
- Affected versionversion=2.6.12
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Public exploit references
- syz and C reproducers for kernel BUG in jfs_truncate_nolockproof of concept · validated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo