CVE-2026-23248
perf/core: Fix refcount bug and potential UAF in perf_mmap
Mitigation
- Upgrade Linux to 77de62ad3de3967818c3dbe656b7336ebee461d2 or later.
Who should check
- Anyone running Linux >= b709eb872e19a19607bbb6d2975bc264d59735cf, < c27dea9f50ed525facb62ef647dddc4722456e07; >= b709eb872e19a19607bbb6d2975bc264d59735cf, < ac7ecb65af170a7fc193e7bd8be15dac84ec6a56; >= b709eb872e19a19607bbb6d2975bc264d59735cf, < 77de62ad3de3967818c3dbe656b7336ebee461d2
- Anyone running Linux 6.14
Vulnerability facts
- Affected
- Linux >= b709eb872e19a19607bbb6d2975bc264d59735cf, < c27dea9f50ed525facb62ef647dddc4722456e07; >= b709eb872e19a19607bbb6d2975bc264d59735cf, < ac7ecb65af170a7fc193e7bd8be15dac84ec6a56; >= b709eb872e19a19607bbb6d2975bc264d59735cf, < 77de62ad3de3967818c3dbe656b7336ebee461d2; Linux 6.14
- Fixed in
- Linux 77de62ad3de3967818c3dbe656b7336ebee461d2
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.8 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 0.15% chance of exploitation in 30 days (percentile 2, 2026-11-26)
- CWE
- CWE-416, CWE-362
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: perf/core: Fix refcount bug and potential UAF in perf_mmap Syzkaller reported a refcount_t: addition on 0; use-after-free warning in perf_mmap. The issue is caused by a race condition between a failing mmap() setup and a concurrent mmap() on a dependent event (e.g., using output redirection). In perf_mmap(), the ring_buffer (rb) is allocated and assigned to event->rb with the mmap_mutex held. The mutex is then released to perform map_range(). If map_range() fails, perf_mmap_close() is called to clean up. However, since the mutex was dropped, another thread attaching to this event (via inherited events or output redirection) can acquire the mutex, observe the valid event->rb pointer, and attempt to increment its reference count. If the cleanup path has already dropped the reference count to zero, this results in a use-after-free or refcount saturation warning. Fix this by extending the scope of mmap_mutex to cover the map_range() call. This ensures that the ring buffer initialization and mapping (or cleanup on failure) happens atomically effectively, preventing other threads from accessing a half-initialized or dying ring buffer.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= b709eb872e19a19607bbb6d2975bc264d59735cf, < c27dea9f50ed525facb62ef647dddc4722456e07; >= b709eb872e19a19607bbb6d2975bc264d59735cf, < ac7ecb65af170a7fc193e7bd8be15dac84ec6a56; >= b709eb872e19a19607bbb6d2975bc264d59735cf, < 77de62ad3de3967818c3dbe656b7336ebee461d2 | — | cvelist |
| Linux | 6.14 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-23248. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-23248.md Affected: Linux >= b709eb872e19a19607bbb6d2975bc264d59735cf, < c27dea9f50ed525facb62ef647dddc4722456e07; >= b709eb872e19a19607bbb6d2975bc264d59735cf, < ac7ecb65af170a7fc193e7bd8be15dac84ec6a56; >= b709eb872e19a19607bbb6d2975bc264d59735cf, < 77de62ad3de3967818c3dbe656b7336ebee461d2; Linux 6.14 Fixed in: Linux 77de62ad3de3967818c3dbe656b7336ebee461d2 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
FAQ
Is CVE-2026-23248 being exploited?
There is no confirmed exploitation: CVE-2026-23248 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.15% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-23248?
High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2026-23248?
Linux >= b709eb872e19a19607bbb6d2975bc264d59735cf, < c27dea9f50ed525facb62ef647dddc4722456e07; >= b709eb872e19a19607bbb6d2975bc264d59735cf, < ac7ecb65af170a7fc193e7bd8be15dac84ec6a56; >= b709eb872e19a19607bbb6d2975bc264d59735cf, < 77de62ad3de3967818c3dbe656b7336ebee461d2; Linux 6.14.
Is there a fix for CVE-2026-23248?
Yes. Fixed in Linux 77de62ad3de3967818c3dbe656b7336ebee461d2. Upgrade Linux to 77de62ad3de3967818c3dbe656b7336ebee461d2 or later.
How do I check if I'm affected by CVE-2026-23248?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.