# CVE-2024-46866: drm/xe/client: add missing bo locking in show_meminfo()

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.15%, higher than 4% of CVEs (2026-12-01)
- Published: 2024-09-27T12:42:54.381Z
- Modified: 2026-08-05T11:39:08.572Z
- Weaknesses: CWE-667
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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)

(As written by CVE List.)

## Affected

- Linux Linux: from 0845233388f8a26d00acf9bf230cfd4f36aa4c30 before abc8feacacf8fae10eecf6fea7865e8c1fee419c; from 0845233388f8a26d00acf9bf230cfd4f36aa4c30 before 94c4aa266111262c96c98f822d1bccc494786fee; 6.8 (not affected: before 6.8; from 6.10.11 up to 6.10.*; from 6.11 up to *)
- linux linux_kernel: from 6.8 before 6.10.11; 6.11

## Every score

- Linux: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/abc8feacacf8fae10eecf6fea7865e8c1fee419c> (patch)
- <https://git.kernel.org/stable/c/94c4aa266111262c96c98f822d1bccc494786fee> (patch)

## Sources

- CVE List: [CVE-2024-46866](https://www.cve.org/CVERecord?id=CVE-2024-46866), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2024-46866](https://nvd.nist.gov/vuln/detail/CVE-2024-46866), Public domain, modified 2026-08-04

---

Page: https://cve.day/CVE-2024-46866 · Whole record: https://cve.day/CVE-2024-46866.json · Rebuilt by cve.day 2026-11-25T22:58:45.851Z
