CVE-2024-42081 drm/xe/xe_devcoredump: Check NULL before assignments
A null pointer dereference in the Linux kernel's Xe GPU driver can cause a system crash, requiring a kernel patch to fix.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-42081?
CVE-2024-42081 is a medium-severity vulnerability in Linux kernel, published on 29 Jul 2024. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
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)
Weakness: CWE-476
Which versions are affected by CVE-2024-42081?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2024-42081?
Apply the vendor's patch.
Is CVE-2024-42081 being exploited?
There is no known exploitation of CVE-2024-42081 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as AZL-47136, AZL-47222, BELL-CVE-2024-42081, DEBIAN-CVE-2024-42081, GHSA-6xvq-4crp-429f, UBUNTU-CVE-2024-42081.