Skip to content
CVE PROGRAM SOURCE RECORD7.8 High

CVE-2024-46866

drm/xe/client: add missing bo locking in show_meminfo()

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

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 0845233388f8a26d00acf9bf230cfd4f36aa4c30 to < abc8feacacf8fae10eecf6fea7865e8c1fee419caffected
  • 0845233388f8a26d00acf9bf230cfd4f36aa4c30 to < 94c4aa266111262c96c98f822d1bccc494786feeaffected

Linux Linux

Default version status: affected

  • 6.8affected
  • 0 to < 6.8unaffected
  • 6.10.11 to ≤ 6.10.*unaffected
  • 6.11 to ≤ *unaffected

References