CVE-2026-31663: xfrm: hold dev ref until after transport_finish NF_HOOK

Published Apr 24, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

xfrm: hold dev ref until after transportfinish NFHOOK

After async crypto completes, xfrminputresume() calls devput() immediately on re-entry before the skb reaches transportfinish. The skb->dev pointer is then used inside NFHOOK and its okfn, which can race with device teardown.

Remove the devput from the async resumption entry and instead drop the reference after the NFHOOK call in transportfinish, using a saved device pointer since NFHOOK may consume the skb. This covers NFDROP, NFQUEUE and NFSTOLEN 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 Software

14 affected components
Linux Linux kernel (xfrm)
Linux Linux kernel>=3.2.100<3.3
Linux Linux kernel>=3.16.55<3.17
Linux Linux kernel>=4.14.24<4.15
Linux Linux kernel>=4.15.1<6.18.23
Linux Linux kernel>=6.19<6.19.13
Linux Linux kernel=4.15
Linux Linux kernel=7.0-rc1
Linux Linux kernel=7.0-rc2
Linux Linux kernel=7.0-rc3
Linux Linux kernel=7.0-rc4
Linux Linux kernel=7.0-rc5
Linux Linux kernel=7.0-rc6
Linux Linux kernel=7.0-rc7

Event History

Apr 24, 2026
CVE Published
via MITRE·02:45 PM
Data Sourced
via MITRE·02:45 PM
DescriptionSeverity
Data Sourced
via Red Hat·03:02 PM
DescriptionSeverityAffected Software
Data Sourced
via NVD·03:16 PM
RemedyDescriptionSeverityWeaknessAffected Software
Apr 26, 2026
Data Sourced
via Microsoft·08:04 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What is the severity of CVE-2026-31663?

CVE-2026-31663 has been rated as a medium severity vulnerability in the Linux kernel.

2

How do I fix CVE-2026-31663?

To fix CVE-2026-31663, update to the latest version of the Linux kernel where the vulnerability has been addressed.

3

What systems are affected by CVE-2026-31663?

CVE-2026-31663 affects systems running versions of the Linux kernel with xfrm functionality.

4

What is the impact of CVE-2026-31663?

The impact of CVE-2026-31663 may lead to potential disruptions in network transport operations due to improper device reference handling.

5

When was CVE-2026-31663 resolved?

CVE-2026-31663 was resolved in updates released as part of the Linux kernel security patches.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203