Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2025-38502

published high CVSS 3.1 · 7.8

bpf: Fix oob access in cgroup local storage

Published
16 Aug 2025, 09:34:25 UTC
Updated
15 Oct 2026, 21:52:17 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux7d9c3427894fe70d1347b4820476bf37736d2ff0 to < c1c74584b9b4043c52e41fec415226e582d266a3 · 7d9c3427894fe70d1347b4820476bf37736d2ff0 to < 66da7cee78590259b400e51a70622ccd41da7bb2 · 7d9c3427894fe70d1347b4820476bf37736d2ff0 to < 7acfa07c585e3d7a64654d38f0a5c762877d0b9b · 7d9c3427894fe70d1347b4820476bf37736d2ff0 to < 41688d1fc5d163a6c2c0e95c0419e2cb31a44648 · 7d9c3427894fe70d1347b4820476bf37736d2ff0 to < 19341d5c59e8c7e8528e40f8663e99d67810473c · 7d9c3427894fe70d1347b4820476bf37736d2ff0 to < abad3d0bad72a52137e0c350c59542d75ae4f513 · Other versions: unaffected Affected Not stated Linux
Linux — Linux5.9 (affected) · 0 to < 5.9 (unaffected · semver) · 5.15.192 through 5.15.* (unaffected · semver) · 6.1.151 through 6.1.* (unaffected · semver) · 6.6.105 through 6.6.* (unaffected · semver) · 6.12.46 through 6.12.* (unaffected · semver) · 6.16.1 through 6.16.* (unaffected · semver) · 6.17 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Siemens — SIMATIC CN 41000 to < V5.0 · Other versions: unknown Affected Not stated siemens-SADP
Amazon Linux AL2 Release evaluation Not Affected; No Fix Planned Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.15-2025-091 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluationALAS2023-2025-1208 Fixed Not stated Amazon Linux assessment
Debian bookworm linux Advisory build 6.1.153-1 DSA-6009-1
Oracle Linux 10 kernel-uekaarch64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Show 99 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Amazon Linux AL2023 Release evaluationALAS2023-2025-1210 Fixed Not stated Amazon Linux assessment
Debian bullseye linux-6.1 Advisory build 6.1.153-1~deb11u1 DLA-4328-1
Debian trixie linux Advisory build 6.12.48-1 DSA-6008-1
Oracle Linux 10 kernel-uekx86_64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-coreaarch64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-corex86_64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-debugaarch64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-debugx86_64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-debug-coreaarch64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-debug-corex86_64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-debug-develaarch64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-debug-develx86_64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-debug-modulesaarch64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-debug-modulesx86_64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-debug-modules-coreaarch64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-debug-modules-corex86_64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-debug-modules-deprecatedaarch64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-debug-modules-deprecatedx86_64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-debug-modules-desktopaarch64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-debug-modules-desktopx86_64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-debug-modules-extraaarch64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-debug-modules-extrax86_64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-debug-modules-extra-netfilteraarch64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-debug-modules-extra-netfilterx86_64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-debug-modules-usbaarch64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-debug-modules-usbx86_64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-debug-modules-wirelessaarch64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-debug-modules-wirelessx86_64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-develaarch64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-develx86_64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-docx86_64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-modulesaarch64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-modulesx86_64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-modules-coreaarch64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-modules-corex86_64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-modules-deprecatedaarch64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-modules-deprecatedx86_64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-modules-desktopaarch64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-modules-desktopx86_64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-modules-extraaarch64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-modules-extrax86_64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-modules-extra-netfilteraarch64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-modules-extra-netfilterx86_64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-modules-usbaarch64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-modules-usbx86_64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-modules-wirelessaarch64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-modules-wirelessx86_64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-toolsaarch64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-toolsx86_64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek64kaarch64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek64k-coreaarch64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek64k-develaarch64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek64k-modulesaarch64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek64k-modules-coreaarch64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek64k-modules-deprecatedaarch64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek64k-modules-desktopaarch64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek64k-modules-extraaarch64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek64k-modules-extra-netfilteraarch64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek64k-modules-usbaarch64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek64k-modules-wirelessaarch64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 8 bpftoolaarch64 Advisory build 0:5.15.0-314.193.5.3.el8uek ELSA-2025-25757
Oracle Linux 8 bpftoolx86_64 Advisory build 0:5.15.0-314.193.5.3.el8uek ELSA-2025-25757
Oracle Linux 8 kernel-uekaarch64 Advisory build 0:5.15.0-314.193.5.3.el8uek ELSA-2025-25757
Oracle Linux 8 kernel-uekx86_64 Advisory build 0:5.15.0-314.193.5.3.el8uek ELSA-2025-25757
Oracle Linux 8 kernel-uek-containeraarch64 Advisory build 0:5.15.0-314.193.5.3.el8uek ELSA-2025-25757
Oracle Linux 8 kernel-uek-containerx86_64 Advisory build 0:5.15.0-314.193.5.3.el8uek ELSA-2025-25757
Oracle Linux 8 kernel-uek-container-debugaarch64 Advisory build 0:5.15.0-314.193.5.3.el8uek ELSA-2025-25757
Oracle Linux 8 kernel-uek-container-debugx86_64 Advisory build 0:5.15.0-314.193.5.3.el8uek ELSA-2025-25757
Oracle Linux 8 kernel-uek-coreaarch64 Advisory build 0:5.15.0-314.193.5.3.el8uek ELSA-2025-25757
Oracle Linux 8 kernel-uek-corex86_64 Advisory build 0:5.15.0-314.193.5.3.el8uek ELSA-2025-25757
Oracle Linux 8 kernel-uek-debugaarch64 Advisory build 0:5.15.0-314.193.5.3.el8uek ELSA-2025-25757
Oracle Linux 8 kernel-uek-debugx86_64 Advisory build 0:5.15.0-314.193.5.3.el8uek ELSA-2025-25757
Oracle Linux 8 kernel-uek-debug-coreaarch64 Advisory build 0:5.15.0-314.193.5.3.el8uek ELSA-2025-25757
Oracle Linux 8 kernel-uek-debug-corex86_64 Advisory build 0:5.15.0-314.193.5.3.el8uek ELSA-2025-25757
Oracle Linux 8 kernel-uek-debug-develaarch64 Advisory build 0:5.15.0-314.193.5.3.el8uek ELSA-2025-25757
Oracle Linux 8 kernel-uek-debug-develx86_64 Advisory build 0:5.15.0-314.193.5.3.el8uek ELSA-2025-25757
Oracle Linux 8 kernel-uek-debug-modulesaarch64 Advisory build 0:5.15.0-314.193.5.3.el8uek ELSA-2025-25757
Oracle Linux 8 kernel-uek-debug-modulesx86_64 Advisory build 0:5.15.0-314.193.5.3.el8uek ELSA-2025-25757
Oracle Linux 8 kernel-uek-debug-modules-extraaarch64 Advisory build 0:5.15.0-314.193.5.3.el8uek ELSA-2025-25757
Oracle Linux 8 kernel-uek-debug-modules-extrax86_64 Advisory build 0:5.15.0-314.193.5.3.el8uek ELSA-2025-25757
Oracle Linux 8 kernel-uek-develaarch64 Advisory build 0:5.15.0-314.193.5.3.el8uek ELSA-2025-25757
Oracle Linux 8 kernel-uek-develx86_64 Advisory build 0:5.15.0-314.193.5.3.el8uek ELSA-2025-25757
Oracle Linux 8 kernel-uek-docaarch64 Advisory build 0:5.15.0-314.193.5.3.el8uek ELSA-2025-25757
Oracle Linux 8 kernel-uek-docx86_64 Advisory build 0:5.15.0-314.193.5.3.el8uek ELSA-2025-25757
Oracle Linux 8 kernel-uek-modulesaarch64 Advisory build 0:5.15.0-314.193.5.3.el8uek ELSA-2025-25757
Oracle Linux 8 kernel-uek-modulesx86_64 Advisory build 0:5.15.0-314.193.5.3.el8uek ELSA-2025-25757
Oracle Linux 8 kernel-uek-modules-extraaarch64 Advisory build 0:5.15.0-314.193.5.3.el8uek ELSA-2025-25757
Oracle Linux 8 kernel-uek-modules-extrax86_64 Advisory build 0:5.15.0-314.193.5.3.el8uek ELSA-2025-25757
Oracle Linux 9 bpftoolaarch64 Advisory build 0:5.15.0-314.193.5.3.el9uek ELSA-2025-25757
Oracle Linux 9 bpftoolx86_64 Advisory build 0:5.15.0-314.193.5.3.el9uek ELSA-2025-25757
Oracle Linux 9 kernel-uekaarch64 Advisory build 0:5.15.0-314.193.5.3.el9uek ELSA-2025-25757
Oracle Linux 9 kernel-uekaarch64 Advisory build 0:6.12.0-105.51.5.el9uek ELSA-2025-25754
Oracle Linux 9 kernel-uekx86_64 Advisory build 0:5.15.0-314.193.5.3.el9uek ELSA-2025-25757
Oracle Linux 9 kernel-uekx86_64 Advisory build 0:6.12.0-105.51.5.el9uek ELSA-2025-25754
Oracle Linux 9 kernel-uek-containeraarch64 Advisory build 0:5.15.0-314.193.5.3.el9uek ELSA-2025-25757
Oracle Linux 9 kernel-uek-containerx86_64 Advisory build 0:5.15.0-314.193.5.3.el9uek ELSA-2025-25757
Oracle Linux 9 kernel-uek-container-debugaarch64 Advisory build 0:5.15.0-314.193.5.3.el9uek ELSA-2025-25757
Oracle Linux 9 kernel-uek-container-debugx86_64 Advisory build 0:5.15.0-314.193.5.3.el9uek ELSA-2025-25757
Oracle Linux 9 kernel-uek-coreaarch64 Advisory build 0:5.15.0-314.193.5.3.el9uek ELSA-2025-25757

