VDB

CVE-2026-80671

CVE-2026-80671 PUBLISHED CVSS 9.3 CRITICAL

perf sched: Fix register_pid() overflow, strcpy, and BUG_ON

Reported by linux · Published August 28, 2026

In the Linux kernel, the following vulnerability has been resolved: perf sched: Fix register_pid() overflow, strcpy, and BUG_ON register_pid() has several issues when processing untrusted perf.data: 1. Integer overflow: (pid + 1) * sizeof(struct task_desc *) can wrap to a small value on 32-bit systems when pid is large (e.g. 0x40000000), causing realloc to return a tiny buffer followed by out-of-bounds writes in the initialization loop. 2. Heap buffer overflow: strcpy(task->comm, comm) copies the untrusted comm string into a fixed 20-byte COMM_LEN buffer with no length check. 3. BUG_ON on allocation failure: perf.data is untrusted input, so allocation failures should be handled gracefully rather than killing the process. 4. Realloc of sched->tasks assigned directly back, leaking the old pointer on failure; nr_tasks incremented before the realloc, leaving corrupted state on failure. Cap pid at PID_MAX_LIMIT (4194304, matching the kernel's maximum on 64-bit), replace strcpy with strlcpy, guard against NULL comm, replace BUG_ON with NULL returns using safe realloc patterns, and add NULL checks in callers that dereference the result.

EPSS 0.16% · 4.9th percentile

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kernel-livepatch-6.1.188-233.385Amazon Linux1:1.0-0.amzn2023
kernel-modules-extraAmazon Linux1:6.1.188-233.385.amzn2023
kernel6.18-toolsAmazon Linux1:6.18.41-94.142.amzn2023
kernel6.12-headersAmazon Linux1:6.12.110-135.201.amzn2023
kernel6.12-modules-extra-commonAmazon Linux1:6.12.110-135.201.amzn2023
kernel-headersAmazon Linux1:6.1.188-233.385.amzn2023
python3-perf6.12Amazon Linux1:6.12.110-135.201.amzn2023
kernel-livepatch-6.12.110-135.201Amazon Linux1:1.0-0.amzn2023
kernel-modules-extra-commonAmazon Linux1:6.1.188-233.385.amzn2023
kernel6.12Amazon Linux1:6.12.110-135.201.amzn2023
kernel6.12-develAmazon Linux1:6.12.110-135.201.amzn2023
bpftool6.18Amazon Linux1:6.18.41-94.142.amzn2023

10 more packages have a fixed version. See every fix in Lookup.

Risk scores

CVSS 3.1
9.3
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
EPSS Score
0.16%
4.9th percentile

Affected products

VendorProductVersions
LinuxLinuxec156764d424dd67283c2cd5e9f6f1b8388364ac, ec156764d424dd67283c2cd5e9f6f1b8388364ac, ec156764d424dd67283c2cd5e9f6f1b8388364ac
LinuxLinux2.6.32, 0, 5.10.270
amazon:2023kernel-livepatch-6.1.188-233.3850
amazon:2023kernel-modules-extra0
amazon:2023kernel6.18-tools0
amazon:2023kernel6.12-headers0
amazon:2023kernel6.12-modules-extra-common0
amazon:2023kernel-headers0
amazon:2023python3-perf6.120
amazon:2023kernel-livepatch-6.12.110-135.2010
amazon:2023kernel-modules-extra-common0
amazon:2023kernel6.120
amazon:2023kernel6.12-devel0
amazon:2023bpftool6.180
amazon:2023kernel6.18-devel0
amazon:2023kernel-tools-devel0
amazon:2023perf6.120
amazon:2023kernel6.180
amazon:2023kernel6.18-headers0
amazon:2023microvm-kernel6.180

…and 18 more

Timeline

  • Aug 28, 2026 EPSS Score (10 in total, the first dated here)
  • Aug 28, 2026 Coalition ESS Score
  • Aug 28, 2026 CVE Published
  • Sep 1, 2026 Security Advisory

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-80671
vulnetix vdb fixes CVE-2026-80671

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-80671/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 ›