{"id":"CVE-2026-143260","state":"PUBLISHED","title":"perf/amd/ibs: Fix kernel address leak via REGS_USER and REGS_INTR","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nperf/amd/ibs: Fix kernel address leak via REGS_USER and REGS_INTR\n\nIBS hardware captures a sample and raises an NMI. Since the NMI can be\ndelivered with a delay, a privilege change may occur between sample\ncapture and NMI delivery. Because IBS only provides the sample RIP, the\nkernel records GPRs from the NMI pt_regs, which may reflect kernel mode\nif a privilege switch occurred in the interim. This can leak kernel\naddresses to unprivileged users through PERF_SAMPLE_REGS_USER and/or\nPERF_SAMPLE_REGS_INTR.\n\nFix this by using interrupt regs while preparing PERF_SAMPLE_REGS_USER\nand PERF_SAMPLE_REGS_INTR. With the change, when IBS samples a user mode\ninstruction but the NMI is delivered in kernel mode, PERF_SAMPLE_REGS_USER\nwill source its register state from task_pt_regs(current) and\nPERF_SAMPLE_REGS_INTR will be omitted from the data sent to userspace.\n\nIn addition to fixing the kernel address leak, this change also ensures\nGPR snapshot consistency, which resolves the DWARF unwinding issue with\nIBS.","publishedAt":"2026-12-03T09:21:06.008Z","updatedAt":"2026-12-03T09:21:06.008Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"d29e744c71673a71da8f8522799ee02744cad6c9","status":"affected","lessThan":"56c7ad9f9713d5a512523459d2538a872bcb18cb","versionType":"git"},{"version":"d29e744c71673a71da8f8522799ee02744cad6c9","status":"affected","lessThan":"9194665da11308f62c184f5f3d0cc2c644b28e01","versionType":"git"},{"version":"d29e744c71673a71da8f8522799ee02744cad6c9","status":"affected","lessThan":"b61c12527223423ab66891b2e8131da0d66537c4","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["arch/x86/events/amd/ibs.c","include/linux/perf_event.h","kernel/events/core.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.14","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.14","versionType":"semver"},{"version":"6.18.66","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.7","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc2","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["arch/x86/events/amd/ibs.c","include/linux/perf_event.h","kernel/events/core.c"]}],"references":["https://git.kernel.org/stable/c/56c7ad9f9713d5a512523459d2538a872bcb18cb","https://git.kernel.org/stable/c/9194665da11308f62c184f5f3d0cc2c644b28e01","https://git.kernel.org/stable/c/b61c12527223423ab66891b2e8131da0d66537c4"],"weaknesses":[],"ingestedAt":"2026-12-03T09:42:04.348Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/143xxx/CVE-2026-143260.json","commit":"9e309c7c0f08856e2558a1df33f75dca027fab70","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-143260","state":"PUBLISHED","datePublished":"2026-12-03T09:21:06.008Z","dateUpdated":"2026-12-03T09:21:06.008Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-12-03T03:10:28.363Z"},"containers":{"cna":{"title":"perf/amd/ibs: Fix kernel address leak via REGS_USER and REGS_INTR","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nperf/amd/ibs: Fix kernel address leak via REGS_USER and REGS_INTR\n\nIBS hardware captures a sample and raises an NMI. Since the NMI can be\ndelivered with a delay, a privilege change may occur between sample\ncapture and NMI delivery. Because IBS only provides the sample RIP, the\nkernel records GPRs from the NMI pt_regs, which may reflect kernel mode\nif a privilege switch occurred in the interim. This can leak kernel\naddresses to unprivileged users through PERF_SAMPLE_REGS_USER and/or\nPERF_SAMPLE_REGS_INTR.\n\nFix this by using interrupt regs while preparing PERF_SAMPLE_REGS_USER\nand PERF_SAMPLE_REGS_INTR. With the change, when IBS samples a user mode\ninstruction but the NMI is delivered in kernel mode, PERF_SAMPLE_REGS_USER\nwill source its register state from task_pt_regs(current) and\nPERF_SAMPLE_REGS_INTR will be omitted from the data sent to userspace.\n\nIn addition to fixing the kernel address leak, this change also ensures\nGPR snapshot consistency, which resolves the DWARF unwinding issue with\nIBS."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"d29e744c71673a71da8f8522799ee02744cad6c9","status":"affected","lessThan":"56c7ad9f9713d5a512523459d2538a872bcb18cb","versionType":"git"},{"version":"d29e744c71673a71da8f8522799ee02744cad6c9","status":"affected","lessThan":"9194665da11308f62c184f5f3d0cc2c644b28e01","versionType":"git"},{"version":"d29e744c71673a71da8f8522799ee02744cad6c9","status":"affected","lessThan":"b61c12527223423ab66891b2e8131da0d66537c4","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["arch/x86/events/amd/ibs.c","include/linux/perf_event.h","kernel/events/core.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.14","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.14","versionType":"semver"},{"version":"6.18.66","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.7","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc2","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["arch/x86/events/amd/ibs.c","include/linux/perf_event.h","kernel/events/core.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/56c7ad9f9713d5a512523459d2538a872bcb18cb"},{"url":"https://git.kernel.org/stable/c/9194665da11308f62c184f5f3d0cc2c644b28e01"},{"url":"https://git.kernel.org/stable/c/b61c12527223423ab66891b2e8131da0d66537c4"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-12-03T09:21:06.008Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.14","versionEndExcluding":"6.18.66"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.14","versionEndExcluding":"7.3.7"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.14","versionEndExcluding":"7.4-rc2"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}