Bug 2313149 (CVE-2024-46801) - CVE-2024-46801 kernel: libfs: fix get_stashed_dentry()
Summary: CVE-2024-46801 kernel: libfs: fix get_stashed_dentry()
Keywords:
Status: NEW
Alias: CVE-2024-46801
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2313284
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-09-18 08:23 UTC by OSIDB Bzimport
Modified: 2024-09-18 12:49 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2024-09-18 08:23:44 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.