Linux octeontx2: use-after-free of QoS node in delete path
Key facts
- Attack vector
- —
- Privileges required
- —
- User interaction
- —
- Attack complexity
- —
- Impact type
- —
- Confidentiality · integrity · availability
- —
- Fix status
- Fixed
No CVSS vector from any source. Fix status from CNA.
Summary
The octeontx2 driver in the Linux kernel frees a QoS node in its delete path without waiting for an RCU grace period. hash_del_rcu() only unlinks the node, so a reader holding the bucket iterator can still use it. A concurrent transmit on a socket whose skb priority carries the deleted classid can then read node->classid and node->qid from freed memory, a use-after-free in the softirq transmit path. Static analysis and code inspection found the issue, not a runtime observation, and it affects kernels from 6.5 onward.
Written with Claude Haiku 5.5 from the sources below · 2026-11-30
Description from the CNA
In the Linux kernel, the following vulnerability has been resolved: octeontx2: Fix use-after-free of qos node in delete path hash_del_rcu() only unlinks the node; a reader that already holds the bucket iterator still uses the node. The immediate kfree() has no grace period, so a concurrent transmit on a socket whose skb priority carries the deleted classid reads node->classid / node->qid from freed memory (use-after-free in the softirq transmit path). Fix this by calling synchronize_net() before the node is freed, as mlx5e does. Found during a static-analysis-assisted audit: candidate sites were surfaced by a Coccinelle rule, and the reader/writer paths were confirmed by LLM-assisted (GLM-5.3) code inspection. The issue was not observed at runtime; it is identified by code inspection only.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
Remediation
Upgrade to Linux kernel 6.6.163, 6.12.119, 6.18.65, 7.3.6 or 7.4-rc1 or later. The fix calls synchronize_net() before the node is freed, as mlx5e does.
Written with Claude Haiku 5.5 from the sources below · 2026-11-30
- Fix · CNA Linux (Linux) Fixed in 6.6.163, 6.12.119, 6.18.65, 7.3.6, 7.4-rc1
Timeline
- 2026-11-30 Threatist record created from CVE-2026-139248
- 2026-11-30 Alias added: GHSA-fgwf-vqr8-576q
References
Other 5
- https://git.kernel.org/stable/c/f8f7ec1ccc2e2f0fe9801706aa9655b1428b7394
- https://git.kernel.org/stable/c/6d773e3a8e4a29b6991ba3cc9f84e5551813d4f6
- https://git.kernel.org/stable/c/a90c1fe77463c549b2da5718ca212a663e06618e
- https://git.kernel.org/stable/c/69b78aa3fef0f9c56077578159b94d6b6834f21f
- https://git.kernel.org/stable/c/dcaa6219648955f7a8160313f1685321dbd1bf28
More Linux vulnerabilities
- TI-2025-26358 Zero-length TLS records mishandled on rx_list in Linux kernel KEVCVSS 3.1CRITICAL 9.8
- TI-2026-38352 Out-of-bounds write in Linux kernel ebtables SNAT ARP rewrite KEVCVSS 3.1HIGH 8.8
- TI-2021-02452 Overlayfs flaw in Linux kernel lets attackers gain elevated privileges KEVCVSS 3.1HIGH 8.8
- TI-2013-05264 Missing address checks in Linux kernel get_user and put_user on ARM KEVCVSS 3.1HIGH 8.8
- TI-2022-00125 Heap overflow in Linux kernel lets local users escalate privileges KEVCVSS 3.1HIGH 8.4
- TI-2013-01864 Wrong integer type in Linux kernel perf_swevent_init KEVCVSS 3.1HIGH 8.4
Sources
- CVE-2026-139248 · CVE Program
- CVE-2026-139248 · NVD
- GHSA-fgwf-vqr8-576q · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences