CVE-2026-98552
perf/core: Fix a refcount leak in attach_perf_ctx_data()
Reported by linux · Published October 18, 2026
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().
EPSS 0.20% · 9.6th percentile
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel6.18-tools-devel | Amazon Linux | 1:6.18.56-125.164.amzn2023 |
| kernel6.18-modules-extra | Amazon Linux | 1:6.18.56-125.164.amzn2023 |
| kernel6.18 | Amazon Linux | 1:6.18.56-125.164.amzn2023 |
| kernel6.18-tools | Amazon Linux | 1:6.18.56-125.164.amzn2023 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 506e64e710ff9573fd2b86686528762b7901b5e4, 506e64e710ff9573fd2b86686528762b7901b5e4, 506e64e710ff9573fd2b86686528762b7901b5e4 |
| Linux | Linux | 6.15, 0, 6.18.55 |
| amazon:2023 | kernel6.18-tools-devel | 0 |
| amazon:2023 | kernel6.18-modules-extra | 0 |
| amazon:2023 | kernel6.18 | 0 |
| amazon:2023 | kernel6.18-tools | 0 |
| linux | linux_kernel | 6.15, 6.15, 6.15 |
| amazon:2023 | kernel6.18-headers | 0 |
| amazon:2023 | python3-perf6.18 | 0 |
| amazon:2023 | bpftool6.18 | 0 |
| amazon:2023 | kernel6.18-devel | 0 |
| amazon:2023 | microvm-kernel6.18 | 0 |
| Linux | Linux | 7.2.9, 6.15, 0 |
| amazon:2023 | kernel-livepatch-6.18.56-125.164 | 0 |
| amazon:2023 | kernel6.18-modules-extra-common | 0 |
| amazon:2023 | perf6.18 | 0 |
Timeline
- Oct 18, 2026 Coalition ESS Score
- Oct 18, 2026 CVE Published
- Oct 19, 2026 EPSS Score (5 in total, the first dated here)
- Oct 19, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-98552
vulnetix vdb fixes CVE-2026-98552
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-98552/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart