Kernel crash via mishandled xattr disk error
Published Sep 16, 2025 · Updated Sep 16, 2025
A null-pointer dereference in Linux XFS kernels starting at 5.9 allows local users to crash the kernel during an xattr lookup. xfs_attr_leaf_get treats a disk ENODATA result as a missing attribute and passes the resulting null buffer pointer to xfs_trans_brelse. Triggering the fault requires a medium error on a specific XFS metadata block and storage-level access; the bounded consequence is a kernel oops and service interruption.
Summary
What happened
A null-pointer dereference in Linux XFS kernels starting at 5.9 allows local users to crash the kernel during an xattr lookup. xfs_attr_leaf_get treats a disk ENODATA result as a missing attribute and passes the resulting null buffer pointer to xfs_trans_brelse. Triggering the fault requires a medium error on a specific XFS metadata block and storage-level access; the bounded consequence is a kernel oops and service interruption.
The record
- CVE
- CVE-2025-39835
- Published
- Sep 16, 2025
- Updated
- Sep 16, 2025
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-20, T1499
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Sep 16, 2025CVE publishedPublication date reported by the CVE source.
- Sep 16, 2025Record 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=07120f1abdff80f3d1351f733661abe28d609535 <157ddfb05961c68ab7d457a462822a698e4e4bf4
- Affected versionversion=07120f1abdff80f3d1351f733661abe28d609535 <39fc2742ca14f7fbc621ce9b43bcbd00248cb9a8
- Affected versionversion=07120f1abdff80f3d1351f733661abe28d609535 <90bae69c2959c39912f0c2f07a9a7894f3fc49f5
- Affected versionversion=07120f1abdff80f3d1351f733661abe28d609535 <ae668cd567a6a7622bc813ee0bb61c42bed61ba7
- Affected versionversion=07120f1abdff80f3d1351f733661abe28d609535 <d3cc7476b89fb45b7e00874f4f56f6b928467c60
- Affected versionversion=07120f1abdff80f3d1351f733661abe28d609535 <dcdf36f1b67884c722abce9b8946e34ffb9f67c8
- Affected versionversion=07120f1abdff80f3d1351f733661abe28d609535 <e358d4b6225e4c1eb208686a05e360ef8df59e07
- Affected versionversion=5.9
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
No public exploit references are available in this record.
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