{"id":"CVE-2026-80718","aliases":["CVE-2026-80718"],"related":[],"kind":"vulnerability","state":"published","title":"mm/percpu-km: fix bitmap overflow and accounting in pcpu_create_chunk()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nmm/percpu-km: fix bitmap overflow and accounting in pcpu_create_chunk()\n\nIn pcpu_create_chunk(), nr_pages is the total contiguous backing\nallocation, i.e., nr_units * pcpu_unit_pages, but pcpu_chunk_populated()\nuses it to set chunk->populated, whose size is pcpu_unit_pages, bitmap. \nSince bit N in chunk->populated means page offset N inside every unit is\nbacked.  When nr_units > 1, the function writes beyond chunk->populated. \nFix it by using chunk->nr_pages.\n\nIt also fixes the global pcpu_nr_empty_pop_pages accounting, since\npcpu_balance_free() only iterates up to chunk->nr_pages.\n\nCommit a63d4ac4ab609 (\"percpu: make percpu-km set chunk->populated bitmap\nproperly\") introduced the bitmap overflow issue.  Later, commit\nb539b87fed37f (\"percpu: implmeent pcpu_nr_empty_pop_pages and\nchunk->nr_populated\") added pcpu_nr_empty_pop_pages and caused the\naccounting issue.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nmm/percpu-km: fix bitmap overflow and accounting in pcpu_create_chunk()\n\nIn pcpu_create_chunk(), nr_pages is the total contiguous backing\nallocation, i.e., nr_units * pcpu_unit_pages, but pcpu_chunk_populated()\nuses it to set chunk->populated, whose size is pcpu_unit_pages, bitmap. \nSince bit N in chunk->populated means page offset N inside every unit is\nbacked.  When nr_units > 1, the function writes beyond chunk->populated. \nFix it by using chunk->nr_pages.\n\nIt also fixes the global pcpu_nr_empty_pop_pages accounting, since\npcpu_balance_free() only iterates up to chunk->nr_pages.\n\nCommit a63d4ac4ab609 (\"percpu: make percpu-km set chunk->populated bitmap\nproperly\") introduced the bitmap overflow issue.  Later, commit\nb539b87fed37f (\"percpu: implmeent pcpu_nr_empty_pop_pages and\nchunk->nr_populated\") added pcpu_nr_empty_pop_pages and caused the\naccounting issue.","source":"cvelist"}],"published":"2026-08-28T06:53:15.490Z","modified":"2026-08-29T07:16:53.323Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"a63d4ac4ab6094c051a5a240260d16117a7a2f86","fixed":"5f43d2c1bea280dcdfabaf156c25e7402fb8039f","status":"affected"},{"type":"git","introduced":"a63d4ac4ab6094c051a5a240260d16117a7a2f86","fixed":"92c43ac3c2b09eb16162e8144e73c00b7c3e29d6","status":"affected"},{"type":"git","introduced":"a63d4ac4ab6094c051a5a240260d16117a7a2f86","fixed":"6fc7da2a052f2825fff785e860e67183f5acaaba","status":"affected"},{"type":"git","introduced":"a63d4ac4ab6094c051a5a240260d16117a7a2f86","fixed":"01504da375f5b19df195cb1cb1cf1dd184318f97","status":"affected"},{"type":"git","introduced":"a63d4ac4ab6094c051a5a240260d16117a7a2f86","fixed":"a6940b84c8c035da465b7165fdfcfb005545724e","status":"affected"},{"type":"git","introduced":"a63d4ac4ab6094c051a5a240260d16117a7a2f86","fixed":"32134cf9211b83bed9076d0739c5906fbea4c763","status":"affected"},{"type":"git","introduced":"a63d4ac4ab6094c051a5a240260d16117a7a2f86","fixed":"5c7fc39bf19abb38a996aaad77b3e3a8f48581c3","status":"affected"},{"type":"git","introduced":"a63d4ac4ab6094c051a5a240260d16117a7a2f86","fixed":"89b1b79c308818a715e75f28744b70d8940a07c9","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"3.18","status":"affected"},{"type":"semver","introduced":"0","fixed":"3.18","status":"unaffected"},{"type":"semver","introduced":"5.10.265","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.216","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.183","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.151","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.103","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.44","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.1.8","lastAffected":"7.1.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/5f43d2c1bea280dcdfabaf156c25e7402fb8039f","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/92c43ac3c2b09eb16162e8144e73c00b7c3e29d6","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6fc7da2a052f2825fff785e860e67183f5acaaba","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/01504da375f5b19df195cb1cb1cf1dd184318f97","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a6940b84c8c035da465b7165fdfcfb005545724e","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/32134cf9211b83bed9076d0739c5906fbea4c763","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5c7fc39bf19abb38a996aaad77b3e3a8f48581c3","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/89b1b79c308818a715e75f28744b70d8940a07c9","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-80718","url":"https://www.cve.org/CVERecord?id=CVE-2026-80718","licence":"CVE Terms of Use","modified":"2026-08-29T06:22:34.556Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-80718","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-80718","licence":"Public domain","modified":"2026-08-29T07:16:53.323Z"}],"updatedAt":"2026-11-25T22:59:35.625Z","epss":{"score":0.0012,"percentile":0.02031,"date":"2026-12-01T12:00:22.000Z"}}