CVE Database›Document archive›CVE-2026-45839

CVE-2026-45839

kernel: bpf: reject negative CO-RE accessor indices in bpf_core_parse_spec()

Loading…

Severity

Unknown

Red Hat Product Security

—

CVSS

Review impact separately from score.

Published · May 27, 2026

Updated · June 28, 2026

Description

A flaw was found in the Linux kernel's BPF (Berkeley Packet Filter) CO-RE (Compile Once - Run Everywhere) accessor parsing. A local attacker with CAP_BPF capabilities could craft a malicious BPF program that uses negative CO-RE accessor indices. This input validation vulnerability allows for an out-of-bounds read, leading to a kernel crash and a denial of service.

Mitigation

No mitigation is specified in collected source.

CVSS / CWE

CWE-125 · Out-of-bounds Read