Kernel compromise via cachefiles worker use-after-free
Published Jul 29, 2024 · Updated Aug 5, 2026
Use-after-free in Linux 6.1.95 through 6.1.99, 6.6.35 through 6.6.40, and 6.8 allows local users to compromise the kernel. The cachefiles on-demand path queues ondemand_object_worker without pinning its object, so teardown can free the object before the worker dereferences it. Triggering the flaw requires a pending on-demand read, cachefiles descriptor closure, and an EROFS unmount during the race.
Summary
What happened
Use-after-free in Linux 6.1.95 through 6.1.99, 6.6.35 through 6.6.40, and 6.8 allows local users to compromise the kernel. The cachefiles on-demand path queues ondemand_object_worker without pinning its object, so teardown can free the object before the worker dereferences it. Triggering the flaw requires a pending on-demand read, cachefiles descriptor closure, and an EROFS unmount during the race.
The record
- CVE
- CVE-2024-41051
- Published
- Jul 29, 2024
- Updated
- Aug 5, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- T1068
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Jul 29, 2024CVE 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=0a7e54c1959c0feb2de23397ec09c7692364313e <12e009d60852f7bce0afc373ca0b320f14150418
- Affected versionversion=0a7e54c1959c0feb2de23397ec09c7692364313e <b26525b2183632f16a3a4108fe6a4bfa8afac6ed
- Affected versionversion=6.1.95 <6.1.100
- Affected versionversion=6.6.35 <6.6.41
- Affected versionversion=6.8
- Affected versionversion=f17443d52d805c9a7fab5e67a4e8b973626fe1cd <ec9289369259d982e735a71437e32e6b4035290c
- Affected versionversion=f740fd943bb1fbf79b7eaba3c71eb7536f437f51 <d3179bae72b1b5e555ba839d6d9f40a350a4d78a
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