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

Published Nov 30, 2026
·
Updated

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

1 affected component
Linux Linux kernel

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    In the octeontx2 QoS node deletion path, call synchronize_net() before freeing the node.

Event History

Nov 30, 2026
CVE Published
via MITRE·01:32 PM
Data Sourced
via MITRE·01:32 PM
Description

Frequently Asked Questions

1

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 classid. A reader that already holds the hash bucket iterator can then read the deleted node's classid or queue ID from freed memory in the softirq transmit path.

2

What is the relevant remediation in the referenced fixes?

The node must not be freed immediately after hash_del_rcu(). The fix waits for network readers with synchronize_net() before freeing the QoS node.

3

Has this issue been observed in production or at runtime?

No runtime occurrence was reported. The issue was identified during a static-analysis-assisted audit and confirmed through code inspection of the reader and writer paths.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203