Package entries are limited to the first 100 builds and 100 linked advisories.

Description

In the Linux kernel, the following vulnerability has been resolved: bpf: Fix oob access in cgroup local storage Lonial reported that an out-of-bounds access in cgroup local storage can be crafted via tail calls. Given two programs each utilizing a cgroup local storage with a different value size, and one program doing a tail call into the other. The verifier will validate each of the indivial programs just fine. However, in the runtime context the bpf_cg_run_ctx holds an bpf_prog_array_item which contains the BPF program as well as any cgroup local storage flavor the program uses. Helpers such as bpf_get_local_storage() pick this up from the runtime context: ctx = container_of(current->bpf_ctx, struct bpf_cg_run_ctx, run_ctx); storage = ctx->prog_item->cgroup_storage[stype]; if (stype == BPF_CGROUP_STORAGE_SHARED) ptr = &READ_ONCE(storage->buf)->data[0]; else ptr = this_cpu_ptr(storage->percpu_buf); For the second program which was called from the originally attached one, this means bpf_get_local_storage() will pick up the former program's map, not its own. With mismatching sizes, this can result in an unintended out-of-bounds access. To fix this issue, we need to extend bpf_map_owner with an array of storage_cookie[] to match on i) the exact maps from the original program if the second program was using bpf_get_local_storage(), or ii) allow the tail call combination if the second program was not using any of the cgroup local storage maps.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

