CVE-2026-80718

Source
https://cve.org/CVERecord?id=CVE-2026-80718
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-80718.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-80718
Downstream
Published
2026-08-28T06:53:15.490Z
Modified
2026-08-29T03:47:17.285032775Z
Summary
mm/percpu-km: fix bitmap overflow and accounting in pcpu_create_chunk()
Details

In the Linux kernel, the following vulnerability has been resolved:

mm/percpu-km: fix bitmap overflow and accounting in pcpucreatechunk()

In pcpucreatechunk(), nrpages is the total contiguous backing allocation, i.e., nrunits * pcpuunitpages, but pcpuchunkpopulated() uses it to set chunk->populated, whose size is pcpuunitpages, bitmap. Since bit N in chunk->populated means page offset N inside every unit is backed. When nrunits > 1, the function writes beyond chunk->populated. Fix it by using chunk->nrpages.

It also fixes the global pcpunremptypoppages accounting, since pcpubalancefree() 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 pcpunremptypoppages and chunk->nrpopulated") added pcpunremptypop_pages and caused the accounting issue.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/80xxx/CVE-2026-80718.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
a63d4ac4ab6094c051a5a240260d16117a7a2f86
Fixed
5f43d2c1bea280dcdfabaf156c25e7402fb8039f
Fixed
92c43ac3c2b09eb16162e8144e73c00b7c3e29d6
Fixed
6fc7da2a052f2825fff785e860e67183f5acaaba
Fixed
01504da375f5b19df195cb1cb1cf1dd184318f97
Fixed
a6940b84c8c035da465b7165fdfcfb005545724e
Fixed
32134cf9211b83bed9076d0739c5906fbea4c763
Fixed
5c7fc39bf19abb38a996aaad77b3e3a8f48581c3
Fixed
89b1b79c308818a715e75f28744b70d8940a07c9

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-80718.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
3.18.0
Fixed
5.10.265
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.216
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.183
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.151
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.103
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.44
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.1.8

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-80718.json"