# CVE-2024-42091: drm/xe: Check pat.ops before dumping PAT settings

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/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.18%, higher than 8% of CVEs (2026-12-01)
- Published: 2024-07-29T17:35:00.340Z
- Modified: 2026-06-17T07:48:47.500Z
- Weaknesses: CWE-476
- 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: Check pat.ops before dumping PAT settings

We may leave pat.ops unset when running on brand new platform or
when running as a VF.  While the former is unlikely, the latter
is valid (future) use case and will cause NPD when someone will
try to dump PAT settings by debugfs.

It's better to check pointer to pat.ops instead of specific .dump
hook, as we have this hook always defined for every .ops variant.

(As written by CVE List.)

## Affected

- Linux Linux: from dd08ebf6c3525a7ea2186e636df064ea47281987 before 583ce246c7ff9edeb0de49130cdc3d45db8545cb; from dd08ebf6c3525a7ea2186e636df064ea47281987 before a918e771e6fbe1fa68932af5b0cdf473e23090cc; 6.8 (not affected: before 6.8; from 6.9.8 up to 6.9.*; from 6.10 up to *)
- linux linux_kernel: from 6.8 before 6.9.8

## References

- <https://git.kernel.org/stable/c/583ce246c7ff9edeb0de49130cdc3d45db8545cb> (patch)
- <https://git.kernel.org/stable/c/a918e771e6fbe1fa68932af5b0cdf473e23090cc> (patch)

## Sources

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

---

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