CVE-2026-74666
Gravedad:
Pendiente de análisis
Tipo:
No Disponible / Otro tipo
Fecha de publicación:
22/08/2026
Última modificación:
22/08/2026
Descripción
*** Pendiente de traducción *** In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
packet: synchronize pressure clearing with ring reconfiguration<br />
<br />
packet_set_ring() updates the RX ring state under sk_receive_queue.lock,<br />
but used to publish the tpacket receive mode through po->prot_hook.func<br />
after releasing that lock. packet_poll() and packet_recvmsg() can then<br />
run the pressure clearing path after the ring has been cleared while<br />
still seeing tpacket_rcv, causing __packet_rcv_has_room() to dereference<br />
stale or NULL ring storage.<br />
<br />
Move the existing receive hook assignment into the same<br />
sk_receive_queue.lock section as the ring state update. Keep the<br />
assignment otherwise unchanged, including on TX ring reconfiguration, to<br />
avoid adding behavior changes that are not required for the fix.<br />
<br />
Serialize packet_recvmsg() pressure clearing with the same queue lock<br />
only after PACKET_SOCK_PRESSURE has been observed. If the flag is clear<br />
and the socket has moved away from tpacket_rcv, packet_set_ring() has<br />
already detached the socket and waited for synchronize_net(), so no new<br />
packet input can set the flag again.<br />
<br />
packet_poll() already holds sk_receive_queue.lock, so it uses the new<br />
unlocked helper directly.
Impacto
Referencias a soluciones, herramientas e información
- https://git.kernel.org/stable/c/1a35da325cac4d5bcad76a2aa943408a6f1d9000
- https://git.kernel.org/stable/c/2c7b5eb87b2b288cdbde825f21d2b83b2f5da747
- https://git.kernel.org/stable/c/a08196c3cc105947746ec21309edfbb60275fcdb
- https://git.kernel.org/stable/c/ad740b4990347521f0db260d381f9f74e7b340ba
- https://git.kernel.org/stable/c/cf8189b82bb93f219ab740e0346c919ad65ada62


