🇰🇷 한글 설명
Linux 커널의 octeontx2-af 구성 요소에서 NIX TM 트리 디버그fs 읽기 경로 중 NULL 역참조 취약점이 발견되었습니다. 전송 큐가 설정되지 않은 NIX LF에 대해 관련 디버그 파일을 읽을 경우 커널 오류(kernel oops)가 발생할 수 있습니다.
💡 쉬운 설명
시스템의 특정 정보를 확인하는 과정에서 준비되지 않은 데이터를 참조하여 컴퓨터 시스템이 갑자기 멈추거나 오류를 일으킬 수 있는 문제입니다. 이는 해킹보다는 시스템 설정 오류로 인해 발생할 가능성이 높습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
octeontx2-af: fix NULL deref in NIX TM tree debugfs read path
rvu_dbg_nix_tm_tree_display() dereferences pfvf->sq_ctx without
checking whether the SQ context has been allocated. Reading
/sys/kernel/debug/octeontx2/nix/tm_tree for a NIX LF whose transmit
queues are not set up triggers a kernel oops.
Guard the read path the same way rvu_dbg_nix_tm_tree_write() already
does and return -EINVAL with a seq_file message when sq_ctx is NULL.
📍 영향받는 시스템
octeontx2 드라이버를 사용하는 Linux 커널 시스템
⚔️ 공격 벡터
로컬 사용자가 특정 디버그 파일(/sys/kernel/debug/octeontx2/nix/tm_tree)을 읽는 행위를 통해 트리거 가능
🛡️ 대응 방법
해당 취약점이 수정된 최신 버전의 Linux 커널로 업데이트
🔧 검증 코드
출력된 커널 버전이 취약점이 수정된 패치 버전 이후인지 확인