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-2026-98376

published high CVSS 3.1 · 7.8

bpf: Use array_map_meta_equal for percpu array inner map replacement

Published
09 Oct 2026, 07:34:17 UTC
Updated
24 Oct 2026, 14:08:36 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linuxdb69718b8efac802c7cc20d5a6c7dfc913f99c43 to < 593980175389a05793f6060aa20e626330960395 · Other versions: unaffected Affected Not stated Linux
Linux — Linux6.10 (affected) · 0 to < 6.10 (unaffected · semver) · 7.1 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluationALAS2023-2026-3335 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluationALAS2023-2026-3390 Fixed Not stated Amazon Linux assessment
SUSE / openSUSE SLE-16 cluster-md-kmp-defaultppc64le Advisory build 6.12.0-160000.41.1 SUSE-SU-2026:24651-1
SUSE / openSUSE SLE-16 cluster-md-kmp-defaultppc64le Advisory build 6.12.0-160000.41.1 SUSE-SU-2026:24662-1
Show 98 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
SUSE / openSUSE SLE-16 cluster-md-kmp-defaults390x Advisory build 6.12.0-160000.41.1 SUSE-SU-2026:24651-1
SUSE / openSUSE SLE-16 cluster-md-kmp-defaultx86_64 Advisory build 6.12.0-160000.41.1 SUSE-SU-2026:24651-1
SUSE / openSUSE SLE-16 cluster-md-kmp-defaultx86_64 Advisory build 6.12.0-160000.41.1 SUSE-SU-2026:24662-1
SUSE / openSUSE SLE-16 dlm-kmp-defaultppc64le Advisory build 6.12.0-160000.41.1 SUSE-SU-2026:24651-1
SUSE / openSUSE SLE-16 dlm-kmp-defaultppc64le Advisory build 6.12.0-160000.41.1 SUSE-SU-2026:24662-1
SUSE / openSUSE SLE-16 dlm-kmp-defaults390x Advisory build 6.12.0-160000.41.1 SUSE-SU-2026:24651-1
SUSE / openSUSE SLE-16 dlm-kmp-defaultx86_64 Advisory build 6.12.0-160000.41.1 SUSE-SU-2026:24651-1
SUSE / openSUSE SLE-16 dlm-kmp-defaultx86_64 Advisory build 6.12.0-160000.41.1 SUSE-SU-2026:24662-1
SUSE / openSUSE SLE-16 gfs2-kmp-defaultppc64le Advisory build 6.12.0-160000.41.1 SUSE-SU-2026:24651-1
SUSE / openSUSE SLE-16 gfs2-kmp-defaultppc64le Advisory build 6.12.0-160000.41.1 SUSE-SU-2026:24662-1
SUSE / openSUSE SLE-16 gfs2-kmp-defaults390x Advisory build 6.12.0-160000.41.1 SUSE-SU-2026:24651-1
SUSE / openSUSE SLE-16 gfs2-kmp-defaultx86_64 Advisory build 6.12.0-160000.41.1 SUSE-SU-2026:24651-1
SUSE / openSUSE SLE-16 gfs2-kmp-defaultx86_64 Advisory build 6.12.0-160000.41.1 SUSE-SU-2026:24662-1
SUSE / openSUSE SLE-16 kernel-64kbaarch64 Advisory build 6.12.0-160000.41.1 SUSE-SU-2026:24662-1
SUSE / openSUSE SLE-16 kernel-64kb-develaarch64 Advisory build 6.12.0-160000.41.1 SUSE-SU-2026:24662-1
SUSE / openSUSE SLE-16 kernel-64kb-extraaarch64 Advisory build 6.12.0-160000.41.1 SUSE-SU-2026:24662-1
SUSE / openSUSE SLE-16 kernel-azureaarch64 Advisory build 6.12.0-160000.41.1 SUSE-SU-2026:24662-1
SUSE / openSUSE SLE-16 kernel-azurex86_64 Advisory build 6.12.0-160000.41.1 SUSE-SU-2026:24662-1
SUSE / openSUSE SLE-16 kernel-azure-develaarch64 Advisory build 6.12.0-160000.41.1 SUSE-SU-2026:24662-1
SUSE / openSUSE SLE-16 kernel-azure-develx86_64 Advisory build 6.12.0-160000.41.1 SUSE-SU-2026:24662-1
SUSE / openSUSE SLE-16 kernel-azure-extraaarch64 Advisory build 6.12.0-160000.41.1 SUSE-SU-2026:24662-1
SUSE / openSUSE SLE-16 kernel-azure-extrax86_64 Advisory build 6.12.0-160000.41.1 SUSE-SU-2026:24662-1
SUSE / openSUSE SLE-16 kernel-azure-vdsox86_64 Advisory build 6.12.0-160000.41.1 SUSE-SU-2026:24662-1
SUSE / openSUSE SLE-16 kernel-defaultaarch64 Advisory build 6.12.0-160000.41.1 SUSE-SU-2026:24662-1
SUSE / openSUSE SLE-16 kernel-defaultppc64le Advisory build 6.12.0-160000.41.1 SUSE-SU-2026:24662-1
SUSE / openSUSE SLE-16 kernel-defaults390x Advisory build 6.12.0-160000.41.1 SUSE-SU-2026:24662-1
SUSE / openSUSE SLE-16 kernel-defaultx86_64 Advisory build 6.12.0-160000.41.1 SUSE-SU-2026:24662-1
SUSE / openSUSE SLE-16 kernel-default-baseaarch64 Advisory build 6.12.0-160000.41.1.160000.2.32 SUSE-SU-2026:24662-1
SUSE / openSUSE SLE-16 kernel-default-baseppc64le Advisory build 6.12.0-160000.41.1.160000.2.32 SUSE-SU-2026:24662-1
SUSE / openSUSE SLE-16 kernel-default-basex86_64 Advisory build 6.12.0-160000.41.1.160000.2.32 SUSE-SU-2026:24662-1
SUSE / openSUSE SLE-16 kernel-default-develaarch64 Advisory build 6.12.0-160000.41.1 SUSE-SU-2026:24662-1
SUSE / openSUSE SLE-16 kernel-default-develppc64le Advisory build 6.12.0-160000.41.1 SUSE-SU-2026:24662-1
SUSE / openSUSE SLE-16 kernel-default-devels390x Advisory build 6.12.0-160000.41.1 SUSE-SU-2026:24662-1
SUSE / openSUSE SLE-16 kernel-default-develx86_64 Advisory build 6.12.0-160000.41.1 SUSE-SU-2026:24662-1
SUSE / openSUSE SLE-16 kernel-default-extraaarch64 Advisory build 6.12.0-160000.41.1 SUSE-SU-2026:24662-1
SUSE / openSUSE SLE-16 kernel-default-extrappc64le Advisory build 6.12.0-160000.41.1 SUSE-SU-2026:24662-1
SUSE / openSUSE SLE-16 kernel-default-extras390x Advisory build 6.12.0-160000.41.1 SUSE-SU-2026:24662-1
SUSE / openSUSE SLE-16 kernel-default-extrax86_64 Advisory build 6.12.0-160000.41.1 SUSE-SU-2026:24662-1
SUSE / openSUSE SLE-16 kernel-default-livepatchppc64le Advisory build 6.12.0-160000.41.1 SUSE-SU-2026:24662-1
SUSE / openSUSE SLE-16 kernel-default-livepatchs390x Advisory build 6.12.0-160000.41.1 SUSE-SU-2026:24662-1
SUSE / openSUSE SLE-16 kernel-default-livepatchx86_64 Advisory build 6.12.0-160000.41.1 SUSE-SU-2026:24662-1
SUSE / openSUSE SLE-16 kernel-default-vdsox86_64 Advisory build 6.12.0-160000.41.1 SUSE-SU-2026:24662-1
SUSE / openSUSE SLE-16 kernel-develnoarch Advisory build 6.12.0-160000.41.1 SUSE-SU-2026:24662-1
SUSE / openSUSE SLE-16 kernel-devel-nvidianoarch Advisory build 6.12.0-160100.7.1 SUSE-SU-2026:24705-1
SUSE / openSUSE SLE-16 kernel-docsnoarch Advisory build 6.12.0-160000.41.1 SUSE-SU-2026:24662-1
SUSE / openSUSE SLE-16 kernel-docs-htmlnoarch Advisory build 6.12.0-160000.41.1 SUSE-SU-2026:24662-1
SUSE / openSUSE SLE-16 kernel-kvmsmallaarch64 Advisory build 6.12.0-160000.41.1 SUSE-SU-2026:24662-1
SUSE / openSUSE SLE-16 kernel-kvmsmallppc64le Advisory build 6.12.0-160000.41.1 SUSE-SU-2026:24662-1
SUSE / openSUSE SLE-16 kernel-kvmsmallx86_64 Advisory build 6.12.0-160000.41.1 SUSE-SU-2026:24662-1
SUSE / openSUSE SLE-16 kernel-kvmsmall-develaarch64 Advisory build 6.12.0-160000.41.1 SUSE-SU-2026:24662-1
SUSE / openSUSE SLE-16 kernel-kvmsmall-develppc64le Advisory build 6.12.0-160000.41.1 SUSE-SU-2026:24662-1
SUSE / openSUSE SLE-16 kernel-kvmsmall-develx86_64 Advisory build 6.12.0-160000.41.1 SUSE-SU-2026:24662-1
SUSE / openSUSE SLE-16 kernel-kvmsmall-vdsox86_64 Advisory build 6.12.0-160000.41.1 SUSE-SU-2026:24662-1
SUSE / openSUSE SLE-16 kernel-macrosnoarch Advisory build 6.12.0-160000.41.1 SUSE-SU-2026:24662-1
SUSE / openSUSE SLE-16 kernel-nvidia64kbaarch64 Advisory build 6.12.0-160100.7.1 SUSE-SU-2026:24705-1
SUSE / openSUSE SLE-16 kernel-nvidia64kb-develaarch64 Advisory build 6.12.0-160100.7.1 SUSE-SU-2026:24705-1
SUSE / openSUSE SLE-16 kernel-obs-qaaarch64 Advisory build 6.12.0-160000.41.1 SUSE-SU-2026:24662-1
SUSE / openSUSE SLE-16 kernel-obs-qappc64le Advisory build 6.12.0-160000.41.1 SUSE-SU-2026:24662-1
SUSE / openSUSE SLE-16 kernel-obs-qas390x Advisory build 6.12.0-160000.41.1 SUSE-SU-2026:24662-1
SUSE / openSUSE SLE-16 kernel-obs-qax86_64 Advisory build 6.12.0-160000.41.1 SUSE-SU-2026:24662-1
SUSE / openSUSE SLE-16 kernel-sourcenoarch Advisory build 6.12.0-160000.41.1 SUSE-SU-2026:24662-1
SUSE / openSUSE SLE-16 kernel-source-vanillanoarch Advisory build 6.12.0-160000.41.1 SUSE-SU-2026:24662-1
SUSE / openSUSE SLE-16 kernel-symsaarch64 Advisory build 6.12.0-160000.41.1 SUSE-SU-2026:24662-1
SUSE / openSUSE SLE-16 kernel-symsppc64le Advisory build 6.12.0-160000.41.1 SUSE-SU-2026:24662-1
SUSE / openSUSE SLE-16 kernel-symss390x Advisory build 6.12.0-160000.41.1 SUSE-SU-2026:24662-1
SUSE / openSUSE SLE-16 kernel-symsx86_64 Advisory build 6.12.0-160000.41.1 SUSE-SU-2026:24662-1
SUSE / openSUSE SLE-16 kernel-zfcpdumps390x Advisory build 6.12.0-160000.41.1 SUSE-SU-2026:24662-1
SUSE / openSUSE openSUSE-Leap-16.0 cluster-md-kmp-64kbaarch64 Advisory build 6.12.0-160000.41.1 OPENSUSE-SU-2026:22266-1
SUSE / openSUSE openSUSE-Leap-16.0 cluster-md-kmp-azureaarch64 Advisory build 6.12.0-160000.41.1 OPENSUSE-SU-2026:22266-1
SUSE / openSUSE openSUSE-Leap-16.0 cluster-md-kmp-azurex86_64 Advisory build 6.12.0-160000.41.1 OPENSUSE-SU-2026:22266-1
SUSE / openSUSE openSUSE-Leap-16.0 cluster-md-kmp-defaultaarch64 Advisory build 6.12.0-160000.41.1 OPENSUSE-SU-2026:22266-1
SUSE / openSUSE openSUSE-Leap-16.0 cluster-md-kmp-defaultppc64le Advisory build 6.12.0-160000.41.1 OPENSUSE-SU-2026:22266-1
SUSE / openSUSE openSUSE-Leap-16.0 cluster-md-kmp-defaults390x Advisory build 6.12.0-160000.41.1 OPENSUSE-SU-2026:22266-1
SUSE / openSUSE openSUSE-Leap-16.0 cluster-md-kmp-defaultx86_64 Advisory build 6.12.0-160000.41.1 OPENSUSE-SU-2026:22266-1
SUSE / openSUSE openSUSE-Leap-16.0 cluster-md-kmp-rtaarch64 Advisory build 6.12.0-160000.41.1 OPENSUSE-SU-2026:22266-1
SUSE / openSUSE openSUSE-Leap-16.0 cluster-md-kmp-rtx86_64 Advisory build 6.12.0-160000.41.1 OPENSUSE-SU-2026:22266-1
SUSE / openSUSE openSUSE-Leap-16.0 dlm-kmp-64kbaarch64 Advisory build 6.12.0-160000.41.1 OPENSUSE-SU-2026:22266-1
SUSE / openSUSE openSUSE-Leap-16.0 dlm-kmp-azureaarch64 Advisory build 6.12.0-160000.41.1 OPENSUSE-SU-2026:22266-1
SUSE / openSUSE openSUSE-Leap-16.0 dlm-kmp-azurex86_64 Advisory build 6.12.0-160000.41.1 OPENSUSE-SU-2026:22266-1
SUSE / openSUSE openSUSE-Leap-16.0 dlm-kmp-defaultaarch64 Advisory build 6.12.0-160000.41.1 OPENSUSE-SU-2026:22266-1
SUSE / openSUSE openSUSE-Leap-16.0 dlm-kmp-defaultppc64le Advisory build 6.12.0-160000.41.1 OPENSUSE-SU-2026:22266-1
SUSE / openSUSE openSUSE-Leap-16.0 dlm-kmp-defaults390x Advisory build 6.12.0-160000.41.1 OPENSUSE-SU-2026:22266-1
SUSE / openSUSE openSUSE-Leap-16.0 dlm-kmp-defaultx86_64 Advisory build 6.12.0-160000.41.1 OPENSUSE-SU-2026:22266-1
SUSE / openSUSE openSUSE-Leap-16.0 dlm-kmp-rtaarch64 Advisory build 6.12.0-160000.41.1 OPENSUSE-SU-2026:22266-1
SUSE / openSUSE openSUSE-Leap-16.0 dlm-kmp-rtx86_64 Advisory build 6.12.0-160000.41.1 OPENSUSE-SU-2026:22266-1
SUSE / openSUSE openSUSE-Leap-16.0 dtb-allwinneraarch64 Advisory build 6.12.0-160000.41.1 OPENSUSE-SU-2026:22266-1
SUSE / openSUSE openSUSE-Leap-16.0 dtb-alteraaarch64 Advisory build 6.12.0-160000.41.1 OPENSUSE-SU-2026:22266-1
SUSE / openSUSE openSUSE-Leap-16.0 dtb-amazonaarch64 Advisory build 6.12.0-160000.41.1 OPENSUSE-SU-2026:22266-1
SUSE / openSUSE openSUSE-Leap-16.0 dtb-amdaarch64 Advisory build 6.12.0-160000.41.1 OPENSUSE-SU-2026:22266-1
SUSE / openSUSE openSUSE-Leap-16.0 dtb-amlogicaarch64 Advisory build 6.12.0-160000.41.1 OPENSUSE-SU-2026:22266-1
SUSE / openSUSE openSUSE-Leap-16.0 dtb-apmaarch64 Advisory build 6.12.0-160000.41.1 OPENSUSE-SU-2026:22266-1
SUSE / openSUSE openSUSE-Leap-16.0 dtb-appleaarch64 Advisory build 6.12.0-160000.41.1 OPENSUSE-SU-2026:22266-1
SUSE / openSUSE openSUSE-Leap-16.0 dtb-armaarch64 Advisory build 6.12.0-160000.41.1 OPENSUSE-SU-2026:22266-1
SUSE / openSUSE openSUSE-Leap-16.0 dtb-broadcomaarch64 Advisory build 6.12.0-160000.41.1 OPENSUSE-SU-2026:22266-1
SUSE / openSUSE openSUSE-Leap-16.0 dtb-caviumaarch64 Advisory build 6.12.0-160000.41.1 OPENSUSE-SU-2026:22266-1
SUSE / openSUSE openSUSE-Leap-16.0 dtb-exynosaarch64 Advisory build 6.12.0-160000.41.1 OPENSUSE-SU-2026:22266-1
SUSE / openSUSE openSUSE-Leap-16.0 dtb-freescaleaarch64 Advisory build 6.12.0-160000.41.1 OPENSUSE-SU-2026:22266-1
SUSE / openSUSE openSUSE-Leap-16.0 dtb-hisiliconaarch64 Advisory build 6.12.0-160000.41.1 OPENSUSE-SU-2026:22266-1

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: Use array_map_meta_equal for percpu array inner map replacement percpu_array_map_ops.map_meta_equal points to the generic bpf_map_meta_equal(), which does not compare max_entries. When a percpu array serves as an inner map, replacing it with one that has fewer max_entries bypasses the check. Since percpu_array_map_gen_lookup() inlines the original template's index_mask as a JIT immediate, a lookup on the replacement map can access pptrs[] out of bounds. Point percpu_array_map_ops.map_meta_equal to array_map_meta_equal(), which already enforces the max_entries equality check. Add a selftest to verify that replacing a percpu array inner map with a differently-sized one is rejected.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

