Kernel memory corruption via stale ext4 inode
Published Aug 19, 2025 · Updated Aug 5, 2026
Use-after-free in ext4 in Linux 6.15 before 6.15.10 and 6.16 before 6.16.1 allows local users to corrupt kernel memory via file writes. ext4_io_end_defer_completion() queues an io_end with no pending conversion, then ext4_finish_bio() permits its inode to be freed before ext4_end_io_rsv_work() dereferences it. Any unprivileged local user with write access to a mounted ext4 filesystem can drive the default data_err=ignore path, causing kernel reads and writes through freed memory, a crash, or a hang.
Summary
What happened
Use-after-free in ext4 in Linux 6.15 before 6.15.10 and 6.16 before 6.16.1 allows local users to corrupt kernel memory via file writes. ext4_io_end_defer_completion() queues an io_end with no pending conversion, then ext4_finish_bio() permits its inode to be freed before ext4_end_io_rsv_work() dereferences it. Any unprivileged local user with write access to a mounted ext4 filesystem can drive the default data_err=ignore path, causing kernel reads and writes through freed memory, a crash, or a hang.
The record
- CVE
- CVE-2025-38580
- Published
- Aug 19, 2025
- Updated
- Aug 5, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- T1068
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Aug 19, 2025CVE publishedPublication date reported by the CVE source.
- Aug 5, 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=6.15
- Affected versionversion=ce51afb8cc5e1867ea0dfdf5e92ddbe31a1fad5d <469c44e66e2110054949609dde095788320139d0
- Affected versionversion=ce51afb8cc5e1867ea0dfdf5e92ddbe31a1fad5d <ac999862b98a0f49e858e509f776be51406f1e77
- Affected versionversion=ce51afb8cc5e1867ea0dfdf5e92ddbe31a1fad5d <c678bdc998754589cea2e6afab9401d7d8312ac4
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.
Weakness, pattern, technique
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