CVE-2026-53076
JSON

7.1high

bpf: Fix OOB in pcpu_init_value

Severity
7.1high CVSS:3.1 by Linux
Exploit likelihood
0.12% (higher than 1% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

In the Linux kernel, the following vulnerability has been resolved: bpf: Fix OOB in pcpu_init_value An out-of-bounds read occurs when copying element from a BPF_MAP_TYPE_CGROUP_STORAGE map to another pcpu map with the same value_size that is not rounded up to 8 bytes. The issue happens when: 1. A CGROUP_STORAGE map is created with value_size not aligned to 8 bytes (e.g., 4 bytes) 2. A pcpu map is created with the same value_size (e.g., 4 bytes) 3. Update element in 2 with data in 1 pcpu_init_value assumes that all sources are rounded up to 8 bytes, and invokes copy_map_value_long to make a data copy, However, the assumption doesn't stand since there are some cases where the source may not be rounded up to 8 bytes, e.g., CGROUP_STORAGE, skb->data. the verifier verifies exactly the size that the source claims, not the size rounded up to 8 bytes by kernel, an OOB happens when the source has only 4 bytes while the copy size(4) is rounded up to 8.

Affected

Product or packageVersionsReported by
Linux Linuxfrom d3bec0138bfbe58606fc1d6f57a4cdc1a20218db before d138ea2fe01c254413d5a6104eb236e0d5c7dd9a, from d3bec0138bfbe58606fc1d6f57a4cdc1a20218db before e19c5ed9f1922a6854073f8651a63fa7be26e9e9, from d3bec0138bfbe58606fc1d6f57a4cdc1a20218db before e0378419b0e20178b5d100b27c9cc7e51064202e, from d3bec0138bfbe58606fc1d6f57a4cdc1a20218db before 6086079e6d1c32ba4c4b422612b8aebb1129a96c, from d3bec0138bfbe58606fc1d6f57a4cdc1a20218db before 634a793d0e1c822412095d25a1338f8831ad894c, from d3bec0138bfbe58606fc1d6f57a4cdc1a20218db before 576afddfee8d1108ee299bf10f581593540d1a36, c602ad2b52dcbca5af08e5137bd5575c039b52e3, ab68b940dd6f7b5f8e2557937162dcb8a0583a05 and 3 more
Not affected: before 5.10, from 6.1.191 up to 6.1.*, from 6.6.141 up to 6.6.*, from 6.12.91 up to 6.12.*, from 6.18.33 up to 6.18.*, from 7.0.10 up to 7.0.*
CVE List
linux linux_kernelfrom 5.4.78 before 5.5, from 5.9.9 before 5.10, from 5.10.1 before 6.6.141, from 6.7 before 6.12.91, from 6.13 before 6.18.33, from 6.19 before 7.0.10, 5.10NVD

Classification

CWE-125

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-53076 changed 2026-10-30CVE Terms of Use
NVDCVE-2026-53076 changed 2026-10-30Public domain