Bug 2586918 (CVE-2026-139248) - CVE-2026-139248 kernel: kernel: octeontx2: Denial of Service via use-after-free in QoS node deletion
Summary: CVE-2026-139248 kernel: kernel: octeontx2: Denial of Service via use-after-fr...
Keywords:
Status: NEW
Alias: CVE-2026-139248
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-11-30 14:48 UTC by OSIDB Bzimport
Modified: 2026-12-01 07:07 UTC (History)
17 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-11-30 14:48:14 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.