Description (CNA)
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 (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 07fd7c329839cf0b8c7766883d830a1a0d12d1dd before 03e2a1209a83a380df34a72f7d6d1bc6c74132c7; affected 07fd7c329839cf0b8c7766883d830a1a0d12d1dd before 4e32c25b58b945f976435bbe51f39b32d714052e |
| Linux / Linux | affected 6.9; unaffected 0 before 6.9; unaffected 6.10.10 through 6.10.*; unaffected 6.11 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/03e2a1209a83a380df34a72f7d6d1bc6c74132c7
- https://git.kernel.org/stable/c/4e32c25b58b945f976435bbe51f39b32d714052e
ADP enrichment
No English description supplied.
No references supplied.