What’s Vulnerable › Vulnerabilities
CVE-2024-46801: libfs: fix get_stashed_dentry()
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-09-18 · updated 2026-08-04
Description
In the Linux kernel, the following vulnerability has been resolved: libfs: fix get_stashed_dentry() get_stashed_dentry() tries to optimistically retrieve a stashed dentry from a provided location. It needs to ensure to hold rcu lock before it dereference the stashed location to prevent UAF issues. Use rcu_dereference() instead of READ_ONCE() it's effectively equivalent with some lockdep bells and whistles and it communicates clearly that this expects rcu protection.
Affected products
- Linux kernel: from 6.9 before 6.10.10; 6.11-rc1, 6.11-rc2, 6.11-rc3, 6.11-rc4, 6.11-rc5, 6.11-rc6 — fixed in 6.10.10
How to fix
Upgrade to a fixed version: Linux kernel 6.10.10. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/03e2a1209a83a380df34a72f7d6d1bc6c74132c7
- https://git.kernel.org/stable/c/4e32c25b58b945f976435bbe51f39b32d714052e
Get alerted when CVE-2024-46801 or the next vulnerability affects your stack