CVE-2025-38278
kernel: octeontx2-pf: QOS: Refactor TC_HTB_LEAF_DEL_LAST callback
Severity
LowRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · July 10, 2025
Updated · October 17, 2026
Description
In the Linux kernel, the following vulnerability has been resolved:
octeontx2-pf: QOS: Refactor TC_HTB_LEAF_DEL_LAST callback
This patch addresses below issues,
-
Active traffic on the leaf node must be stopped before its send queue is reassigned to the parent. This patch resolves the issue by marking the node as 'Inner'.
-
During a system reboot, the interface receives TC_HTB_LEAF_DEL and TC_HTB_LEAF_DEL_LAST callbacks to delete its HTB queues. In the case of TC_HTB_LEAF_DEL_LAST, although the same send queue is reassigned to the parent, the current logic still attempts to update the real number of queues, leadning to below warnings
New queues can't be registered after device unregistration. WARNING: CPU: 0 PID: 6475 at net/core/net-sysfs.c:1714 netdev_queue_update_kobjects+0x1e4/0x200
Statement
A flaw was found in the Marvell octeontx2-pf driver when handling HTB queue deletion during system shutdown or reconfiguration. Specifically, when processing the TC_HTB_LEAF_DEL_LAST callback, the send queue may be reassigned to the parent class before active traffic is stopped, or the real number of TX queues may be incorrectly updated after device unregistration.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.
CVSS / CWE
CVSS 3.1 · 4.1CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:N/I:N/A:H
CWE-416 · Use After Free