8

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 local bpf(BPF_MAP_UPDATE_ELEM) path reaches map_update_elem()->bpf_map_update_value()->bpf_fd_array_map_update_elem()->bpf_map_fd_get_ptr(), where the patched percpu_array_map_ops.map_meta_equal validates the replacement map; no network handler supplies its FD or dimensions. AC:L - The attacker chooses the template and replacement max_entries, lookup key, program, and trigger; an index below the template limit but beyond the replacement deterministically reads pptrs[] out of bounds. No race or other actor is required on a JIT-enabled x86-64 or arm64 target. PR:L - map_create() places PERCPU_ARRAY and ARRAY_OF_MAPS in its unprivileged branch, and bpf_prog_load() permits SOCKET_FILTER without CAP_BPF when unprivileged BPF is enabled; alternatively, a user-namespace BPF token satisfies the gates without init-namespace root. UI:N - The attacker creates and replaces the maps, loads the lookup program, attaches it through SO_ATTACH_BPF to their own socket, and sends the triggering data themselves; no victim action is needed. S:U - percpu_array_map_gen_lookup() converts the out-of-bounds pptrs[] slot into a pointer used against the same host kernel's memory; this is ordinary kernel privilege escalation, not a guest-to-host, IOMMU, or other security-authority crossing. C:H - percpu_array_map_gen_lookup() loads a 64-bit pptrs[index] out of bounds and returns its adjusted value as a verifier-trusted map-value pointer. Because bpf_map_area_alloc() kmallocs the flexible object, map spraying can place chosen bytes at that slot, enabling kernel reads copied into another map. I:H - The forged PTR_TO_MAP_VALUE is writable because default map flags grant BPF_MAP_CAN_WRITE; direct BPF stores through an attacker-groomed out-of-bounds pptrs[] value therefore provide an arbitrary kernel-write primitive suitable for control-flow hijacking. A:H - Without successful grooming, BPF_MOV64_PERCPU_REG adjusts the garbage pointer loaded beyond pptrs[] and the attacker's next value access dereferences it, causing a kernel oops or panic; the attacker can repeatedly run the same socket-filter program.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux db69718b8efac802c7cc20d5a6c7dfc913f99c43 to < 593980175389a05793f6060aa20e626330960395 (affected · git)Default: unaffected Linux · cna
Linux Linux 6.10 (affected)0 to < 6.10 (unaffected · semver)7.1 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

1

Provider assertions

1

Linux · cna

bpf: Use array_map_meta_equal for percpu array inner map replacement

Provenance

Schema
5.2
Searchable
yes
Content hash
acdd34753ad64dbe43a883600c05d2f57eca5e77962c9e75285f02b0c135a3ad
Ingested
24 Oct 2026, 14:14:52 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