CVE-2026-31663

Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
24/04/2026
Last modified:
27/04/2026

Description

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-&gt;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.

Vulnerable products and versions

CPE From Up to
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 3.2.100 (including) 3.3 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 3.16.55 (including) 3.17 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 4.14.24 (including) 4.15 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 4.15.1 (including) 6.18.23 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.19 (including) 6.19.13 (excluding)
cpe:2.3:o:linux:linux_kernel:4.15:-:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc4:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc5:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc6:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc7:*:*:*:*:*:*