# CVE-2026-97966: octeontx2-pf: reset HTB scheduler topology before freeing queues

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.20%, higher than 10% of CVEs (2026-12-01)
- Published: 2026-09-25T10:23:08.543Z
- Modified: 2026-10-19T10:17:48.000Z
- Assigned by: Linux

## Description

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().

(As written by CVE List.)

## Affected

- Linux Linux: from 5e6808b4c68d7882971514ab3279926eb07c8b2d before 16c5c8ea5017952ff14c87626a45359d195dda6f; from 5e6808b4c68d7882971514ab3279926eb07c8b2d before 0aa2dd6eaa347c7aab448df0eec0afcfe7489885; from 5e6808b4c68d7882971514ab3279926eb07c8b2d before 621c99be42e3f5cb68a6af9480a255218a761c4e; from 5e6808b4c68d7882971514ab3279926eb07c8b2d before 2df186418e17b30b319cf9ff81aad137692ab107; from 5e6808b4c68d7882971514ab3279926eb07c8b2d before ef39fca8508597fa565cf2be72a884a712fb98af; 6.5 (not affected: before 6.5; from 6.6.158 up to 6.6.*; from 6.12.111 up to 6.12.*; from 6.18.53 up to 6.18.*; from 7.2.7 up to 7.2.*; from 7.3 up to *)

## 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>

## Sources

- CVE List: [CVE-2026-97966](https://www.cve.org/CVERecord?id=CVE-2026-97966), CVE Terms of Use, modified 2026-10-19
- NVD: [CVE-2026-97966](https://nvd.nist.gov/vuln/detail/CVE-2026-97966), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2026-97966 · Whole record: https://cve.day/CVE-2026-97966.json · Rebuilt by cve.day 2026-11-25T22:59:41.006Z
