🇰🇷 한글 설명
Linux 커널의 t7xx WWAN 드라이버에서 netif 인덱스에 대한 범위 검증이 누락되어 발생하는 취약점입니다. DPMAIF PIT 헤더의 인덱스가 배열의 크기를 초과할 경우, 경계 밖의 메모리 영역을 참조하여 잘못된 구조체를 역참조할 수 있습니다.
💡 쉬운 설명
네트워크 장치 번호를 확인하는 과정에서 정해진 범위를 벗어난 번호가 들어올 경우, 시스템이 잘못된 메모리 위치를 읽어 오류를 일으킬 수 있는 문제입니다. 이를 통해 시스템이 불안정해지거나 예기치 않은 동작이 발생할 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
net: wwan: t7xx: validate the netif index in t7xx_ccmni_recv_skb()
The netif index carried in the DPMAIF PIT header is five bits wide,
but ccmni_inst[] only has room for NIC_DEV_MAX (21) entries.
t7xx_ccmni_recv_skb() indexes the array without a bounds check, so
indexes 21 to 31 read past it. The out-of-bounds value lands in the
callback table that follows the array, which is never NULL, so the
existing !ccmni check does not catch it and the driver dereferences
whatever sits there as a struct t7xx_ccmni.
Drop the skb when the index is out of range.
Verified in a QEMU guest with a fault injector setting the netif
index to 25: the unpatched driver reads a value past ccmni_inst[],
which lands in the callback table, and dereferences it far enough to
queue the skb. With this check the packet is dropped. Well-formed
traffic on index 0 is unaffected.
Changes in v2: none.
📍 영향받는 시스템
Linux kernel (t7xx wwan driver 포함 버전)
⚔️ 공격 벡터
조작된 netif index를 포함한 DPMAIF PIT 헤더 패킷을 전송하여 발생
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 수정된 패치 버전 이후인지 확인
💻 영향받는 소프트웨어
NVIDIA Cloud Gaming Guest Driver for Linux