32

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.8 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: AV:L - The vulnerability is reached through the bpf() syscall (loading maps/programs and invoking them via BPF_PROG_TEST_RUN or an attached hook), which requires local access to the system. AC:L - Exploitation is fully deterministic — the attacker crafts both programs, chooses the mismatched storage value sizes, and controls the tail-call chain; there is no race or attacker-uncontrolled condition. PR:L - The cgroup-storage maps, the prog-array, and the CGROUP_SKB program are all creatable/loadable without CAP_BPF, and BPF_PROG_TEST_RUN executes them with no capability check, so a basic unprivileged local user can trigger it on a kernel with unprivileged BPF enabled. UI:N - The attacker loads and runs the BPF programs itself; no action by any other user is required. S:U - The out-of-bounds access corrupts kernel heap memory within the same kernel security authority; it does not cross a VM, IOMMU, or sandbox boundary. C:H - The mismatched sizes yield a controllable out-of-bounds read of adjacent kernel heap memory (bpf_get_local_storage returns a map-value pointer read by the program), enabling disclosure of sensitive kernel data. I:H - The returned pointer is a writable RET_PTR_TO_MAP_VALUE, so program B writes past A's smaller buffer, giving a controllable heap out-of-bounds write suitable for corruption and privilege escalation. A:H - The out-of-bounds heap read/write readily corrupts adjacent kernel structures, causing oops/panic and denial of service.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 7d9c3427894fe70d1347b4820476bf37736d2ff0 to < c1c74584b9b4043c52e41fec415226e582d266a3 (affected · git)7d9c3427894fe70d1347b4820476bf37736d2ff0 to < 66da7cee78590259b400e51a70622ccd41da7bb2 (affected · git)7d9c3427894fe70d1347b4820476bf37736d2ff0 to < 7acfa07c585e3d7a64654d38f0a5c762877d0b9b (affected · git)7d9c3427894fe70d1347b4820476bf37736d2ff0 to < 41688d1fc5d163a6c2c0e95c0419e2cb31a44648 (affected · git)7d9c3427894fe70d1347b4820476bf37736d2ff0 to < 19341d5c59e8c7e8528e40f8663e99d67810473c (affected · git)7d9c3427894fe70d1347b4820476bf37736d2ff0 to < abad3d0bad72a52137e0c350c59542d75ae4f513 (affected · git)Default: unaffected Linux · cna
Linux Linux 5.9 (affected)0 to < 5.9 (unaffected · semver)5.15.192 through 5.15.* (unaffected · semver)6.1.151 through 6.1.* (unaffected · semver)6.6.105 through 6.6.* (unaffected · semver)6.12.46 through 6.12.* (unaffected · semver)6.16.1 through 6.16.* (unaffected · semver)6.17 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna
Siemens SIMATIC CN 4100 0 to < V5.0 (affected · custom)Default: unknown siemens-SADP · adp

Weaknesses

0

No weakness assertions.

References

8

Provider assertions

4

Linux · cna

bpf: Fix oob access in cgroup local storage

siemens-SADP · adp

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.2
Searchable
yes
Content hash
f03683be4354dbc8251db8d80bdf0fa8ab0a22f8db77c27832b5ba26955e3c3e
Ingested
15 Oct 2026, 23:26:24 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected