🇰🇷 한글 설명
Linux 커널의 octeontx2-pf 드라이버에서 HTB 스케줄러 토폴로지를 해제하기 전에 초기화하지 않아 발생하는 취약점입니다. 계층 구조 해제 시 특정 설정이 공유 스케줄러 풀에 남아 있어, 이후 할당되는 다른 큐의 동작에 영향을 줄 수 있습니다.
💡 쉬운 설명
네트워크 데이터를 처리하는 통로의 설정값이 제대로 지워지지 않고 남아 있는 문제입니다. 이로 인해 나중에 새로 만들어진 통로가 이전의 잘못된 설정 때문에 오작동할 수 있습니다.
🇺🇸 원문 (English)
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().
📍 영향받는 시스템
Linux kernel (octeontx2-pf driver components)
⚔️ 공격 벡터
로컬 공격자가 네트워크 계층 구조를 반복적으로 생성 및 해제하여 공유 스케줄러 풀의 설정을 오염시킴
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하여 otx2_qos_reset_schq_topology() 기능이 포함되도록 함
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인합니다.