CVE-2026-53267
Gravedad CVSS v3.1:
ALTA
Tipo:
No Disponible / Otro tipo
Fecha de publicación:
25/06/2026
Última modificación:
08/07/2026
Descripción
*** Pendiente de traducción *** In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
netfilter: nft_ct: bail out on template ct in get eval<br />
<br />
I noticed this issue while looking at a historic syzbot report [1].<br />
<br />
A rule like the one below is enough to trigger the bug:<br />
<br />
table ip t {<br />
chain pre {<br />
type filter hook prerouting priority raw;<br />
ct zone set 1<br />
ct original saddr 1.2.3.4 accept<br />
}<br />
}<br />
<br />
The first expression attaches a per-cpu template ct via<br />
nft_ct_set_zone_eval() (nf_ct_tmpl_alloc -> kzalloc, tuple is all<br />
zero, nf_ct_l3num(ct) == 0). The next expression then calls<br />
nft_ct_get_eval() on the same skb, treats the template as a real ct<br />
and hits the 16-byte memcpy path. With dreg at NFT_REG32_15 this<br />
overflows past struct nft_regs on the kernel stack; with smaller<br />
dreg values it silently clobbers adjacent registers.<br />
<br />
Reject template ct at the eval entry and in nft_ct_get_fast_eval(),<br />
mirroring the check nft_ct_set_eval() already has. Additionally,<br />
bound the address copy in NFT_CT_SRC / NFT_CT_DST by priv->len<br />
instead of by nf_ct_l3num(ct): nf_ct_get_tuple() zeroes the tuple<br />
before pkt_to_tuple() fills in only the protocol-relevant leading<br />
bytes, so the trailing bytes of tuple->{src,dst}.u3.all are<br />
well-defined zero. priv->len is validated at rule load, so the<br />
copy size is now bounded by the destination register rather than<br />
by an untrusted field on the conntrack.<br />
<br />
[1]: https://syzkaller.appspot.com/bug?id=389cf09cb72926114fce90dc85a2c3231dcb647c
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:*:*:*:*:*:*:*:* | 4.1 (incluyendo) | 6.6.143 (excluyendo) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.7 (incluyendo) | 6.12.94 (excluyendo) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.13 (incluyendo) | 6.18.36 (excluyendo) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.19 (incluyendo) | 7.0.13 (excluyendo) |
| cpe:2.3:o:linux:linux_kernel:7.1:rc1:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:7.1:rc2:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:7.1:rc3:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:7.1:rc4:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:7.1:rc5:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:7.1:rc6:*:*:*:*:*:* |
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/2e154b5f53f1b0b490c7b8b02499f90feb86b1d5
- https://git.kernel.org/stable/c/3027ecbdb5fdf9200251c21d4818e4c447ef78e1
- https://git.kernel.org/stable/c/8470f676eadeab99132708acb1a85915664d6115
- https://git.kernel.org/stable/c/af80f78ce984649e1698b841cd33f4fa505ad828
- https://git.kernel.org/stable/c/f071b0bf078146368d18e4eec386bf2ddc0ab7e0



