CVE-2026-31663

In the Linux kernel, the following vulnerability has been resolved: xfrm: hold dev ref until after transport_finish NF_HOOK After async crypto completes, xfrm_input_resume() calls dev_put() immediately on re-entry before the skb reaches transport_finish. The skb->dev pointer is then used inside NF_HOOK and its okfn, which can race with device teardown. Remove the dev_put from the async resumption entry and instead drop the reference after the NF_HOOK call in transport_finish, using a saved device pointer since NF_HOOK may consume the skb. This covers NF_DROP, NF_QUEUE and NF_STOLEN paths that skip the okfn. For non-transport exits (decaps, gro, drop) and secondary async return points, release the reference inline when async is set.
Configurations

Configuration 1 (hide)

OR cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
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:*:*:*:*:*:*

History

11 Nov 2026, 23:10

Type Values Removed Values Added
Summary
  • (es) En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: xfrm: mantener la referencia del dispositivo hasta después de transport_finish NF_HOOK Después de que la criptografía asíncrona se completa, xfrm_input_resume() llama a dev_put() inmediatamente al reingresar antes de que el skb alcance transport_finish. El puntero skb -> dev se utiliza entonces dentro de NF_HOOK y su okfn, lo que puede generar una condición de carrera con el desmantelamiento del dispositivo. Eliminar el dev_put de la entrada de reanudación asíncrona y en su lugar liberar la referencia después de la llamada a NF_HOOK en transport_finish, utilizando un puntero de dispositivo guardado ya que NF_HOOK puede consumir el skb. Esto cubre las rutas NF_DROP, NF_QUEUE y NF_STOLEN que omiten el okfn. Para salidas no de transporte (decaps, gro, drop) y puntos de retorno asíncronos secundarios, liberar la referencia en línea cuando async está configurado.

30 Oct 2026, 13:18

Type Values Removed Values Added
References
  • () https://git.kernel.org/stable/c/4d06caedea587c59cc2cc893ceecc57c75c64312 -

21 Oct 2026, 13:18

Type Values Removed Values Added
References
  • () https://git.kernel.org/stable/c/94439cbe478b53f92223da9aae95fffb28623c3f -

19 Oct 2026, 19:18

Type Values Removed Values Added
CWE CWE-416

18 Sep 2026, 13:17

Type Values Removed Values Added
References
  • () https://access.redhat.com/errata/RHSA-2026:68531 -
  • () https://access.redhat.com/errata/RHSA-2026:68570 -

17 Sep 2026, 12:17

Type Values Removed Values Added
References
  • () https://access.redhat.com/errata/RHSA-2026:68532 -

15 Sep 2026, 12:17

Type Values Removed Values Added
References
  • () https://access.redhat.com/errata/RHSA-2026:67471 -

30 Jun 2026, 03:18

Type Values Removed Values Added
References
  • () https://access.redhat.com/security/cve/CVE-2026-31663 -
  • () https://bugzilla.redhat.com/show_bug.cgi?id=2461462 -
  • () https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-31663.json -
CWE CWE-826

19 Jun 2026, 13:16

Type Values Removed Values Added
References
  • () https://git.kernel.org/stable/c/4236c30b437b80f673b9e08c8fae38b8d471ac9e -

27 Apr 2026, 19:59

Type Values Removed Values Added
References () https://git.kernel.org/stable/c/0f451b43c88bf2b9c038b414be580efee42e031b - () https://git.kernel.org/stable/c/0f451b43c88bf2b9c038b414be580efee42e031b - Patch
References () https://git.kernel.org/stable/c/1c428b03840094410c5fb6a5db30640486bbbfcb - () https://git.kernel.org/stable/c/1c428b03840094410c5fb6a5db30640486bbbfcb - Patch
References () https://git.kernel.org/stable/c/5002beda5cac69d522dc54da0d5d463ed9c963d2 - () https://git.kernel.org/stable/c/5002beda5cac69d522dc54da0d5d463ed9c963d2 - Patch
CPE 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:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc2:*:*:*:*:*:*
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:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:4.15:-:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc7:*:*:*:*:*:*
CWE NVD-CWE-noinfo
First Time Linux linux Kernel
Linux

27 Apr 2026, 15:16

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 7.8

24 Apr 2026, 15:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-04-24 15:16

Updated : 2026-11-11 23:10


NVD link : CVE-2026-31663

Mitre link : CVE-2026-31663

CVE.ORG link : CVE-2026-31663


JSON object : View

Products Affected

linux

  • linux_kernel
CWE
NVD-CWE-noinfo CWE-416

Use After Free

CWE-826

Premature Release of Resource During Expected Lifetime