CVE-2026-31663
xfrm: hold dev ref until after transport_finish NF_HOOK
Check your servers for CVE-2026-31663
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-31663 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Severity (CVSS)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Attack vector
- local: the attacker needs local access, or a user has to open a prepared file
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- low: the attacker needs an ordinary user account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
- Attack vector
- local: the attacker needs local access, or a user has to open a prepared file
- Attack complexity
- high: an attack depends on conditions outside the control of the attacker, such as a race
- Privileges required
- low: the attacker needs an ordinary user account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.23%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 15.0% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 16 Oct 2026):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- total: full control of the component or of its data
Weakness
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from acf568ee859f098279eadf551612f103afdacb4e, before 4d06caedea587c59cc2cc893ceecc57c75c64312 affected from acf568ee859f098279eadf551612f103afdacb4e, before 94439cbe478b53f92223da9aae95fffb28623c3f affected from acf568ee859f098279eadf551612f103afdacb4e, before 4236c30b437b80f673b9e08c8fae38b8d471ac9e affected from acf568ee859f098279eadf551612f103afdacb4e, before 0f451b43c88bf2b9c038b414be580efee42e031b affected from acf568ee859f098279eadf551612f103afdacb4e, before 5002beda5cac69d522dc54da0d5d463ed9c963d2 affected from acf568ee859f098279eadf551612f103afdacb4e, before 1c428b03840094410c5fb6a5db30640486bbbfcb affected 69895c5ea0ca2e8d7de1e6d36965d0ab9730787f affected 833760100588acfb267dac4d6a02ab9931237739 affected e095ecaec6d94aa2156cceb98a85d409b51190f3 affected from 3.2.100, before 3.3 affected from 3.16.55, before 3.17 affected from 4.14.24, before 4.15
Other versions: unaffected
|
| Linux |
affected 4.15 unaffected before 4.15 unaffected from 6.1.191 up to and including 6.1.* unaffected from 6.6.160 up to and including 6.6.* unaffected from 6.12.94 up to and including 6.12.* unaffected from 6.18.23 up to and including 6.18.* unaffected from 6.19.13 up to and including 6.19.* unaffected 7.0 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-31663 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-31663
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-31663
trivy image --scanners vuln IMAGE | grep CVE-2026-31663
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Advisories
- https://access.redhat.com/security/cve/CVE-2026-31663 access.redhat.com · vdb entry
- RHBZ#2461462 bugzilla.redhat.com · issue tracking
- https://access.redhat.com/errata/RHSA-2026:67471 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:68570 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:68531 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:68532 access.redhat.com · vendor advisory
Other references
- https://git.kernel.org/stable/c/4d06caedea587c59cc2cc893ceecc57c75c64312 git.kernel.org
- https://git.kernel.org/stable/c/94439cbe478b53f92223da9aae95fffb28623c3f git.kernel.org
- https://git.kernel.org/stable/c/4236c30b437b80f673b9e08c8fae38b8d471ac9e git.kernel.org
- https://git.kernel.org/stable/c/0f451b43c88bf2b9c038b414be580efee42e031b git.kernel.org
- https://git.kernel.org/stable/c/5002beda5cac69d522dc54da0d5d463ed9c963d2 git.kernel.org
- https://git.kernel.org/stable/c/1c428b03840094410c5fb6a5db30640486bbbfcb git.kernel.org
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-31663.json security.access.redhat.com
Source: the record CVE-2026-31663 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse