drm/amdkfd: Check debug trap enable before write dbg_ev_file
Linux
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 |
|
|
6.6.506.10.96.11In 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.
From the CVE record · Linux
The Linux kernel's drm/amdkfd component can run a queued write to dbg_ev_file after debug_trap_disable, causing a NULL-pointer access. The input does not specify how an attacker could trigger this, whether authentication is needed, or whether user interaction is required.
Engineers running Linux kernels with drm/amdkfd should check their versions; affected versions are not specified.