Linux kernel BPF verifier allows invalid narrow pointer context access
CVE-2025-38591Medium
The Linux kernel BPF verifier incorrectly permits narrower memory reads to pointer fields in BPF context structures, such as reading a single byte from an 8-byte pointer field. An attacker with permission to load BPF programs can craft a program that performs such a narrower access, causing the kernel to emit a warning message during context access conversion rather than rejecting the invalid access with a proper error. This allows invalid BPF programs to be loaded when they should be rejected.
Plain English summary of the NVD and CISA text, checked by machine against both.
Scores and dates
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Detail
Reports naming this CVE1 in total
· All CISA Advisories
Siemens SIMATIC S7-1500 CPU 1518(F)-4 PN/DP MFP (opens in a new tab)