Local denial of service via unflushed CacheFiles requests
Published Jul 12, 2024 · Updated May 11, 2026
Denial of service in Linux kernel CacheFiles from 5.19 allows local users to hang a kernel task through ondemand cache I/O. After cachefiles_io_error() marks a cache CACHEFILES_DEAD, cachefiles_daemon_write() returns -EIO without flushing pending open requests. Exploitation requires local access to an ondemand CacheFiles daemon with an open request in flight; the waiting kernel process then remains hung.
Summary
What happened
Denial of service in Linux kernel CacheFiles from 5.19 allows local users to hang a kernel task through ondemand cache I/O. After cachefiles_io_error() marks a cache CACHEFILES_DEAD, cachefiles_daemon_write() returns -EIO without flushing pending open requests. Exploitation requires local access to an ondemand CacheFiles daemon with an open request in flight; the waiting kernel process then remains hung.
The record
- CVE
- CVE-2024-40935
- Published
- Jul 12, 2024
- Updated
- May 11, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-416, T1499.004
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Jul 12, 2024CVE publishedPublication date reported by the CVE source.
- May 11, 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=5.19
- Affected versionversion=c8383054506c77b814489c09877b5db83fd4abf2 <320ba9cbca78be79c912143bbba1d1b35ca55cf0
- Affected versionversion=c8383054506c77b814489c09877b5db83fd4abf2 <3bf0b8030296e9ee60d3d4c15849ad9ac0b47081
- Affected versionversion=c8383054506c77b814489c09877b5db83fd4abf2 <85e833cd7243bda7285492b0653c3abb1e2e757b
- Affected versionversion=c8383054506c77b814489c09877b5db83fd4abf2 <e73fac95084839c5178d97e81c6a2051251bdc00
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