🇰🇷 한글 설명
Linux 커널의 dib7090p 드라이버 dvb-frontends 모듈에서 발생하는 null 포인터 참조 취약점입니다. 사용자 제어 가능한 msg 구조체에서 msg[0].buf가 null이고 msg[0].len이 0일 때 충분한 검사 없이 msg[0].buf[2]에 접근하여 null 포인터 참조를 유발합니다. msg[1].buf[0]과 msg[1].buf[1] 접근 시에도 유사한 문제가 발생합니다.
💡 쉬운 설명
Linux 커널의 미디어 드라이버가 사용자 입력값을 검증하지 않아 시스템 충돌이 발생할 수 있습니다. 이 취약점으로 서비스 거부(DoS) 공격을 통해 영향받는 장치를 마비시킬 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
media: dvb-frontends: dib7090p: fix null-ptr-deref in dib7090p_rw_on_apb()
In dib7090p_rw_on_apb, msg is controlled by user. When msg[0].buf is null and
msg[0].len is zero, former checks on msg[0].buf would be passed. If accessing
msg[0].buf[2] without sanity check, null pointer deref would happen. We add
check on msg[0].len to prevent crash. Similar issue occurs when access
msg[1].buf[0] and msg[1].buf[1].
Similar commit: commit 0ed554fd769a ("media: dvb-usb: az6027: fix null-ptr-deref in az6027_i2c_xfer()")
📍 영향받는 시스템
CVE-2025-38694 패치 이전의 Linux 커널 dib7090p DVB 프론트엔드 드라이버
⚔️ 공격 벡터
잘못된 구조의 메시지를 dib7090p_rw_on_apb() 함수에 전송하여 null 포인터 참조 오류 유발
🛡️ 대응 방법
Linux 커널을 최신 버전으로 업데이트하여 msg 길이 검증 패치 적용
🔧 검증 코드
CONFIG_DVB_DIB7090P=y 또는 =m이 표시되면 드라이버가 활성화되어 있으며, 해당 커널 버전이 CVE-2025-38694 패치 포함 여부를 커널 릴리스 노트로 확인
grep -E "^CONFIG_DVB_DIB7090P" /boot/config-$(uname -r) 2>/dev/null | head -1