CVE-2026-139133
published high CVSS 3.1 · 8.1octeontx2-pf: fix skb use-after-free on ipsec transmit drop
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux6a77a158848a8c68930df27b8840660db8531222 to < 0043132c0b21661fe5b887b30ebb5114955cf7bc · 6a77a158848a8c68930df27b8840660db8531222 to < dda90148483fb3ef8f6c1d3842b4970bdddc238d · 6a77a158848a8c68930df27b8840660db8531222 to < 14d01ff1a4952198abae713a4ad428e07819b4aa · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.14 (affected) · 0 to < 6.14 (unaffected · semver) · 6.18.65 through 6.18.* (unaffected · semver) · 7.3.6 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
Description
In the Linux kernel, the following vulnerability has been resolved: octeontx2-pf: fix skb use-after-free on ipsec transmit drop When an SA is removed while packets for it are still queued, the transmit path frees the packet but reports the queue as busy. The stack then requeues the freed skb, and the DMA mappings leak.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.1 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:N - The freed object is a packet forwarded into an offloaded ESP SA. ip_forward -> xfrm_output -> qdisc -> otx2_xmit -> otx2_sq_append_skb -> cn10k_ipsec_transmit frees it at drop: and the BUSY return makes dev_requeue_skb replay it. A remote host supplies that traffic and its ESP stream is what gets damaged; there is no malformed input, so AV:N applies only under the no-input rule. AC:H - The drop only fires when cn10k_ipsec_del_state has zeroed x->xso.offload_handle while that SA's packets are still queued. That needs an SA deletion (an IKE rekey or delete, an admin XFRM_MSG_DELSA, or lifetime expiry), which the remote sender cannot cause, even though it can keep the egress qdisc backed up. PR:N - Feeding the queued skbs needs no credentials on the gateway. Hosts whose traffic is forwarded into the offloaded SA, or remote peers whose traffic the gateway replies to through it, do not authenticate. Deleting the SA locally needs CAP_NET_ADMIN in the netns that holds the NIC, but that is the AC:H precondition, not the attacker's own capability. UI:N - No victim action is needed: normal transmit traffic on the SA plus a routine SA deletion or rekey produces the bug, and no user has to open, mount or run anything. S:U - The use-after-free is inside the host kernel's own qdisc/ndo_start_xmit path (sch_direct_xmit -> dev_requeue_skb -> otx2_xmit). It crosses no VM, IOMMU or sandbox boundary. C:H - The freed sk_buff is requeued in q->gso_skb and later sent through otx2_xmit. Once slab reuse hands that object to a new live skb, the driver DMA-maps and transmits memory it does not own, which is a kernel heap read primitive. I:H - dev_requeue_skb writes skb->next/prev and qdisc backlog through the freed skb. The replayed xmit then frees it again with dev_kfree_skb_any, giving a double free and two owners of a live sk_buff, a well-known path to heap corruption and control-flow hijack. A:H - Once triggered, the freed skb loops through requeue and retransmit, and the second free or a corrupted skb dereference oopses in softirq with HARD_TX_LOCK held. That brings down the IPsec gateway.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 6a77a158848a8c68930df27b8840660db8531222 to < 0043132c0b21661fe5b887b30ebb5114955cf7bc (affected · git)6a77a158848a8c68930df27b8840660db8531222 to < dda90148483fb3ef8f6c1d3842b4970bdddc238d (affected · git)6a77a158848a8c68930df27b8840660db8531222 to < 14d01ff1a4952198abae713a4ad428e07819b4aa (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.14 (affected)0 to < 6.14 (unaffected · semver)6.18.65 through 6.18.* (unaffected · semver)7.3.6 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
3Provider assertions
1Linux · cna
octeontx2-pf: fix skb use-after-free on ipsec transmit drop
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 30cd38634499192bfbb5870b006cf31aae9235698fdb8b6f155d974687fff50e
- Ingested
- 01 Dec 2026, 05:47:22 UTC
- Source record
- Official CVE record