5.5medium
drm/xe: Check pat.ops before dumping PAT settings
- Severity
- 5.5medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.18% (higher than 8% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- 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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| 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 * | CVE List |
| linux linux_kernel | from 6.8 before 6.9.8 | NVD |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: drm/xe: verifique pat.ops antes de volcar la configuración de PAT. Podemos dejar pat.ops sin configurar cuando se ejecuta en una plataforma nueva o cuando se ejecuta como VF. Si bien lo primero es poco probable, el segundo es un caso de uso válido (futuro) y causará NPD cuando alguien intente volcar la configuración de PAT mediante debugfs. Es mejor marcar el puntero a pat.ops en lugar del gancho .dump específico, ya que siempre tenemos este gancho definido para cada variante de .ops.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-42091 changed 2026-05-11 | CVE Terms of Use |
| NVD | CVE-2024-42091 changed 2026-06-17 | Public domain |