octeontx2: Fix use-after-free of qos node in delete path
Summary
| CVE | CVE-2026-139248 |
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-11-30 14:18:47 UTC |
| Updated | 2026-11-30 14:18:47 UTC |
| Description | 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. |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|
| CNA |
Linux |
Linux |
affected 5e6808b4c68d7882971514ab3279926eb07c8b2d f8f7ec1ccc2e2f0fe9801706aa9655b1428b7394 git |
Not specified |
| CNA |
Linux |
Linux |
affected 5e6808b4c68d7882971514ab3279926eb07c8b2d 6d773e3a8e4a29b6991ba3cc9f84e5551813d4f6 git |
Not specified |
| CNA |
Linux |
Linux |
affected 5e6808b4c68d7882971514ab3279926eb07c8b2d a90c1fe77463c549b2da5718ca212a663e06618e git |
Not specified |
| CNA |
Linux |
Linux |
affected 5e6808b4c68d7882971514ab3279926eb07c8b2d 69b78aa3fef0f9c56077578159b94d6b6834f21f git |
Not specified |
| CNA |
Linux |
Linux |
affected 5e6808b4c68d7882971514ab3279926eb07c8b2d dcaa6219648955f7a8160313f1685321dbd1bf28 git |
Not specified |
| CNA |
Linux |
Linux |
affected 6.5 |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.5 semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.6.163 6.6.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.12.119 6.12.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.18.65 6.18.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 7.3.6 7.3.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 7.4-rc1 * original_commit_for_fix |
Not specified |
References
| Reference | Source | Link | Tags |
|---|
| git.kernel.org/stable/c/a90c1fe77463c549b2da5718ca212a663e06618e |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/69b78aa3fef0f9c56077578159b94d6b6834f21f |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/f8f7ec1ccc2e2f0fe9801706aa9655b1428b7394 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/6d773e3a8e4a29b6991ba3cc9f84e5551813d4f6 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/dcaa6219648955f7a8160313f1685321dbd1bf28 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| CVE Program record |
CVE.ORG |
www.cve.org |
canonical |
| NVD vulnerability detail |
NVD |
nvd.nist.gov |
canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.