CVE-2026-31663
xfrm: hold dev ref until after transport_finish NF_HOOK
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= acf568ee859f098279eadf551612f103afdacb4e, < 4d06caedea587c59cc2cc893ceecc57c75c64312; >= acf568ee859f098279eadf551612f103afdacb4e, < 94439cbe478b53f92223da9aae95fffb28623c3f; >= acf568ee859f098279eadf551612f103afdacb4e, < 4236c30b437b80f673b9e08c8fae38b8d471ac9e; >= acf568ee859f098279eadf551612f103afdacb4e, < 0f451b43c88bf2b9c038b414be580efee42e031b; >= acf568ee859f098279eadf551612f103afdacb4e, < 5002beda5cac69d522dc54da0d5d463ed9c963d2; >= acf568ee859f098279eadf551612f103afdacb4e, < 1c428b03840094410c5fb6a5db30640486bbbfcb; 69895c5ea0ca2e8d7de1e6d36965d0ab9730787f; 833760100588acfb267dac4d6a02ab9931237739; e095ecaec6d94aa2156cceb98a85d409b51190f3; >= 3.2.100, < 3.3; …
- Anyone running Linux 4.15
Vulnerability facts
- Affected
- Linux >= acf568ee859f098279eadf551612f103afdacb4e, < 4d06caedea587c59cc2cc893ceecc57c75c64312; >= acf568ee859f098279eadf551612f103afdacb4e, < 94439cbe478b53f92223da9aae95fffb28623c3f; >= acf568ee859f098279eadf551612f103afdacb4e, < 4236c30b437b80f673b9e08c8fae38b8d471ac9e; >= acf568ee859f098279eadf551612f103afdacb4e, < 0f451b43c88bf2b9c038b414be580efee42e031b; >= acf568ee859f098279eadf551612f103afdacb4e, < 5002beda5cac69d522dc54da0d5d463ed9c963d2; >= acf568ee859f098279eadf551612f103afdacb4e, < 1c428b03840094410c5fb6a5db30640486bbbfcb; 69895c5ea0ca2e8d7de1e6d36965d0ab9730787f; 833760100588acfb267dac4d6a02ab9931237739; e095ecaec6d94aa2156cceb98a85d409b51190f3; >= 3.2.100, < 3.3; …; Linux 4.15
- Fixed in
- Linux 4d06caedea587c59cc2cc893ceecc57c75c64312, Linux 94439cbe478b53f92223da9aae95fffb28623c3f, Linux 4236c30b437b80f673b9e08c8fae38b8d471ac9e, Linux 0f451b43c88bf2b9c038b414be580efee42e031b, Linux 5002beda5cac69d522dc54da0d5d463ed9c963d2, Linux 1c428b03840094410c5fb6a5db30640486bbbfcb, Linux 3.3
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.8 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 0.62% chance of exploitation in 30 days (percentile 44, 2026-11-26)
- CWE
- CWE-416, CWE-826
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= acf568ee859f098279eadf551612f103afdacb4e, < 4d06caedea587c59cc2cc893ceecc57c75c64312; >= acf568ee859f098279eadf551612f103afdacb4e, < 94439cbe478b53f92223da9aae95fffb28623c3f; >= acf568ee859f098279eadf551612f103afdacb4e, < 4236c30b437b80f673b9e08c8fae38b8d471ac9e; >= acf568ee859f098279eadf551612f103afdacb4e, < 0f451b43c88bf2b9c038b414be580efee42e031b; >= acf568ee859f098279eadf551612f103afdacb4e, < 5002beda5cac69d522dc54da0d5d463ed9c963d2; >= acf568ee859f098279eadf551612f103afdacb4e, < 1c428b03840094410c5fb6a5db30640486bbbfcb; 69895c5ea0ca2e8d7de1e6d36965d0ab9730787f; 833760100588acfb267dac4d6a02ab9931237739; e095ecaec6d94aa2156cceb98a85d409b51190f3; >= 3.2.100, < 3.3; … | — | cvelist |
| Linux | 4.15 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-31663. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-31663.md Affected: Linux >= acf568ee859f098279eadf551612f103afdacb4e, < 4d06caedea587c59cc2cc893ceecc57c75c64312; >= acf568ee859f098279eadf551612f103afdacb4e, < 94439cbe478b53f92223da9aae95fffb28623c3f; >= acf568ee859f098279eadf551612f103afdacb4e, < 4236c30b437b80f673b9e08c8fae38b8d471ac9e; >= acf568ee859f098279eadf5… Fixed in: Linux 4d06caedea587c59cc2cc893ceecc57c75c64312, Linux 94439cbe478b53f92223da9aae95fffb28623c3f, Linux 4236c30b437b80f673b9e08c8fae38b8d471ac9e, Linux 0f451b43c88bf2b9c038b414be580efee42e031b, Linux 5002beda5cac69d522dc54da0d5d463ed9c963d2, Linux 1c428b03840094410c5fb6a5db30640486bbbfcb, Linux 3.3 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
Patches
Other
- https://git.kernel.org/stable/c/4d06caedea587c59cc2cc893ceecc57c75c64312
- https://git.kernel.org/stable/c/94439cbe478b53f92223da9aae95fffb28623c3f
- 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
FAQ
Is CVE-2026-31663 being exploited?
There is no confirmed exploitation: CVE-2026-31663 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.62% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-31663?
High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2026-31663?
Linux >= acf568ee859f098279eadf551612f103afdacb4e, < 4d06caedea587c59cc2cc893ceecc57c75c64312; >= acf568ee859f098279eadf551612f103afdacb4e, < 94439cbe478b53f92223da9aae95fffb28623c3f; >= acf568ee859f098279eadf551612f103afdacb4e, < 4236c30b437b80f673b9e08c8fae38b8d471ac9e; >= acf568ee859f098279eadf551612f103afdacb4e, < 0f451b43c88bf2b9c038b414be580efee42e031b; >= acf568ee859f098279eadf551612f103afdacb4e, < 5002beda5cac69d522dc54da0d5d463ed9c963d2; >= acf568ee859f098279eadf551612f103afdacb4e, < 1c428b03840094410c5fb6a5db30640486bbbfcb; 69895c5ea0ca2e8d7de1e6d36965d0ab9730787f; 833760100588acfb267dac4d6a02ab9931237739; e095ecaec6d94aa2156cceb98a85d409b51190f3; >= 3.2.100, < 3.3; …; Linux 4.15.
Is there a fix for CVE-2026-31663?
Yes. Fixed in Linux 4d06caedea587c59cc2cc893ceecc57c75c64312, Linux 94439cbe478b53f92223da9aae95fffb28623c3f, Linux 4236c30b437b80f673b9e08c8fae38b8d471ac9e, Linux 0f451b43c88bf2b9c038b414be580efee42e031b, Linux 5002beda5cac69d522dc54da0d5d463ed9c963d2, Linux 1c428b03840094410c5fb6a5db30640486bbbfcb, Linux 3.3. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2026-31663?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.