drm/amdkfd: Fix missing authorization check in KFD_IOC_DBG_TRAP_DISABLE
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
drm/amdkfd: Fix missing authorization check in KFD_IOC_DBG_TRAP_DISABLE
Prevent unauthorized termination of active GPU debug sessions. Previously, users with /dev/kfd access could terminate another process's debug session without proper ownership or ptrace authorization.
(cherry picked from commit 4db4c5ffd5585b72622ecf6ffedf2da258ee23f5)
From the CVE record · Linux
The KFD_IOC_DBG_TRAP_DISABLE handler lacks an authorization check. A local user with access to /dev/kfd can terminate another process's active GPU debug session without ownership or ptrace authorization; no user interaction is required.
Anyone running the Linux kernel with amdkfd and accessible /dev/kfd should check whether their kernel includes the fix; affected versions were not specified.