{"id":"CVE-2026-98376","title":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Use array_map_meta_equal for percpu array inner map replacement\n\npercpu_array_map_ops.map_meta_equal points to the generic\nbpf_map_meta_equal(), which does not com…","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Use array_map_meta_equal for percpu array inner map replacement\n\npercpu_array_map_ops.map_meta_equal points to the generic\nbpf_map_meta_equal(), which does not com…","severity":"high","published":"2026-10-09","updated":"2026-10-09","sourceUpdated":"2026-10-09T08:16:55.910","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-98376","references":[{"url":"https://git.kernel.org/stable/c/593980175389a05793f6060aa20e626330960395","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-98376.json"},{"url":"https://access.redhat.com/security/cve/CVE-2026-98376"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2548397"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-98376"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98376"},{"url":"https://git.kernel.org/pub/scm/linux/security/vulns.git/plain/cve/published/2026/CVE-2026-98376.mbox"},{"url":"https://kernelcve.org/list/?q=CVE-2026-98376"}],"tags":["nvd","csaf","vex","red-hat","cve.org","score-dispute"],"ingestedAt":"2026-10-09T08:29:41.346Z","vendor":"Red Hat","product":"Red Hat Enterprise Linux 9","affected":["enterprise_linux 10","enterprise_linux 9","openshift_container_platform 4"],"cvss":7,"cvssVector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","cvssSource":"vendor","cwe":["CWE-125","CWE-787"],"epss":0.00158,"epssPercentile":0.04894,"scores":{"vendor":5.5,"cna":7.8},"slug":"CVE-2026-98376","body":"## Overview\n\nIn the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Use array_map_meta_equal for percpu array inner map replacement\n\npercpu_array_map_ops.map_meta_equal points to the generic\nbpf_map_meta_equal(), which does not compare max_entries.  When a\npercpu array serves as an inner map, replacing it with one that has\nfewer max_entries bypasses the check.  Since percpu_array_map_gen_lookup()\ninlines the original template's index_mask as a JIT immediate, a lookup\non the replacement map can access pptrs[] out of bounds.\n\nPoint percpu_array_map_ops.map_meta_equal to array_map_meta_equal(),\nwhich already enforces the max_entries equality check.\n\nAdd a selftest to verify that replacing a percpu array inner map with\na differently-sized one is rejected.\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.\n\n## Vendor advisories\n\n- **Red Hat VEX** · Moderate · affected: Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 9, Red Hat OpenShift Container Platform 4 · no fix planned: Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 9, Red Hat OpenShift Container Platform 4 · updated 2026-10-24 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-98376.json)","depth":"twilight","depthScore":39,"depthScoreParts":{"impact":38.5,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[{"seq":219119,"id":"CVE-2026-98376","ts":1791707066587,"field":"cvss","old":null,"new":"7"},{"seq":219118,"id":"CVE-2026-98376","ts":1791707066587,"field":"severity","old":"none","new":"high"}]}