CVE-2026-139248
JSON

Not scored

octeontx2: Fix use-after-free of qos node in delete path

Severity
Not scored
Exploit likelihood
0.20% (higher than 10% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

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.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 5e6808b4c68d7882971514ab3279926eb07c8b2d before f8f7ec1ccc2e2f0fe9801706aa9655b1428b7394, from 5e6808b4c68d7882971514ab3279926eb07c8b2d before 6d773e3a8e4a29b6991ba3cc9f84e5551813d4f6, from 5e6808b4c68d7882971514ab3279926eb07c8b2d before a90c1fe77463c549b2da5718ca212a663e06618e, from 5e6808b4c68d7882971514ab3279926eb07c8b2d before 69b78aa3fef0f9c56077578159b94d6b6834f21f, from 5e6808b4c68d7882971514ab3279926eb07c8b2d before dcaa6219648955f7a8160313f1685321dbd1bf28, 6.5
Not affected: before 6.5, from 6.6.163 up to 6.6.*, from 6.12.119 up to 6.12.*, from 6.18.65 up to 6.18.*, from 7.3.6 up to 7.3.*, from 7.4-rc1 up to *
CVE List

References

Sources

SourceRecordLicence
CVE ListCVE-2026-139248 changed 2026-11-30CVE Terms of Use
NVDCVE-2026-139248 changed 2026-11-30Public domain