CVE-2026-53094
Gravedad CVSS v3.1:
ALTA
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 stale offload->prog pointer after constant blinding<br />
<br />
When a dev-bound-only BPF program (BPF_F_XDP_DEV_BOUND_ONLY) undergoes<br />
JIT compilation with constant blinding enabled (bpf_jit_harden >= 2),<br />
bpf_jit_blind_constants() clones the program. The original prog is then<br />
freed in bpf_jit_prog_release_other(), which updates aux->prog to point<br />
to the surviving clone, but fails to update offload->prog.<br />
<br />
This leaves offload->prog pointing to the freed original program. When<br />
the network namespace is subsequently destroyed, cleanup_net() triggers<br />
bpf_dev_bound_netdev_unregister(), which iterates ondev->progs and calls<br />
__bpf_prog_offload_destroy(offload->prog). Accessing the freed prog<br />
causes a page fault:<br />
<br />
BUG: unable to handle page fault for address: ffffc900085f1038<br />
Workqueue: netns cleanup_net<br />
RIP: 0010:__bpf_prog_offload_destroy+0xc/0x80<br />
Call Trace:<br />
__bpf_offload_dev_netdev_unregister+0x257/0x350<br />
bpf_dev_bound_netdev_unregister+0x4a/0x90<br />
unregister_netdevice_many_notify+0x2a2/0x660<br />
...<br />
cleanup_net+0x21a/0x320<br />
<br />
The test sequence that triggers this reliably is:<br />
<br />
1. Set net.core.bpf_jit_harden=2 (echo 2 > /proc/sys/net/core/bpf_jit_harden)<br />
2. Run xdp_metadata selftest, which creates a dev-bound-only XDP<br />
program on a veth inside a netns (./test_progs -t xdp_metadata)<br />
3. cleanup_net -> page fault in __bpf_prog_offload_destroy<br />
<br />
Dev-bound-only programs are unique in that they have an offload structure<br />
but go through the normal JIT path instead of bpf_prog_offload_compile().<br />
This means they are subject to constant blinding&#39;s prog clone-and-replace,<br />
while also having offload->prog that must stay in sync.<br />
<br />
Fix this by updating offload->prog in bpf_jit_prog_release_other(),<br />
alongside the existing aux->prog update. Both are back-pointers to<br />
the prog that must be kept in sync when the prog is replaced.
Impacto
Puntuación base 3.x
7.80
Gravedad 3.x
ALTA
Productos y versiones vulnerables
| CPE | Desde | Hasta |
|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.3 (incluyendo) | 6.6.141 (excluyendo) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.7 (incluyendo) | 6.12.91 (excluyendo) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.13 (incluyendo) | 6.18.33 (excluyendo) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.19 (incluyendo) | 7.0.10 (excluyendo) |
Para consultar la lista completa de nombres de CPE con productos y versiones, ver esta página
Referencias a soluciones, herramientas e información
- https://git.kernel.org/stable/c/059525cf18e69a9313baf947d8898c6ee7ca6b65
- https://git.kernel.org/stable/c/25484c39d1ec82a0368798d956da3de5039b3fe8
- https://git.kernel.org/stable/c/a1aa9ef47c299c5bbc30594d3c2f0589edf908e6
- https://git.kernel.org/stable/c/a713b72ff88cdab4d5d692908ab1259ada511f4d
- https://git.kernel.org/stable/c/c79f8503d83d4665be461fb9e45e215d0380c67b



