CVE-2024-46867

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

published September 27, 2024

CVSS
—
EPSS
0%
Percentile
3.0
In the wild
Unconfirmed
What it is

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)

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00139 · 3.0th percentile
Published
2024-09-27T12:42Z
EPSS history
Timeline
  • 27 SEP 12:42Z
    drm/xe/client: fix deadlock in show_meminfo()
    cvelistv5