CVE-2026-80671 in the critical feed json
perf sched: Fix register_pid() overflow, strcpy, and BUG_ON
published 2026-08-28 2 mo ago modified 2026-09-14 55 d ago also EUVD-2026-67547
- cvss
- 9.3
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 4%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- Linux Linux 5.10.270, 5.15.221, 6.1.188, 6.6.157, 6.12.110, 6.18.40, 7.1.5, 7.2
- linux Debian 12 6.1.190-1
- linux Debian 13 6.12.111-1
- linux Debian 14 7.1.5-1
- linux-6.12 Debian 12 6.12.111-1~deb12u1
debian advisories DEBIAN-CVE-2026-80671
- linux Ubuntu 22.04 LTS 5.15.0-202.212
- linux Ubuntu 26.04 LTS 7.0.0-38.38
- linux-aws Ubuntu 22.04 LTS 5.15.0-1119.126
- linux-aws Ubuntu 26.04 LTS 7.0.0-1014.14
- linux-gcp Ubuntu 22.04 LTS 5.15.0-1120.130
- linux-gcp Ubuntu 26.04 LTS 7.0.0-1014.14
- linux-gke Ubuntu 22.04 LTS 5.15.0-1115.121
- linux-gke Ubuntu 26.04 LTS 7.0.0-1008.9
ubuntu advisories UBUNTU-CVE-2026-80671
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- git.kernel.org/stable/c/344e59fc4f2cba6dc04ce5e2a77388645d4ca834 commit
- git.kernel.org/stable/c/22263d241bad753217d545f8085b7ead52e2873b commit
- git.kernel.org/stable/c/2003918e13f43cf6c5698be3cc9aa3657dd676a8 commit
- git.kernel.org/stable/c/29639f00bfa49da7904ba0a499e0da7a0e5d735e commit
- git.kernel.org/stable/c/261d2b5f4afa0570ca906e553c93811c5abe4590 commit
- git.kernel.org/stable/c/652cea73b7b7b7c622a2be670e44e3c499c6d49f commit
- git.kernel.org/stable/c/5ea1dcc9418c4e06ce29ed5170596f497ba86872 commit
- git.kernel.org/stable/c/5949d339f5ec98752d56dcd4e36f619a59d513a5 commit
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-80671 updated cvss 5.5
kernel: perf sched: Fix register_pid() overflow, strcpy, and BUG_ON
-
Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 more Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, python-perf, kernel-kdump, +8 more Red Hat Enterprise Linux 8 perf, kernel, bpftool, kernel-rt, kernel-core, kernel-tools, +29 more Red Hat Enterprise Linux 9 rv, perf, rtla, kernel, bpftool, libperf, +83 more Red Hat Enterprise Linux 10 kernelnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
0.16% chance of exploitation in the next 30 days, higher than 4% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 9.3 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H |
Affected products
- Linux Linux
Classification
- Technology feeds
References
- git.kernel.org /stable/c/344e59fc4f2cba6dc04ce5e2a77388645d4ca834
- git.kernel.org /stable/c/22263d241bad753217d545f8085b7ead52e2873b
- git.kernel.org /stable/c/2003918e13f43cf6c5698be3cc9aa3657dd676a8
- git.kernel.org /stable/c/29639f00bfa49da7904ba0a499e0da7a0e5d735e
- git.kernel.org /stable/c/261d2b5f4afa0570ca906e553c93811c5abe4590
- git.kernel.org /stable/c/652cea73b7b7b7c622a2be670e44e3c499c6d49f
- git.kernel.org /stable/c/5ea1dcc9418c4e06ce29ed5170596f497ba86872
- git.kernel.org /stable/c/5949d339f5ec98752d56dcd4e36f619a59d513a5
Sources
- CVE List CVE-2026-80671
- NVD CVE-2026-80671
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.