漏洞信息
# octeontx2-pf: QOS: 重构 TC_HTB_LEAF_DEL_LAST 回调函数
## 漏洞概述
该漏洞与Linux内核中的octeontx2-pf: QOS模块有关,主要涉及TC_HTB_LEAF_DEL_LAST回调函数的处理。该漏洞可能导致系统重启时发生警告消息,并影响队列的正常删除和重新分配。
## 细节
1. **停止活动流量**:在重新分配发送队列给父节点之前,必须停止叶节点上的活动流量。该补丁通过将节点标记为'Inner'来解决这一问题。
2. **系统重启时的处理**:系统重启时,接口接收到TC_HTB_LEAF_DEL和TC_HTB_LEAF_DEL_LAST回调以删除HTB队列。在TC_HTB_LEAF_DEL_LAST情况下,虽然发送队列重新分配给父节点,但现有逻辑仍然尝试更新实际队列数量,导致以下警告:
```
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
```
## 影响
该漏洞影响Linux内核中octeontx2-pf: QOS模块的版本,可能导致系统重启时生成警告信息,并影响队列的正确删除和重新分配。
提示
尽管我们采用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。
神龙会尽力确保数据准确,但也请结合实际情况进行甄别与判断。
神龙祝您一切顺利!
漏洞标题
octeontx2-pf: QOS: Refactor TC_HTB_LEAF_DEL_LAST callback
漏洞描述信息
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,
1. 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'.
2. 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
CVSS信息
N/A
漏洞类别
N/A
漏洞标题
Linux kernel 安全漏洞
漏洞描述信息
Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于octeontx2-pf中的队列更新问题,可能导致系统警告。
CVSS信息
N/A
漏洞类别
其他