AZL-116986: CVE-2026-139248 affecting package kernel 6.6.161.1-1
In the Linux kernel, the following vulnerability has been resolved:
octeontx2: Fix use-after-free of qos node in delete path
hashdelrcu() 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 synchronizenet() 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 Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
Call synchronize_net() before freeing the QoS node so concurrent readers have completed before the memory is released.
Event History
Frequently Asked Questions
What conditions are required to trigger the use-after-free?
A QoS node must be deleted while a concurrent transmit is occurring on a socket whose skb priority carries the deleted class ID. The transmit-side reader must already hold a hash bucket iterator when the node is unlinked and immediately freed.
Is this known to be exploitable in observed runtime conditions?
The issue was identified through static-analysis-assisted code inspection and was not observed at runtime. The provided information does not establish a demonstrated exploit or runtime impact.
What change addresses the unsafe deletion path?
The resolved code calls synchronize_net() before freeing the deleted QoS node. This provides a grace period for concurrent network readers after hash_del_rcu() unlinks the node.