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

State
Published
Severity
Not Scored
Published
Nov 30, 2026
Updated
Nov 30, 2026
Reserved
Nov 30, 2026

Read the record on cve.org

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.

ProductVersions
Linux Linux5e6808b4c68d7882971514ab3279926eb07c8b2d to before f8f7ec1ccc2e2f0fe9801706aa9655b1428b7394 Affected5e6808b4c68d7882971514ab3279926eb07c8b2d to before 6d773e3a8e4a29b6991ba3cc9f84e5551813d4f6 Affected5e6808b4c68d7882971514ab3279926eb07c8b2d to before a90c1fe77463c549b2da5718ca212a663e06618e Affected5e6808b4c68d7882971514ab3279926eb07c8b2d to before 69b78aa3fef0f9c56077578159b94d6b6834f21f Affected5e6808b4c68d7882971514ab3279926eb07c8b2d to before dcaa6219648955f7a8160313f1685321dbd1bf28 Affected
Linux Linux6.5 Affectedbefore 6.5 Not Affected6.6.163 through 6.6.* Not Affected6.12.119 through 6.12.* Not Affected6.18.65 through 6.18.* Not Affected7.3.6 through 7.3.* Not Affected7.4-rc1 and later Not Affected

Weaknesses

The record names no weakness.

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.