# CVE-2026-72359: drm/xe: fix NPD in bo_meminfo()

- Severity: not scored yet
- 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.20%, higher than 10% of CVEs (2026-12-01)
- Published: 2026-08-15T05:55:59.424Z
- Modified: 2026-08-17T06:18:40.113Z
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

drm/xe: fix NPD in bo_meminfo()

When a buffer object is purged, its ttm.resource is set to NULL via the
TTM pipeline gutting flow. However, the BO remains in the client's
object list until userspace explicitly closes the GEM handle. If memory
stats are queried during this time, accessing bo->ttm.resource->mem_type
will result in a NULL pointer dereference.

Fix this by safely skipping purged BOs in bo_meminfo, as they no longer
consume any memory.

User is getting NPD on device resume, and possible theory is that in
bo_move(), if we need to evict something to SYSTEM to save the CCS state,
but the BO is marked as dontneed, this won't trigger a move but will
nuke the pages, leaving us with a NULL bo resource. And the meminfo()
doesn't look ready to handle a NULL resource.

v2 (Sashiko):
 - There could potentially be other cases where we might end up with a
   NULL resource, so make this a general NULL check for now.

(cherry picked from commit c9a8e7daa0afe3161111e27fd92176e608c7f186)

(As written by CVE List.)

## Affected

- Linux Linux: from ad9843aac91a1eda12912a4922042ea04cfc29dc before 5ff2212f0e0779b0b0cbf91fbf970144107c4257; from ad9843aac91a1eda12912a4922042ea04cfc29dc before b5c55015d4164a0f206bcdcf2985da948b3c7837; 7.1 (not affected: before 7.1; from 7.1.5 up to 7.1.*; from 7.2 up to *)

## References

- <https://git.kernel.org/stable/c/5ff2212f0e0779b0b0cbf91fbf970144107c4257>
- <https://git.kernel.org/stable/c/b5c55015d4164a0f206bcdcf2985da948b3c7837>

## Sources

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

---

Page: https://cve.day/CVE-2026-72359 · Whole record: https://cve.day/CVE-2026-72359.json · Rebuilt by cve.day 2026-11-25T22:59:33.094Z
