🇰🇷 한글 설명
Linux 커널의 octeontx2-pf 드라이버에서 CONFIG_DCB가 활성화된 경우 aura BPID 할당 과정에 오류가 발생합니다. SDP VF 환경에서 초기화되지 않은 queue_to_pfc_map을 참조하여 잘못된 메모리 접근이 발생할 수 있는 취약점입니다.
💡 쉬운 설명
컴퓨터의 핵심 부품인 커널에서 특정 설정이 켜져 있을 때, 준비되지 않은 메모리 영역을 건드려 시스템 오류를 일으킬 수 있는 문제입니다. 이로 인해 프로그램이 갑자기 종료되거나 시스템이 불안정해질 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
octeontx2-pf: Fix aura BPID assignment when CONFIG_DCB is enabled
Previously, BPID assignment under CONFIG_DCB assumed
`queue_to_pfc_map` was always initialized. For SDP VFs this leads to
invalid memory access as it was not initialized.
This patch adds a NULL check for `queue_to_pfc_map` before
dereferencing it. Also, simplifies the logic by always assigning a
default BPID first, then conditionally overriding it if CONFIG_DCB is
enabled and the map exists.
📍 영향받는 시스템
CONFIG_DCB가 활성화된 Linux 커널을 사용하는 Octeon TX2 기반 시스템
⚔️ 공격 벡터
로컬 공격자가 특정 네트워크 설정(SDP VF)을 유도하여 잘못된 메모리 참조를 발생시킴
🛡️ 대응 방법
해당 취약점이 수정된 최신 버전의 Linux 커널로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 패치가 적용된 최신 버전인지 확인