🇰🇷 한글 설명
Linux 커널의 octeontx2-pf 드라이버에서 AF_XDP 제로 카피 큐 인덱스를 처리할 때 NULL 포인터 역참조가 발생할 수 있는 취약점입니다. 특정 설정 과정에서 초기화되지 않은 포인터를 참조하여 시스템이 중단(Oops)될 수 있는 결함이 수정되었습니다.
💡 쉬운 설명
컴퓨터의 네트워크 장치를 설정하는 과정에서 잘못된 메모리 주소를 참조하여 시스템이 갑자기 멈추거나 오류가 발생하는 문제입니다. 특정 네트워크 기능을 켤 때 발생할 수 있는 소프트웨어 설계 오류입니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
octeontx2-pf: fix NULL deref of af_xdp_zc_qidx on rep setup
af_xdp_zc_qidx tracks receive queues using AF_XDP zero-copy and is
allocated during PF/VF probe. Representors and other non-AF_XDP paths
leave the pointer NULL, but several call sites used test_bit() on it
unconditionally.
Switching to devlink eswitch mode creates representors and runs
otx2_init_hw_resources(), which reaches otx2_pool_aq_init() and oopses
when dereferencing the NULL bitmap. Add NULL checks before every
af_xdp_zc_qidx test_bit() use in the RSS, ethtool, XSK, and pool init
paths.
📍 영향받는 시스템
Linux kernel (octeontx2-pf driver 사용 환경)
⚔️ 공격 벡터
로컬 공격자가 네트워크 설정(devlink eswitch mode 등)을 변경하여 시스템 오류를 유도할 수 있음
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 수정된 패치 버전 이후인지 확인하십시오.