ice: fix double-free of tx_buf skb
Published Jun 24, 2026
7.8
HIGHCVSS 3.1
EPSS 0.19%
Description
If ice_tso() or ice_tx_csum() fail, the error path in ice_xmit_frame_ring() frees the skb, but the 'first' tx_buf still points to it and is marked as valid (ICE_TX_BUF_SKB). 'next_to_use' remains unchanged, so the potential problem will likely fix itself when the next packet is transmitted and the tx_buf gets overwritten. But if there is no next packet and the interface is brought down instead, ice_clean_tx_ring() -> ice_unmap_and_free_tx_buf() will find the tx_buf and free the skb for the second time.
The fix is to reset the tx_buf type to ICE_TX_BUF_EMPTY in the error path, so that ice_unmap_and_free_tx_buf(). Move the initialization of 'first' up, to ensure it's already valid in case we hit the linearization error path.
The bug was spotted by AI while I had it looking for something else. It also proposed an initial version of the patch.
I reproduced the bug and tested the fix by adding code to inject failures, on a build with KASAN.
I looked for similar bugs in related Intel drivers and did not find any.
Affected products
-
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version
-
- Version 4.17StatusaffectedConstraints-
- Version 0StatusunaffectedConstraints<4.17
- Version 7.0.10StatusunaffectedConstraints<=7.0.*
- Version 7.1StatusunaffectedConstraints<=*
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
Configuration 1
- ≥ 4.17 · < 7.0.10
Configuration 2
- 7.0
- 8.0
- 9.0
- 10.0
No data.
Red Hat Enterprise Linux 10
kernel-0:6.12.0-211.37.1.el10_2
Fixed · RHSA-2026:42919
Red Hat Enterprise Linux 10.0 Extended Update Support
kernel-0:6.12.0-55.105.1.el10_0
Fixed · RHSA-2026:69089
Red Hat Enterprise Linux 8
kernel-0:4.18.0-553.155.1.el8_10
Fixed · RHSA-2026:54246
Red Hat Enterprise Linux 8
kernel-rt-0:4.18.0-553.155.1.rt7.496.el8_10
Fixed · RHSA-2026:54247
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support
kernel-0:4.18.0-372.213.1.el8_6
Fixed · RHSA-2026:65711
Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On
kernel-0:4.18.0-372.213.1.el8_6
Fixed · RHSA-2026:65711
Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions
kernel-0:5.14.0-427.149.1.el9_4
Fixed · RHSA-2026:65712
Red Hat Enterprise Linux 6
kernel
Not affected
Red Hat Enterprise Linux 7
kernel
Affected
Red Hat Enterprise Linux 7
kernel-rt
Affected
Red Hat Enterprise Linux 9
kernel
Affected
Red Hat Enterprise Linux 9
kernel-rt
Affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 10 | kernel-0:6.12.0-211.37.1.el10_2 | Fixed | RHSA-2026:42919 |
| Red Hat Enterprise Linux 10.0 Extended Update Support | kernel-0:6.12.0-55.105.1.el10_0 | Fixed | RHSA-2026:69089 |
| Red Hat Enterprise Linux 8 | kernel-0:4.18.0-553.155.1.el8_10 | Fixed | RHSA-2026:54246 |
| Red Hat Enterprise Linux 8 | kernel-rt-0:4.18.0-553.155.1.rt7.496.el8_10 | Fixed | RHSA-2026:54247 |
| Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support | kernel-0:4.18.0-372.213.1.el8_6 | Fixed | RHSA-2026:65711 |
| Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On | kernel-0:4.18.0-372.213.1.el8_6 | Fixed | RHSA-2026:65711 |
| Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions | kernel-0:5.14.0-427.149.1.el9_4 | Fixed | RHSA-2026:65712 |
| Red Hat Enterprise Linux 6 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 7 | kernel | Affected | n/a |
| Red Hat Enterprise Linux 7 | kernel-rt | Affected | n/a |
| Red Hat Enterprise Linux 9 | kernel | Affected | n/a |
| Red Hat Enterprise Linux 9 | kernel-rt | Affected | n/a |
No package ranges for this CVE.
Remediation
Red Hat statement
A double free can occur in the Intel ice TX path when ice_xmit_frame_ring() stores an skb in the first tx_buf and marks it as ICE_TX_BUF_SKB, then an ice_tso() or ice_tx_csum() failure drops and frees the skb while the tx_buf still points to it. If no later packet overwrites that descriptor before the interface or TX ring is cleaned, ice_clean_tx_ring() can free the same skb again. For the CVSS the PR:L because a local user or process that can transmit traffic through an affected ice interface may reach the TX path, although reliable triggering also depends on forcing an offload error and a later cleanup window.
Red Hat mitigation
To mitigate this issue, prevent module ice from being loaded. Please see https://access.redhat.com/solutions/41278 for how to blacklist a kernel module to prevent it from loading automatically.
References (14)
- https://access.redhat.com/errata/RHSA-2026:42919
- https://access.redhat.com/errata/RHSA-2026:54246
- https://access.redhat.com/errata/RHSA-2026:54247
- https://access.redhat.com/errata/RHSA-2026:65711
- https://access.redhat.com/errata/RHSA-2026:65712
- https://access.redhat.com/security/cve/CVE-2026-53009 Third Party AdvisoryVendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2492390 Third Party AdvisoryIssue Tracking
- https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-38877 Advisory
- https://git.kernel.org/stable/c/1a303baa715e6b78d6a406aaf335f87ff35acfcd Patch
- https://git.kernel.org/stable/c/4c08fc2119ef0281cfa2cee007acf0a251be55f2 Patch
- https://lore.kernel.org/linux-cve-announce/2026062449-CVE-2026-53009-4fef@gregkh/T
- https://nvd.nist.gov/vuln/detail/CVE-2026-53009
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-53009.json Third Party Advisory
- https://www.cve.org/CVERecord?id=CVE-2026-53009
Change history (0)
No recorded changes yet.