CVE-2026-53076 (GCVE-0-2026-53076)
Vulnerability from cvelistv5
Published
2026-06-24 16:30
Modified
2026-08-05 12:33
Summary
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.
Impacted products
Vendor Product Version
Linux Linux Version: d3bec0138bfbe58606fc1d6f57a4cdc1a20218db
Version: d3bec0138bfbe58606fc1d6f57a4cdc1a20218db
Version: d3bec0138bfbe58606fc1d6f57a4cdc1a20218db
Version: d3bec0138bfbe58606fc1d6f57a4cdc1a20218db
Version: d3bec0138bfbe58606fc1d6f57a4cdc1a20218db
Version: c602ad2b52dcbca5af08e5137bd5575c039b52e3
Version: ab68b940dd6f7b5f8e2557937162dcb8a0583a05
Version: 5.4.78   
Version: 5.9.9   
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "kernel/bpf/hashtab.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "e19c5ed9f1922a6854073f8651a63fa7be26e9e9",
              "status": "affected",
              "version": "d3bec0138bfbe58606fc1d6f57a4cdc1a20218db",
              "versionType": "git"
            },
            {
              "lessThan": "e0378419b0e20178b5d100b27c9cc7e51064202e",
              "status": "affected",
              "version": "d3bec0138bfbe58606fc1d6f57a4cdc1a20218db",
              "versionType": "git"
            },
            {
              "lessThan": "6086079e6d1c32ba4c4b422612b8aebb1129a96c",
              "status": "affected",
              "version": "d3bec0138bfbe58606fc1d6f57a4cdc1a20218db",
              "versionType": "git"
            },
            {
              "lessThan": "634a793d0e1c822412095d25a1338f8831ad894c",
              "status": "affected",
              "version": "d3bec0138bfbe58606fc1d6f57a4cdc1a20218db",
              "versionType": "git"
            },
            {
              "lessThan": "576afddfee8d1108ee299bf10f581593540d1a36",
              "status": "affected",
              "version": "d3bec0138bfbe58606fc1d6f57a4cdc1a20218db",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "c602ad2b52dcbca5af08e5137bd5575c039b52e3",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "ab68b940dd6f7b5f8e2557937162dcb8a0583a05",
              "versionType": "git"
            },
            {
              "lessThan": "5.5",
              "status": "affected",
              "version": "5.4.78",
              "versionType": "semver"
            },
            {
              "lessThan": "5.10",
              "status": "affected",
              "version": "5.9.9",
              "versionType": "semver"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "kernel/bpf/hashtab.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "5.10"
            },
            {
              "lessThan": "5.10",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.141",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.91",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.33",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.0.*",
              "status": "unaffected",
              "version": "7.0.10",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.1",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.141",
                  "versionStartIncluding": "5.10",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.91",
                  "versionStartIncluding": "5.10",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.33",
                  "versionStartIncluding": "5.10",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.0.10",
                  "versionStartIncluding": "5.10",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.1",
                  "versionStartIncluding": "5.10",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionStartIncluding": "5.4.78",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionStartIncluding": "5.9.9",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Fix OOB in pcpu_init_value\n\nAn out-of-bounds read occurs when copying element from a\nBPF_MAP_TYPE_CGROUP_STORAGE map to another pcpu map with the\nsame value_size that is not rounded up to 8 bytes.\n\nThe issue happens when:\n1. A CGROUP_STORAGE map is created with value_size not aligned to\n   8 bytes (e.g., 4 bytes)\n2. A pcpu map is created with the same value_size (e.g., 4 bytes)\n3. Update element in 2 with data in 1\n\npcpu_init_value assumes that all sources are rounded up to 8 bytes,\nand invokes copy_map_value_long to make a data copy, However, the\nassumption doesn\u0027t stand since there are some cases where the source\nmay not be rounded up to 8 bytes, e.g., CGROUP_STORAGE, skb-\u003edata.\nthe verifier verifies exactly the size that the source claims, not\nthe size rounded up to 8 bytes by kernel, an OOB happens when the\nsource has only 4 bytes while the copy size(4) is rounded up to 8."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 7.1,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H",
            "version": "3.1"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "AV:L - The vulnerable path is reached through local `bpf(2)` activity: creating BPF maps, loading a BPF program, and invoking `bpf_map_update_elem()` from that program. It is not directly reachable by remote packets without a local attacker-controlled BPF program already installed.\nAC:L - The trigger is deterministic: use a non-8-byte-aligned value size and pass a verifier-valid source buffer into a per-CPU hash update that previously copied the rounded-up size. No race or attacker-external timing condition is required.\nPR:L - A basic local user can reach the most severe reasonable case on systems where unprivileged BPF is enabled, including via socket-filter BPF and packet data sources; otherwise it requires BPF-related capabilities. Under the required higher-severity rule, this is PR:L rather than PR:H.\nUI:N - After the local attacker loads the BPF program and creates the maps, exploitation requires no victim action. The attacker triggers the helper path directly.\nS:U - The affected component and impacted resources are within the same kernel security authority. This is not a VM escape, IOMMU bypass, or cross-scope boundary violation.\nC:H - The bug is an out-of-bounds kernel read whose extra bytes are copied into per-CPU map padding that can be returned through per-CPU map lookup paths. Even though each read is small, repeated attacker-controlled executions can disclose kernel memory, so the higher severity confidentiality value is warranted.\nI:N - The faulty copy writes only into the destination per-CPU map slot\u0027s allocated rounded padding, not past the allocated destination or into security-relevant map value bytes. I found no path turning this into attacker-controlled kernel data modification or control-flow corruption.\nA:H - The reported reproducer is a KASAN slab-out-of-bounds read in a deterministic BPF helper path, and such reachable kernel OOB reads can oops or panic on hardened/sanitized or unlucky layouts. Following the kernel scoring guidance and higher-severity rule, availability is H."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-08-05T12:33:09.042Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/e19c5ed9f1922a6854073f8651a63fa7be26e9e9"
        },
        {
          "url": "https://git.kernel.org/stable/c/e0378419b0e20178b5d100b27c9cc7e51064202e"
        },
        {
          "url": "https://git.kernel.org/stable/c/6086079e6d1c32ba4c4b422612b8aebb1129a96c"
        },
        {
          "url": "https://git.kernel.org/stable/c/634a793d0e1c822412095d25a1338f8831ad894c"
        },
        {
          "url": "https://git.kernel.org/stable/c/576afddfee8d1108ee299bf10f581593540d1a36"
        }
      ],
      "title": "bpf: Fix OOB in pcpu_init_value",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-53076",
    "datePublished": "2026-06-24T16:30:17.092Z",
    "dateReserved": "2026-06-09T07:44:35.383Z",
    "dateUpdated": "2026-08-05T12:33:09.042Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…