Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2026-143260

perf/amd/ibs: Fix kernel address leak via REGS_USER and REGS_INTR

Description

In the Linux kernel, the following vulnerability has been resolved: perf/amd/ibs: Fix kernel address leak via REGS_USER and REGS_INTR IBS hardware captures a sample and raises an NMI. Since the NMI can be delivered with a delay, a privilege change may occur between sample capture and NMI delivery. Because IBS only provides the sample RIP, the kernel records GPRs from the NMI pt_regs, which may reflect kernel mode if a privilege switch occurred in the interim. This can leak kernel addresses to unprivileged users through PERF_SAMPLE_REGS_USER and/or PERF_SAMPLE_REGS_INTR. Fix this by using interrupt regs while preparing PERF_SAMPLE_REGS_USER and PERF_SAMPLE_REGS_INTR. With the change, when IBS samples a user mode instruction but the NMI is delivered in kernel mode, PERF_SAMPLE_REGS_USER will source its register state from task_pt_regs(current) and PERF_SAMPLE_REGS_INTR will be omitted from the data sent to userspace. In addition to fixing the kernel address leak, this change also ensures GPR snapshot consistency, which resolves the DWARF unwinding issue with IBS.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • d29e744c71673a71da8f8522799ee02744cad6c9 to < 56c7ad9f9713d5a512523459d2538a872bcb18cbaffected
  • d29e744c71673a71da8f8522799ee02744cad6c9 to < 9194665da11308f62c184f5f3d0cc2c644b28e01affected
  • d29e744c71673a71da8f8522799ee02744cad6c9 to < b61c12527223423ab66891b2e8131da0d66537c4affected

Linux Linux

Default version status: affected

  • 6.14affected
  • 0 to < 6.14unaffected
  • 6.18.66 to ≤ 6.18.*unaffected
  • 7.3.7 to ≤ 7.3.*unaffected
  • 7.4-rc2 to ≤ *unaffected

References