CVE-2024-42081Published Jul 29, 2024 · Jul 29Updated Oct 28
drm/xe/xe_devcoredump: Check NULL before assignments
Linux
Medium5.5Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
drm/xe/xe_devcoredump: Check NULL before assignments
Assign 'xe_devcoredump_snapshot *' and 'xe_device *' only if 'coredump' is not NULL.
v2 - Fix commit messages.
v3 - Define variables before code.(Ashutosh/Jose)
v4 - Drop return check for coredump_to_xe. (Jose/Rodrigo)
v5 - Modify misleading commit message. (Matt)
From the CVE record · Linux
The Linux kernel’s drm/xe/xe_devcoredump code could assign pointers when coredump is NULL. The input does not specify what an attacker could do or whether exploitation requires network access, authentication, or user interaction.
Engineers running the Linux kernel should check their deployments; affected versions are not specified.