Bug 2461462 (CVE-2026-31663) - CVE-2026-31663 kernel: xfrm: hold dev ref until after transport_finish NF_HOOK
Summary: CVE-2026-31663 kernel: xfrm: hold dev ref until after transport_finish NF_HOOK
Keywords:
Status: NEW
Alias: CVE-2026-31663
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-04-24 15:02 UTC by OSIDB Bzimport
Modified: 2026-10-14 10:50 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2026:67471 0 None None None 2026-09-15 06:14:19 UTC
Red Hat Product Errata RHSA-2026:68531 0 None None None 2026-09-17 07:20:40 UTC
Red Hat Product Errata RHSA-2026:68532 0 None None None 2026-09-17 06:56:45 UTC
Red Hat Product Errata RHSA-2026:68570 0 None None None 2026-09-17 12:15:45 UTC
Red Hat Product Errata RHSA-2026:74174 0 None None None 2026-10-01 09:01:31 UTC
Red Hat Product Errata RHSA-2026:75560 0 None None None 2026-10-05 00:36:05 UTC
Red Hat Product Errata RHSA-2026:77216 0 None None None 2026-10-07 02:49:10 UTC
Red Hat Product Errata RHSA-2026:77217 0 None None None 2026-10-07 03:38:58 UTC
Red Hat Product Errata RHSA-2026:77218 0 None None None 2026-10-07 06:27:28 UTC
Red Hat Product Errata RHSA-2026:77301 0 None None None 2026-10-07 07:05:07 UTC
Red Hat Product Errata RHSA-2026:80908 0 None None None 2026-10-12 14:20:40 UTC
Red Hat Product Errata RHSA-2026:82860 0 None None None 2026-10-14 10:50:15 UTC

Description OSIDB Bzimport 2026-04-24 15:02:51 UTC
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.

Comment 4 Jon Orris 2026-09-15 06:14:18 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 10

Via RHSA-2026:67471 https://access.redhat.com/errata/RHSA-2026:67471

Comment 5 Jon Orris 2026-09-17 06:56:44 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2026:68532 https://access.redhat.com/errata/RHSA-2026:68532

Comment 6 Jon Orris 2026-09-17 07:20:39 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2026:68531 https://access.redhat.com/errata/RHSA-2026:68531

Comment 7 Jon Orris 2026-09-17 12:15:45 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2026:68570 https://access.redhat.com/errata/RHSA-2026:68570

Comment 8 Jon Orris 2026-10-01 09:01:31 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.6 Extended Update Support

Via RHSA-2026:74174 https://access.redhat.com/errata/RHSA-2026:74174

Comment 9 Jon Orris 2026-10-05 00:36:04 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 10.0 Extended Update Support

Via RHSA-2026:75560 https://access.redhat.com/errata/RHSA-2026:75560

Comment 11 Jon Orris 2026-10-07 02:49:09 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support
  Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On

Via RHSA-2026:77216 https://access.redhat.com/errata/RHSA-2026:77216

Comment 12 Jon Orris 2026-10-07 03:38:57 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support
  Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On

Via RHSA-2026:77217 https://access.redhat.com/errata/RHSA-2026:77217

Comment 13 Jon Orris 2026-10-07 06:27:27 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions

Via RHSA-2026:77218 https://access.redhat.com/errata/RHSA-2026:77218

Comment 14 Jon Orris 2026-10-07 07:05:06 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions
  Red Hat Enterprise Linux 8.8 Telecommunications Update Service

Via RHSA-2026:77301 https://access.redhat.com/errata/RHSA-2026:77301

Comment 15 Jon Orris 2026-10-12 14:20:39 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions

Via RHSA-2026:80908 https://access.redhat.com/errata/RHSA-2026:80908

Comment 16 Jon Orris 2026-10-14 10:50:14 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions

Via RHSA-2026:82860 https://access.redhat.com/errata/RHSA-2026:82860


Note You need to log in before you can comment on or make changes to this bug.