Kernel memory read via volume withdrawal race
Published Jul 29, 2024 · Updated May 11, 2026
A use-after-free in Linux kernel CacheFiles allows attackers to trigger an invalid kernel-memory read during volume withdrawal. Concurrent failed EROFS mount cleanup can free an fscache_volume while daemon exit still traverses the cache list and reads its n_accesses field. Reaching the flaw requires the documented local withdrawal race; published testing demonstrates a KASAN-detected slab read but does not establish code execution or data disclosure.
Summary
What happened
A use-after-free in Linux kernel CacheFiles allows attackers to trigger an invalid kernel-memory read during volume withdrawal. Concurrent failed EROFS mount cleanup can free an fscache_volume while daemon exit still traverses the cache list and reads its n_accesses field. Reaching the flaw requires the documented local withdrawal race; published testing demonstrates a KASAN-detected slab read but does not establish code execution or data disclosure.
The record
- CVE
- CVE-2024-41058
- Published
- Jul 29, 2024
- Updated
- May 11, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-416
- Attack vector
- local
- Privileges
- admin
Timeline
How it unfolded
- Jul 29, 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.17
- Affected versionversion=fe2140e2f57fef8562e0f9b7cd447d2b08dc2f35 <38b88d544216f806d93a273a62ff8ebe82254003
- Affected versionversion=fe2140e2f57fef8562e0f9b7cd447d2b08dc2f35 <522018a0de6b6fcce60c04f86dfc5f0e4b6a1b36
- Affected versionversion=fe2140e2f57fef8562e0f9b7cd447d2b08dc2f35 <90f17e47f1e209c6a3c92a1d038a0a80c95c460e
- Affected versionversion=fe2140e2f57fef8562e0f9b7cd447d2b08dc2f35 <9dd7f5663899ea13a6a73216106d9c13c37453e3
What conditions does exploitation require?
What is affected?
Published CVSS scores
No CVSS assessment is available in this record.
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