Look up another CVE · open CVE-2026-80718 in the interactive tracker
CVE-2026-80718
mm/percpu-km: fix bitmap overflow and accounting in pcpu_create_chunk()
Published 2026-08-28 (2 months ago) by the Linux kernel CNA. Subsystem mm. Debian urgency: not yet assigned.
What to do, per Debian release
Debian's own status for CVE-2026-80718 in every release this site tracks, and what each one means in practice. Every status below is the one the Debian Security Team publishes for this CVE. source
| Release | Status | Version | What this means |
|---|---|---|---|
| Debian 12bookworm | fixedDLA-4777-1 · 2026-09-08 · text | 6.1.187-1 | Update the kernel and reboot. DLA-4777-1 shipped the fix on 2026-09-08, in 6.1.187-1. A running kernel keeps the old code until the machine restarts. |
| Debian 13trixie | fixed | 6.12.105-1 | Update the kernel and reboot. Fixed in 6.12.105-1. A running kernel keeps the old code until the machine restarts. |
| Debian 14forky | fixed | 7.1.8-1 | Update the kernel and reboot. Fixed in 7.1.8-1. A running kernel keeps the old code until the machine restarts. |
| Debian unstablesid | fixed | 7.1.8-1 | Update the kernel and reboot. Fixed in 7.1.8-1. A running kernel keeps the old code until the machine restarts. |
| Debian 12bookworm · linux-6.12 | fixedDLA-4788-1 · 2026-09-19 · text | 6.12.107-1~deb12u1 | Update the kernel and reboot. DLA-4788-1 shipped the fix on 2026-09-19, in 6.12.107-1~deb12u1. A running kernel keeps the old code until the machine restarts. |
The vulnerability
What the bug is
In pcpu_create_chunk(), nr_pages is the total contiguous backing allocation, i.e., nr_units * pcpu_unit_pages, but pcpu_chunk_populated() uses it to set chunk->populated, whose size is pcpu_unit_pages, bitmap. Since bit N in chunk->populated means page offset N inside every unit is backed. When nr_units > 1, the function writes beyond chunk->populated. Fix it by using chunk->nr_pages. It also fixes the global pcpu_nr_empty_pop_pages accounting, since pcpu_balance_free() only iterates up to chunk->nr_pages. Commit a63d4ac4ab609 ("percpu: make percpu-km set chunk->populated bitmap properly") introduced the bitmap overflow issue. Later, commit b539b87fed37f ("percpu: implmeent pcpu_nr_empty_pop_pages and chunk->nr_populated") added pcpu_nr_empty_pop_pages and caused the accounting issue.
Where it lives
The fix touches these files. If the subsystem is one you do not use, the practical exposure is lower, though the package is still the vulnerable one.
mm/percpu-km.c
- What this is
- PER-CPU MEMORY ALLOCATORMAINTAINERS section matched on mm/percpu*.c · linux-mm@kvack.org · Maintained
Show whether Debian builds this, per release
Not established. This site could not find the build rule for the affected file in the kernel trees Debian ships, so it has no answer about whether Debian compiles this code. Read that as unknown, never as absent.
- bookworm, trixie, forky, sid, bookworm · linux-6.12?
- ?
- not established - no Makefile entry for the affected file
Where a release above reads "not established", no build rule for the affected file was found in that release's kernel tree. That is a gap in this lookup, not a finding that the code is absent.
From the configuration Debian publishes for every kernel flavour it builds. It covers only the architectures Debian ships a linux-config package for, and nothing about a kernel you built yourself. Debian's own status above stays authoritative about the source package.MAINTAINERS
Signals
- Published
- 2026-08-28 (2 months ago)source
- CVSS
- 7.8 high
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:Hsource recompute it - Attack vector
- local (AV:L)source
- EPSS
- 0.18%, higher than 6.6% of all CVEssource
- CISA KEV
- not listedthe KEV catalogue
- Debian urgency
- not yet assignedsource
- Subsystem
- mm
Upstream fixes
The versions the CNA records as introducing and fixing this, and the commit for each. source
| Introduced | Fixed in | Commit |
|---|---|---|
| 3.18 | 5.10.265 | 5f43d2c1bea2 |
| 3.18 | 5.15.216 | 92c43ac3c2b0 |
| 3.18 | 6.1.183 | 6fc7da2a052f |
| 3.18 | 6.6.151 | 01504da375f5 |
| 3.18 | 6.12.103 | a6940b84c8c0 |
| 3.18 | 6.18.44 | 32134cf9211b |
| 3.18 | 7.1.8 | 5c7fc39bf19a |
| 3.18 | 7.2 | 89b1b79c3088 |
Debian advisories
| Advisory | Date | Shipped to | Debian |
|---|---|---|---|
| DLA-4788-1 | 2026-09-19 | bookworm 6.12.107-1~deb12u1 | tracker |
| DLA-4777-1 | 2026-09-08 | bookworm 6.1.187-1 | tracker |
Why the CNA scored it this way
Quoted from the kernel CNA's own scoring file, word for word. A highlighted metric carries the most severe value CVSS v3.1 defines for it, which is what pushes the score up. source
- AV:LAttack vector, local
- pcpu_create_chunk() is reached only when the kernel dynamic percpu allocator creates a new chunk via pcpu_alloc_noprof() or pcpu_balance_populated(); both require local syscalls driving __alloc_percpu() exhaustion, and percpu-km applies only on NOMMU/UP kernels with no remote packet path into this code.
- AC:LAttack complexity, low
- On affected SMP NOMMU builds where nr_units>1, an attacker can deterministically force pcpu_create_chunk() by spraying percpu-consuming allocations (e.g., repeated socket() or BPF percpu map creation) until existing chunks are full; no race or victim state outside attacker control is needed.
- PR:LPrivileges required, low
- Dynamic percpu allocation is reachable with basic local user access; unprivileged attackers can obtain effective capability via user namespaces (unshare -Urn) plus CAP_NET_RAW-class socket paths or CAP_BPF where enabled, matching percpu-spray patterns in similar allocator CVEs.
- UI:NUser interaction, none
- The attacker drives percpu exhaustion and new-chunk creation entirely from its own processes via repeated local syscalls; no victim mount, file open, or administrator interaction is required.
- S:UScope, unchanged
- The bitmap overflow corrupts kernel kmalloc slab objects and percpu bookkeeping within the same kernel security domain; this is standard kernel heap corruption, not a VM, IOMMU, or sandbox boundary escape.
- C:HConfidentiality impact, high
- bitmap_set() writes up to (nr_units*pcpu_unit_pages) bits into chunk->populated[] sized for only pcpu_unit_pages, overflowing the kzalloc allocation in pcpu_alloc_chunk() and exposing or corrupting adjacent kernel heap memory.
- I:HIntegrity impact, high
- The same out-of-bounds write corrupts neighboring slab objects and inflates nr_populated/nr_empty_pop_pages accounting, providing attacker-influenced heap metadata corruption exploitable for arbitrary kernel writes and privilege escalation.
- A:HAvailability impact, high
- Slab overflow during chunk initialization can immediately oops or panic the kernel and leaves corrupted allocator state that causes subsequent percpu operations to fault, consistent with rubric guidance for heap corruption bugs.