Bug 2315219 (CVE-2024-46867) - CVE-2024-46867 kernel: drm/xe/client: fix deadlock in show_meminfo()
Summary: CVE-2024-46867 kernel: drm/xe/client: fix deadlock in show_meminfo()
Keywords:
Status: NEW
Alias: CVE-2024-46867
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: 2315236
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-09-27 13:23 UTC by OSIDB Bzimport
Modified: 2024-10-01 08:15 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-27 13:23:36 UTC
In the Linux kernel, the following vulnerability has been resolved:

drm/xe/client: fix deadlock in show_meminfo()

There is a real deadlock as well as sleeping in atomic() bug in here, if
the bo put happens to be the last ref, since bo destruction wants to
grab the same spinlock and sleeping locks.  Fix that by dropping the ref
using xe_bo_put_deferred(), and moving the final commit outside of the
lock. Dropping the lock around the put is tricky since the bo can go
out of scope and delete itself from the list, making it difficult to
navigate to the next list entry.

(cherry picked from commit 0083b8e6f11d7662283a267d4ce7c966812ffd8a)


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