CVE-2024-46803 drm/amdkfd: Check debug trap enable before write dbg_ev_file

High 7.8 Published Updated

A race condition in the AMD KFD driver can cause a null pointer dereference, leading to a system crash.

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-46803?

CVE-2024-46803 is a high-severity vulnerability in Linux kernel, published on 27 Sep 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/amdkfd: Check debug trap enable before write dbg_ev_file

In interrupt context, write dbg_ev_file will be run by work queue. It will cause write dbg_ev_file execution after debug_trap_disable, which will cause NULL pointer access. v2: cancel work "debug_event_workarea" before set dbg_ev_file as NULL.

Weakness: CWE-476

Which versions are affected by CVE-2024-46803?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2024-46803?

Apply the vendor's patch.

Is CVE-2024-46803 being exploited?

There is no known exploitation of CVE-2024-46803 in the wild and no public exploit code.

All Linux kernel vulnerabilities

Sources

Also known as AZL-49968, BELL-CVE-2024-46803, DEBIAN-CVE-2024-46803, GHSA-3mfg-g733-vvp9, ROOT-OS-DEBIAN-12-CVE-2024-46803, ROOT-OS-UBUNTU-2204-CVE-2024-46803 and 1 more.

Is CVE-2024-46803 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free