{"schema":"threatline.record/2","record":{"id":"CVE-2026-98376","aliases":[],"summary":"bpf: Use array_map_meta_equal for percpu array inner map replacement","details":"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 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.","categories":["Operating systems"],"product":"Linux","vendor":"Linux","ecosystem":null,"affected_ranges":[{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-98376","source_modified_at":"2026-10-09T07:34:17.043Z","fetched_at":"2026-10-23T18:48:36.087640Z","product":"Linux","vendor":"Linux","versions":[{"version":"db69718b8efac802c7cc20d5a6c7dfc913f99c43","lessThan":"593980175389a05793f6060aa20e626330960395","status":"affected","versionType":"git"}],"defaultStatus":"unaffected"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-98376","source_modified_at":"2026-10-09T07:34:17.043Z","fetched_at":"2026-10-23T18:48:36.087640Z","product":"Linux","vendor":"Linux","versions":[{"version":"6.10","status":"affected"},{"version":"0","lessThan":"6.10","status":"unaffected","versionType":"semver"},{"version":"7.1","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"defaultStatus":"affected"}],"fixed_versions":[{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-98376","source_modified_at":"2026-10-09T07:34:17.043Z","fetched_at":"2026-10-23T18:48:36.087640Z","package":{"name":"Linux","ecosystem":null},"version":"593980175389a05793f6060aa20e626330960395","basis":"first unaffected version stated in the CVE record"}],"cvss":null,"severity":null,"kev":{"listed":false},"epss":{"probability":0.00148,"percentile":0.03667,"score_date":"2026-10-23"},"published_at":"2026-10-09T07:34:17.043Z","modified_at":"2026-10-09T07:34:17.043Z","provenance":[{"source":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-98376","fetched_at":"2026-10-23T18:48:36.087640Z","source_modified_at":"2026-10-09T07:34:17.043Z"},{"source":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-98376","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2026-10-23"}],"sources":["CVE List","EPSS"],"references":[{"source":"CVE List","url":"https://git.kernel.org/stable/c/593980175389a05793f6060aa20e626330960395"}],"locations":[],"motoko_assessment":{"status":"requires_architecture_review","automatic_remediation":false},"cve_state":"PUBLISHED","classification":{"method":"product-first software-layer rules","rules_version":"2.1","matched_on":"product","confidence":"heuristic","reviewed":false},"change_timestamp":"2026-10-09T07:34:17.043Z","content_hash":"ddd5d6202a980c6118067377adbe30cc50ee960cb616708ed652878187ec59c2"}}
