CVE-2026-98552
perf/core: Fix a refcount leak in attach_perf_ctx_data()
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= 506e64e710ff9573fd2b86686528762b7901b5e4, < 23250517cd475367653f1e99396967f54c6f1b7c; >= 506e64e710ff9573fd2b86686528762b7901b5e4, < 5286d4eb5cd7e10d7d93c3cc596e18bc8ad80f72; >= 506e64e710ff9573fd2b86686528762b7901b5e4, < cca4980630b3c7a85f53cb43c6018184ce5d4e37
- Anyone running Linux 6.15
Vulnerability facts
- Affected
- Linux >= 506e64e710ff9573fd2b86686528762b7901b5e4, < 23250517cd475367653f1e99396967f54c6f1b7c; >= 506e64e710ff9573fd2b86686528762b7901b5e4, < 5286d4eb5cd7e10d7d93c3cc596e18bc8ad80f72; >= 506e64e710ff9573fd2b86686528762b7901b5e4, < cca4980630b3c7a85f53cb43c6018184ce5d4e37; Linux 6.15
- Fixed in
- Linux 23250517cd475367653f1e99396967f54c6f1b7c, Linux 5286d4eb5cd7e10d7d93c3cc596e18bc8ad80f72
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Unknown
- CVSS
- Not scored yet
- EPSS
- 0.21% chance of exploitation in 30 days (percentile 6, 2026-11-26)
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: perf/core: Fix a refcount leak in attach_perf_ctx_data() The attach_perf_ctx_data() can race on global and !global cases. The global case is protected by global_ctx_data_rwsem and shares a single reference count using perf_ctx_data.global field. But when it races with !global case, it may miss to set the global field and result in a reference count leak. CPU1 CPU2 ---------------------------------------------------------------- attach_task_ctx_data(.global=1) attach_task_ctx_data(.global=0) cd1 = alloc_perf_ctx_data(); cd2 = alloc_perf_ctx_data(); // { .global = 0, .refcount = 1 }; try_cmpxchg(); // success, // task->perf_ctx_data = cd2 try_cmpxhg(); // fail; old = cd2 refcount_inc_not_zero(&old->refcount); // success // old.refcount = 2 free_perf_ctx_data(cd1); Then later detach_global_ctx_data() will see the data but it's not marked as global, so it won't call detach_task_ctx_data().
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 506e64e710ff9573fd2b86686528762b7901b5e4, < 23250517cd475367653f1e99396967f54c6f1b7c; >= 506e64e710ff9573fd2b86686528762b7901b5e4, < 5286d4eb5cd7e10d7d93c3cc596e18bc8ad80f72; >= 506e64e710ff9573fd2b86686528762b7901b5e4, < cca4980630b3c7a85f53cb43c6018184ce5d4e37 | — | cvelist |
| Linux | 6.15 | — | 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-98552. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-98552.md Affected: Linux >= 506e64e710ff9573fd2b86686528762b7901b5e4, < 23250517cd475367653f1e99396967f54c6f1b7c; >= 506e64e710ff9573fd2b86686528762b7901b5e4, < 5286d4eb5cd7e10d7d93c3cc596e18bc8ad80f72; >= 506e64e710ff9573fd2b86686528762b7901b5e4, < cca4980630b3c7a85f53cb43c6018184ce5d4e37; Linux 6.15 Fixed in: Linux 23250517cd475367653f1e99396967f54c6f1b7c, Linux 5286d4eb5cd7e10d7d93c3cc596e18bc8ad80f72 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-98552 being exploited?
There is no confirmed exploitation: CVE-2026-98552 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.21% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-98552?
It has no CVSS score yet. Unknown.
Which versions are affected by CVE-2026-98552?
Linux >= 506e64e710ff9573fd2b86686528762b7901b5e4, < 23250517cd475367653f1e99396967f54c6f1b7c; >= 506e64e710ff9573fd2b86686528762b7901b5e4, < 5286d4eb5cd7e10d7d93c3cc596e18bc8ad80f72; >= 506e64e710ff9573fd2b86686528762b7901b5e4, < cca4980630b3c7a85f53cb43c6018184ce5d4e37; Linux 6.15.
Is there a fix for CVE-2026-98552?
Yes. Fixed in Linux 23250517cd475367653f1e99396967f54c6f1b7c, Linux 5286d4eb5cd7e10d7d93c3cc596e18bc8ad80f72. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2026-98552?
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.