Database/Kernel, userspace & hypervisor
Linux kernel BPF verifier: variable-size helper buffers skip write checks, allowing writes to read-only maps
Impact
When a BPF helper gets a buffer whose size register is not a constant, the verifier skips its write checks (bounds checks still apply). A BPF program can then write into maps marked read-only, such as .rodata global maps. Anything that relies on BPF read-only data being immutable, for example the constants of eBPF-based networking, observability or security agents on the node, can have that data changed. The record rates the impact as high integrity and availability loss. It does not claim memory corruption outside the map or privilege escalation.
Who can reach it
Local. The attacker must be able to load BPF programs on the host (PR:L). On nodes where unprivileged BPF is disabled, that takes a privileged process or a container granted BPF capabilities.
What to do
Install a kernel that contains the stable fixes referenced in the record (or the distribution kernel that carries them, see the Debian LTS announcement), then drain and reboot each node. Until then, keep BPF loading limited to privileged users and do not give BPF capabilities to tenant containers.
References
Related entries
- Linux kernel (ALSA usb-audio): Out-of-bounds read finding clock sourcesCVE-2024-53150 · Linux kernel (ALSA usb-audio)High
- VMware ESXi / Workstation / Fusion: Out-of-bounds read in HGFS leaks vmx process memory to the guestCVE-2025-22226 · VMware ESXi / Workstation / FusionHigh
- Linux kernel arm64: MOPS exception handler reads a source register for SET*, going out of bounds on XZRCVE-2025-37846 · Linux kernel arm64 MOPS exception handler (do_el0_mops source register read)High
- Linux i40e: empty MAC filter list dereferences an invalid list entryCVE-2025-39853 · Linux kernel i40e driver (MAC filter list handling)High
- Linux kernel i40e: out-of-bounds read through the netdev_ops debugfs fileCVE-2025-39901 · Linux kernel i40e driver (netdev_ops debugfs file)High
- Linux kernel (arch/x86/kvm/svm): On AMD hosts that cannot report the next RIP, KVM's WRMSR/HLT/INVD fastpath has toCVE-2025-40038 · Linux kernel (arch/x86/kvm/svm)High
This entry is curated: imported from vendor advisories with machine assistance, not yet individually verified. Confirm against your vendor's advisory before acting, and report anything wrong.