Bug 2586178 (CVE-2026-99867) - CVE-2026-99867 kernel: kernel: amdkfd: information disclosure via improper SMI event filtering
Summary: CVE-2026-99867 kernel: kernel: amdkfd: information disclosure via improper SM...
Keywords:
Status: NEW
Alias: CVE-2026-99867
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-11-30 13:34 UTC by OSIDB Bzimport
Modified: 2026-11-30 16:19 UTC (History)
17 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-11-30 13:34:01 UTC
In the Linux kernel, the following vulnerability has been resolved:

drm/amdkfd: send SMI process and VM fault events only to allowed clients

Commit 92a8dba246d3 ("drm/amdkfd: fix SMI event cross-process
information leak") made the VMFAULT and PROCESS_START/END SMI events
carry the pid of the process they are about, so that
kfd_smi_ev_enabled() only passes them to clients of that process and to
privileged clients. Commit 1142738572ef ("drm/amdkfd: Fix SMI event PID
reporting for containers") then switched kfd_smi_event_add() to take a
task and passed NULL for these events, i.e. pid 0, which every client
receives again.

On navi31, an unprivileged SMI client (uid 1000) subscribed to
PROCESS_START/END sees root running rocminfo:

  event: c 223a9 rocminfo
  event: d 223a9 rocminfo

The same commit also made the filter compare PIDs of different
namespaces: the client stores its PID in its own namespace and events
use the PID of the task in the task's namespace, so a client that is
PID 1 in one container receives the events of PID 1 in another. And an
exited task has no PID in its namespace anymore, which gives pid 0 for
PROCESS_END.

Match clients by global TGID, which is unique and stays valid after the
task exited, and keep showing the namespace PID in the event text. Pass
the TGID of the process for the process and VM fault events again. With
this the unprivileged client gets nothing, a root client still gets both
events, and an unprivileged client that is PID 1 in its own PID
namespace no longer gets the events of rocminfo running as PID 1 in
another one.

v2: rename the pid of the clients and of the filter to tgid (Felix)

(cherry picked from commit 77f5f4eae104a96399a5b1003730d5d739368b7d)


Note You need to log in before you can comment on or make changes to this bug.