Description (CNA)
In the Linux kernel, the following vulnerability has been resolved: octeontx2-pf: reset HTB scheduler topology before freeing queues HTB offload programs NIX_AF_TLxX_TOPOLOGY on QoS-allocated scheduler queues via otx2_qos_txschq_set_parent_topology(), but teardown freed those queues without clearing TOPOLOGY. The AF only restores PARENT and SCHEDULE on free, so PRIO_ANCHOR/RR_PRIO settings can survive in the shared scheduler pool and affect later allocations. Add otx2_qos_reset_schq_topology() and otx2_qos_free_hw_schq() to zero TL4 through TL2 TOPOLOGY before each schq is returned to the AF during hierarchy teardown and cfg rollback. Skip the aggregation level (TL1): it is a per-tx-link queue shared by the PF, default Tx hierarchy and VFs, and is not freed back to the AF by nix_txschq_free_one().
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 5e6808b4c68d7882971514ab3279926eb07c8b2d before 16c5c8ea5017952ff14c87626a45359d195dda6f; affected 5e6808b4c68d7882971514ab3279926eb07c8b2d before 0aa2dd6eaa347c7aab448df0eec0afcfe7489885; affected 5e6808b4c68d7882971514ab3279926eb07c8b2d before 621c99be42e3f5cb68a6af9480a255218a761c4e; affected 5e6808b4c68d7882971514ab3279926eb07c8b2d before 2df186418e17b30b319cf9ff81aad137692ab107; affected 5e6808b4c68d7882971514ab3279926eb07c8b2d before ef39fca8508597fa565cf2be72a884a712fb98af |
| Linux / Linux | affected 6.5; unaffected 0 before 6.5; unaffected 6.6.158 through 6.6.*; unaffected 6.12.111 through 6.12.*; unaffected 6.18.53 through 6.18.*; unaffected 7.2.7 through 7.2.*; unaffected 7.3 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/16c5c8ea5017952ff14c87626a45359d195dda6f
- https://git.kernel.org/stable/c/0aa2dd6eaa347c7aab448df0eec0afcfe7489885
- https://git.kernel.org/stable/c/621c99be42e3f5cb68a6af9480a255218a761c4e
- https://git.kernel.org/stable/c/2df186418e17b30b319cf9ff81aad137692ab107
- https://git.kernel.org/stable/c/ef39fca8508597fa565cf2be72a884a712fb98af