Vulnerability CVE-2024-42091


Published: 2024-07-29

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.

 References:
https://git.kernel.org/stable/c/583ce246c7ff9edeb0de49130cdc3d45db8545cb
https://git.kernel.org/stable/c/a918e771e6fbe1fa68932af5b0cdf473e23090cc

Copyright 2026, cxsecurity.com

 

Back to Top