VDB

CVE-2026-98552

CVE-2026-98552 PUBLISHED

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.

PackageEcosystemFixed in
kernel6.18-tools-develAmazon Linux1:6.18.56-125.164.amzn2023
kernel6.18-modules-extraAmazon Linux1:6.18.56-125.164.amzn2023
kernel6.18Amazon Linux1:6.18.56-125.164.amzn2023
kernel6.18-toolsAmazon Linux1:6.18.56-125.164.amzn2023

Risk scores

EPSS Score
0.20%
9.6th percentile

Affected products

VendorProductVersions
LinuxLinux506e64e710ff9573fd2b86686528762b7901b5e4, 506e64e710ff9573fd2b86686528762b7901b5e4, 506e64e710ff9573fd2b86686528762b7901b5e4
LinuxLinux6.15, 0, 6.18.55
amazon:2023kernel6.18-tools-devel0
amazon:2023kernel6.18-modules-extra0
amazon:2023kernel6.180
amazon:2023kernel6.18-tools0
linuxlinux_kernel6.15, 6.15, 6.15
amazon:2023kernel6.18-headers0
amazon:2023python3-perf6.180
amazon:2023bpftool6.180
amazon:2023kernel6.18-devel0
amazon:2023microvm-kernel6.180
LinuxLinux7.2.9, 6.15, 0
amazon:2023kernel-livepatch-6.18.56-125.1640
amazon:2023kernel6.18-modules-extra-common0
amazon:2023perf6.180

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

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›