7.8high
libfs: fix get_stashed_dentry()
- Severity
- 7.8high CVSS:3.1 by Linux
- Exploit likelihood
- 0.28% (higher than 13% of CVEs)
- Published
- Last changed
- 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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| 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 * | CVE List |
| linux linux_kernel | from 6.9 before 6.10.10, 6.11 | NVD |
All scores
| Linux | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 5.5medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: libfs: fix get_stashed_dentry() get_stashed_dentry() intenta recuperar de forma optimista un dentry almacenado en caché desde una ubicación proporcionada. Debe asegurarse de mantener el bloqueo de rcu antes de desreferenciar la ubicación almacenada para evitar problemas de UAF. Use rcu_dereference() en lugar de READ_ONCE(), es efectivamente equivalente con algunas funciones adicionales de lockdep y comunica claramente que esto espera protección de rcu.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-46801 changed 2026-08-05 | CVE Terms of Use |
| NVD | CVE-2024-46801 changed 2026-08-04 | Public domain |