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

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

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.
Published: 2026-08-28
Score: n/a
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability resides in the Linux kernel's per‑CPU memory allocator. During chunk allocation, the function pcpu_create_chunk() uses the total page count to set a bitmap that should only track a single unit's pages. When more than one unit is allocated, the bitmap is written beyond its bounds, corrupting adjacent kernel memory. This corruption can potentially overwrite critical data structures, allowing a local attacker to gain elevated privileges or force a system crash.

Affected Systems

All Linux kernel releases that contain the buggy percpu‑km implementation but have not yet incorporated the fix installed in the commit that corrects the bitmap handling. The advisory does not specify exact kernel versions, so any host running a kernel built before the patching commit is considered potentially vulnerable.

Risk and Exploitability

The patch is not listed in the CISA KEV catalog and the EPSS score is not available, so a baseline probability of exploitation cannot be quantified. The flaw requires an attacker to trigger per‑CPU memory allocation inside the kernel, implying a local or compromised privilege attack vector. If exploited, the buffer overflow could lead to privilege escalation or denial of service; therefore the theoretical severity is high but realistic exploitation depends on the attacker's ability to trigger the flawed allocation.

Generated by OpenCVE AI on August 28, 2026 at 10:52 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the kernel to a version that includes the reported fix (any release after the commit that corrects the bitmap handling).
  • Reboot the system to load the updated kernel and reset all per‑CPU data structures.
  • Monitor kernel logs and system stability for signs of unexpected crashes or security events that might indicate residual corruption.

Generated by OpenCVE AI on August 28, 2026 at 10:52 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 28 Aug 2026 11:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-119
CWE-787

Fri, 28 Aug 2026 07:30:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: mm/percpu-km: fix bitmap overflow and accounting in pcpu_create_chunk() 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.
Title mm/percpu-km: fix bitmap overflow and accounting in pcpu_create_chunk()
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-08-28T06:53:15.490Z

Reserved: 2026-08-26T14:34:25.788Z

Link: CVE-2026-80718

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-28T08:16:57.563

Modified: 2026-08-28T08:16:57.563

Link: CVE-2026-80718

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-28T11:00:11Z

Weaknesses
  • CWE-119

    Improper Restriction of Operations within the Bounds of a Memory Buffer

  • CWE-787

    Out-of-bounds Write