In the Linux kernel, the following vulnerability has been...
Moderate severity
Unreviewed
Published
Sep 27, 2024
to the GitHub Advisory Database
•
Updated Oct 1, 2024
Description
Published by the National Vulnerability Database
Sep 27, 2024
Published to the GitHub Advisory Database
Sep 27, 2024
Last updated
Oct 1, 2024
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)
References