CVE-2026-53095
kernel: bpf: Fix abuse of kprobe_write_ctx via freplace
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · June 24, 2026
Updated · July 22, 2026
Description
A flaw was found in the Linux kernel. This vulnerability allows for the abuse of the kprobe_write_ctx mechanism through freplace in Berkeley Packet Filter (BPF) kprobe programs. A local attacker could exploit this by attaching a freplace program to a kprobe program that is attached to a kernel function. This could lead to the modification of the kernel function's arguments, specifically setting the first argument to zero, potentially causing unexpected system behavior or impacting data integrity.
Statement
This CVE has been rated as Moderate because eBPF (and XDP) is restricted to root-only on Red Hat Enterprise Linux.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.1 · 6.4CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
CWE-94 · Improper Control of Generation of Code ('Code Injection')