CVE-2024-46786: fscache: delete fscache_cookie_lru_timer when fscache exits to avoid UAF
fscache: delete fscachecookielrutimer when fscache exits to avoid UAF
Other sources
This CVE was automatically created from a reference found in an email or other text. If you are reading this, then this CVE entry is probably erroneous, since this text should be replaced by the official CVE description automatically.
— Launchpad
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 5.10.223-1Fixed in 5.10.234-1Fixed in 6.12.22-1Fixed in 6.12.25-1 - Configuration
When the fscache module is being removed/exits, delete fscache_cookie_lru_timer so it is not left on the per-CPU timer list (which can be reached from the softIRQ and trigger a use-after-free).
Linux kernel fscache fscache_cookie_lru_timer deletion on module exit = delete fscache_cookie_lru_timer when fscache exits to avoid UAF
Event History
Frequently Asked Questions
What is the severity of CVE-2024-46786?
CVE-2024-46786 is classified as a vulnerability due to a user-after-free (UAF) condition in the Linux kernel fscache module.
How do I fix CVE-2024-46786?
To fix CVE-2024-46786, upgrade your Linux kernel to version 6.12.11-1 or any later versions patched for this vulnerability.
What versions of the Linux kernel are affected by CVE-2024-46786?
CVE-2024-46786 affects Linux kernel versions from 5.17 to 6.6.51 and specific release candidates of 6.11.
What is the consequence of not addressing CVE-2024-46786?
Failure to address CVE-2024-46786 could lead to potential security breaches and exploitation through the user-after-free vulnerability.
Is there a specific package for Debian users to address CVE-2024-46786?
Debian users can install the fixed packages such as linux 5.10.223-1, 5.10.226-1, or 6.12.11-1 to mitigate CVE-2024-46786.