CVE-2026-31663
Gravedad:
Pendiente de análisis
Tipo:
No Disponible / Otro tipo
Fecha de publicación:
24/04/2026
Última modificación:
24/04/2026
Descripción
*** Pendiente de traducción *** In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
xfrm: hold dev ref until after transport_finish NF_HOOK<br />
<br />
After async crypto completes, xfrm_input_resume() calls dev_put()<br />
immediately on re-entry before the skb reaches transport_finish.<br />
The skb->dev pointer is then used inside NF_HOOK and its okfn,<br />
which can race with device teardown.<br />
<br />
Remove the dev_put from the async resumption entry and instead<br />
drop the reference after the NF_HOOK call in transport_finish,<br />
using a saved device pointer since NF_HOOK may consume the skb.<br />
This covers NF_DROP, NF_QUEUE and NF_STOLEN paths that skip<br />
the okfn.<br />
<br />
For non-transport exits (decaps, gro, drop) and secondary<br />
async return points, release the reference inline when<br />
async is set.



