# CVE-2024-46801: libfs: fix get_stashed_dentry()

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.28%, higher than 13% of CVEs (2026-11-30)
- Published: 2024-09-18T07:12:55.150Z
- Modified: 2026-08-05T11:38:40.674Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 07fd7c329839cf0b8c7766883d830a1a0d12d1dd before 03e2a1209a83a380df34a72f7d6d1bc6c74132c7; from 07fd7c329839cf0b8c7766883d830a1a0d12d1dd before 4e32c25b58b945f976435bbe51f39b32d714052e; 6.9 (not affected: before 6.9; from 6.10.10 up to 6.10.*; from 6.11 up to *)
- linux linux_kernel: from 6.9 before 6.10.10; 6.11

## Every score

- Linux: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/03e2a1209a83a380df34a72f7d6d1bc6c74132c7> (patch)
- <https://git.kernel.org/stable/c/4e32c25b58b945f976435bbe51f39b32d714052e> (patch)

## Sources

- CVE List: [CVE-2024-46801](https://www.cve.org/CVERecord?id=CVE-2024-46801), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2024-46801](https://nvd.nist.gov/vuln/detail/CVE-2024-46801), Public domain, modified 2026-08-04

---

Page: https://cve.day/CVE-2024-46801 · Whole record: https://cve.day/CVE-2024-46801.json · Rebuilt by cve.day 2026-11-25T22:58:45.584Z
