perf/amd/ibs: Fix kernel address leak via REGS_USER and REGS_INTR
Summary
| CVE | CVE-2026-143260 |
|---|---|
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-12-03 10:18:06 UTC |
| Updated | 2026-12-03 10:18:06 UTC |
| 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. |
Risk And Classification
EPSS: 0.002060000 probability, percentile 0.113130000 (date 2026-12-03)
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Linux | Linux | affected d29e744c71673a71da8f8522799ee02744cad6c9 56c7ad9f9713d5a512523459d2538a872bcb18cb git | Not specified |
| CNA | Linux | Linux | affected d29e744c71673a71da8f8522799ee02744cad6c9 9194665da11308f62c184f5f3d0cc2c644b28e01 git | Not specified |
| CNA | Linux | Linux | affected d29e744c71673a71da8f8522799ee02744cad6c9 b61c12527223423ab66891b2e8131da0d66537c4 git | Not specified |
| CNA | Linux | Linux | affected 6.14 | Not specified |
| CNA | Linux | Linux | unaffected 6.14 semver | Not specified |
| CNA | Linux | Linux | unaffected 6.18.66 6.18.* semver | Not specified |
| CNA | Linux | Linux | unaffected 7.3.7 7.3.* semver | Not specified |
| CNA | Linux | Linux | unaffected 7.4-rc2 * original_commit_for_fix | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| git.kernel.org/stable/c/9194665da11308f62c184f5f3d0cc2c644b28e01 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/56c7ad9f9713d5a512523459d2538a872bcb18cb | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/b61c12527223423ab66891b2e8131da0d66537c4 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.