perf: Fix __perf_event_overflow() vs perf_remove_from_context() race
Summary
| CVE | CVE-2026-23271 |
|---|---|
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-03-20 09:16:11 UTC |
| Updated | 2026-04-02 15:16:28 UTC |
| Description | In the Linux kernel, the following vulnerability has been resolved: perf: Fix __perf_event_overflow() vs perf_remove_from_context() race Make sure that __perf_event_overflow() runs with IRQs disabled for all possible callchains. Specifically the software events can end up running it with only preemption disabled. This opens up a race vs perf_event_exit_event() and friends that will go and free various things the overflow path expects to be present, like the BPF program. |
Risk And Classification
Primary CVSS: v3.1 7.8 HIGH from 416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS: 0.000140000 probability, percentile 0.027400000 (date 2026-05-28)
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | Secondary | 7.8 | HIGH | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| 3.1 | CNA | DECLARED | 7.8 | HIGH | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
CVSS v3.1 Breakdown
Attack Vector
LocalAttack Complexity
LowPrivileges Required
LowUser Interaction
NoneScope
UnchangedConfidentiality
HighIntegrity
HighAvailability
HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Linux | Linux | affected 592903cdcbf606a838056bae6d03fc557806c914 4df1a45819e50993cb351682a6ae8e7ed2d233a0 git | Not specified |
| CNA | Linux | Linux | affected 592903cdcbf606a838056bae6d03fc557806c914 4f8d5812337871227bb2c98669a87c306a2f86ef git | Not specified |
| CNA | Linux | Linux | affected 592903cdcbf606a838056bae6d03fc557806c914 5c48fdc4b4623533d86e279f51531a7ba212eb87 git | Not specified |
| CNA | Linux | Linux | affected 592903cdcbf606a838056bae6d03fc557806c914 3f89b61dd504c5b6711de9759e053b082f9abf12 git | Not specified |
| CNA | Linux | Linux | affected 592903cdcbf606a838056bae6d03fc557806c914 bb190628fe5f2a73ba762a9972ba16c5e895f73e git | Not specified |
| CNA | Linux | Linux | affected 592903cdcbf606a838056bae6d03fc557806c914 c9bc1753b3cc41d0e01fbca7f035258b5f4db0ae git | Not specified |
| CNA | Linux | Linux | affected 2.6.31 | Not specified |
| CNA | Linux | Linux | unaffected 2.6.31 semver | Not specified |
| CNA | Linux | Linux | unaffected 6.1.167 6.1.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.6.130 6.6.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.12.77 6.12.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.18.17 6.18.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.19.7 6.19.* semver | Not specified |
| CNA | Linux | Linux | unaffected 7.0 * original_commit_for_fix | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| git.kernel.org/stable/c/4df1a45819e50993cb351682a6ae8e7ed2d233a0 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/c9bc1753b3cc41d0e01fbca7f035258b5f4db0ae | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/bb190628fe5f2a73ba762a9972ba16c5e895f73e | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/4f8d5812337871227bb2c98669a87c306a2f86ef | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/3f89b61dd504c5b6711de9759e053b082f9abf12 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/5c48fdc4b4623533d86e279f51531a7ba212eb87 | 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.