Bug 2300704 (CVE-2024-42091) - CVE-2024-42091 kernel: drm/xe: Check pat.ops before dumping PAT settings
Summary: CVE-2024-42091 kernel: drm/xe: Check pat.ops before dumping PAT settings
Keywords:
Status: NEW
Alias: CVE-2024-42091
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2301746
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-07-29 18:20 UTC by OSIDB Bzimport
Modified: 2024-07-31 04:48 UTC (History)
4 users (show)

Fixed In Version: kernel 6.9.8, kernel 6.10
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2024-07-29 18:20:14 UTC
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.

Comment 1 Mauro Matteo Cascella 2024-07-30 17:36:07 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2024072904-CVE-2024-42091-597d@gregkh/T

Comment 2 Mauro Matteo Cascella 2024-07-30 17:36:29 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 2301746]


Note You need to log in before you can comment on or make changes to this bug.