drm/amdkfd: fix SMI event cross-process information leak
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 6.6.160, 6.12.114, 6.18.53
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
In the Linux kernel, the following vulnerability has been resolved: drm/amdkfd: fix SMI event cross-process information leak kfd_smi_ev_enabled() skips the suser privilege check when pid=0. PROCESS_START, PROCESS_END, and VMFAULT events are emitted with pid=0 while carrying another process's PID and command name, so any /dev/kfd user in the render group can monitor all GPU workloads. Pass the target process PID into kfd_smi_event_add() for these events so the existing per-client filter restricts delivery to the owning process or CAP_SYS_ADMIN subscribers.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From 938a0650aae6275ba8e924685836bdee2c6aa3db · fixed in 6fc7ab7fcd7eefb2f371a1d43cf7a860a08f922a; From 938a0650aae6275ba8e924685836bdee2c6aa3db · fixed in 470319a893f616ef661a63e825a8e1b9b6eddb91; From 938a0650aae6275ba8e924685836bdee2c6aa3db · fixed in 5bb2dfa65d8da83e87b2a31c270bc567df69a5ca; From 938a0650aae6275ba8e924685836bdee2c6aa3db · fixed in 92a8dba246d371fe268280e5fd74b0955688e6df
- Linux Linux
5.9
- KernelLinux
From 5.9.0 · fixed in 6.6.160; From 6.7.0 · fixed in 6.12.114; From 6.13.0 · fixed in 6.18.53