What’s Vulnerable › Vulnerabilities
CVE-2024-46866: drm/xe/client: add missing bo locking in show_meminfo()
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.1% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-09-27 · updated 2026-08-04
- Weakness: CWE-667
Description
In the Linux kernel, the following vulnerability has been resolved: drm/xe/client: add missing bo locking in show_meminfo() bo_meminfo() wants to inspect bo state like tt and the ttm resource, however this state can change at any point leading to stuff like NPD and UAF, if the bo lock is not held. Grab the bo lock when calling bo_meminfo(), ensuring we drop any spinlocks first. In the case of object_idr we now also need to hold a ref. v2 (MattB) - Also add xe_bo_assert_held() (cherry picked from commit 4f63d712fa104c3ebefcb289d1e733e86d8698c7)
Affected products
- Linux kernel: from 6.8 before 6.10.11; 6.11-rc1, 6.11-rc2, 6.11-rc3, 6.11-rc4, 6.11-rc5, 6.11-rc6 (+1) — fixed in 6.10.11
How to fix
Upgrade to a fixed version: Linux kernel 6.10.11. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/94c4aa266111262c96c98f822d1bccc494786fee
- https://git.kernel.org/stable/c/abc8feacacf8fae10eecf6fea7865e8c1fee419c
Get alerted when CVE-2024-46866 or the next vulnerability affects your stack