octeontx2-pf: reset HTB scheduler topology before freeing queues
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 6.6.158, 6.12.111, 6.18.53, 7.2.7
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
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().
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From 5e6808b4c68d7882971514ab3279926eb07c8b2d · fixed in 16c5c8ea5017952ff14c87626a45359d195dda6f; From 5e6808b4c68d7882971514ab3279926eb07c8b2d · fixed in 0aa2dd6eaa347c7aab448df0eec0afcfe7489885; From 5e6808b4c68d7882971514ab3279926eb07c8b2d · fixed in 621c99be42e3f5cb68a6af9480a255218a761c4e; From 5e6808b4c68d7882971514ab3279926eb07c8b2d · fixed in 2df186418e17b30b319cf9ff81aad137692ab107; From 5e6808b4c68d7882971514ab3279926eb07c8b2d · fixed in ef39fca8508597fa565cf2be72a884a712fb98af
- Linux Linux
6.5
- KernelLinux
From 6.5.0 · fixed in 6.6.158; From 6.7.0 · fixed in 6.12.111; From 6.13.0 · fixed in 6.18.53; From 6.19.0 · fixed in 7.2.7