CVE-2026-31663
Vulnerability Summary
Timeline
Description
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.
CVSS Metrics
- v4.0•HIGH•Score: 7.3CVSS:4.0/AV:L/AC:H/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
- v3.1•HIGH•Score: 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS Trends
Current EPSS score: 0.13%• Percentile: 3%
Techniques & Countermeasures
- CWE-826•Premature Release of Resource During Expected Lifetime
The product releases a resource that is still intended to be used by itself or another actor.
Affected Systems
- chainguard•linux-aws-6.12
all
- chainguard•linux-azure-6.12
all
- chainguard•linux-gcp-6.12
all
- chainguard•linux-qemu-6.12
all
- chainguard•linux-vmware-6.12
all
- debian•linux
all | all | < 6.12.94-1 | < 6.19.13-1
- ubuntu•linux
all | all | all | all
- ubuntu•linux-allwinner-5.19
all
- ubuntu•linux-aws
all | all | all | all
- ubuntu•linux-aws-5.0
all
- ubuntu•linux-aws-5.11
all
- ubuntu•linux-aws-5.13
all
- ubuntu•linux-aws-5.15
all
- ubuntu•linux-aws-5.19
all
- ubuntu•linux-aws-5.3
all
- ubuntu•linux-aws-5.4
all
- ubuntu•linux-aws-5.8
all
- ubuntu•linux-aws-6.14
all
- ubuntu•linux-aws-6.17
all
- ubuntu•linux-aws-6.2
all
- ubuntu•linux-aws-6.5
all
- ubuntu•linux-aws-6.8
all
- ubuntu•linux-aws-fips
all
- ubuntu•linux-aws-hwe
all
- ubuntu•linux-azure
all | all | all | all | all
- ubuntu•linux-azure-4.15
all
- ubuntu•linux-azure-5.11
all
- ubuntu•linux-azure-5.13
all
- ubuntu•linux-azure-5.15
all
- ubuntu•linux-azure-5.19
all
- ubuntu•linux-azure-5.3
all
- ubuntu•linux-azure-5.4
all
- ubuntu•linux-azure-5.8
all
- ubuntu•linux-azure-6.11
all
- ubuntu•linux-azure-6.14
all
- ubuntu•linux-azure-6.17
all
- ubuntu•linux-azure-6.2
all
- ubuntu•linux-azure-6.5
all
- ubuntu•linux-azure-6.8
all
- ubuntu•linux-azure-edge
all
- ubuntu•linux-azure-fde
all | all | all | all | all
- ubuntu•linux-azure-fde-5.15
all
- ubuntu•linux-azure-fde-5.19
all
- ubuntu•linux-azure-fde-6.14
all
- ubuntu•linux-azure-fde-6.17
all
- ubuntu•linux-azure-fde-6.2
all
- ubuntu•linux-azure-fde-6.8
all
- ubuntu•linux-azure-fde-7.0
all
- ubuntu•linux-azure-fips
all
- ubuntu•linux-azure-nvidia
all
Showing first 50 affected entries in server-rendered view.
References (19)
- https://git.kernel.org/stable/c/0f451b43c88bf2b9c038b414be580efee42e031b
- https://git.kernel.org/stable/c/5002beda5cac69d522dc54da0d5d463ed9c963d2
- https://git.kernel.org/stable/c/1c428b03840094410c5fb6a5db30640486bbbfcb
- https://git.kernel.org/stable/c/4236c30b437b80f673b9e08c8fae38b8d471ac9e
- 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
- https://ubuntu.com/security/CVE-2026-31663
- https://www.cve.org/CVERecord?id=CVE-2026-31663
- https://git.kernel.org/linus/1c428b03840094410c5fb6a5db30640486bbbfcb
- https://security-tracker.debian.org/tracker/CVE-2026-31663
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/31xxx/CVE-2026-31663.json
- https://nvd.nist.gov/vuln/detail/CVE-2026-31663
- https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
- https://access.redhat.com/errata/RHSA-2026:67471
- https://access.redhat.com/errata/RHSA-2026:68532
- https://access.redhat.com/errata/RHSA-2026:68570
- https://access.redhat.com/errata/RHSA-2026:68531
- https://ubuntu.com/security/notices/USN-8781-1