Bug 2324552 (CVE-2024-50174) - CVE-2024-50174 kernel: drm/panthor: Fix race when converting group handle to group object
Summary: CVE-2024-50174 kernel: drm/panthor: Fix race when converting group handle to ...
Keywords:
Status: NEW
Alias: CVE-2024-50174
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2324699
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-11-08 13:44 UTC by OSIDB Bzimport
Modified: 2024-11-21 18:50 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2024-11-08 13:44:59 UTC
In the Linux kernel, the following vulnerability has been resolved:

drm/panthor: Fix race when converting group handle to group object

XArray provides it's own internal lock which protects the internal array
when entries are being simultaneously added and removed. However there
is still a race between retrieving the pointer from the XArray and
incrementing the reference count.

To avoid this race simply hold the internal XArray lock when
incrementing the reference count, this ensures there cannot be a racing
call to xa_erase().


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