Instituto Nacional de ciberseguridad. Sección Incibe
Instituto Nacional de Ciberseguridad. Sección INCIBE-CERT

CVE-2026-53095

Gravedad CVSS v3.1:
MEDIA
Tipo:
No Disponible / Otro tipo
Fecha de publicación:
24/06/2026
Última modificación:
21/07/2026

Descripción

*** Pendiente de traducción *** In the Linux kernel, the following vulnerability has been resolved:<br /> <br /> bpf: Fix abuse of kprobe_write_ctx via freplace<br /> <br /> uprobe programs are allowed to modify struct pt_regs.<br /> <br /> Since the actual program type of uprobe is KPROBE, it can be abused to<br /> modify struct pt_regs via kprobe+freplace when the kprobe attaches to<br /> kernel functions.<br /> <br /> For example,<br /> <br /> SEC("?kprobe")<br /> int kprobe(struct pt_regs *regs)<br /> {<br /> return 0;<br /> }<br /> <br /> SEC("?freplace")<br /> int freplace_kprobe(struct pt_regs *regs)<br /> {<br /> regs-&gt;di = 0;<br /> return 0;<br /> }<br /> <br /> freplace_kprobe prog will attach to kprobe prog.<br /> kprobe prog will attach to a kernel function.<br /> <br /> Without this patch, when the kernel function runs, its first arg will<br /> always be set as 0 via the freplace_kprobe prog.<br /> <br /> To fix the abuse of kprobe_write_ctx=true via kprobe+freplace, disallow<br /> attaching freplace programs on kprobe programs with different<br /> kprobe_write_ctx values.

Productos y versiones vulnerables

CPE Desde Hasta
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.18 (incluyendo) 6.18.33 (excluyendo)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.19 (incluyendo) 7.0.10 (excluyendo)