🇰🇷 한글 설명
Linux 커널의 dvb-frontends/rtl2832 드라이버에서 인덱스 범위 검사 오류로 인한 경계 외 쓰기(Out-of-bounds write) 취약점이 발견되었습니다. rtl2832_pid_filter 함수에서 인덱스가 32 이상일 경우 존재하지 않는 비트에 접근을 시도하여 메모리 오염을 유발할 수 있습니다.
💡 쉬운 설명
특정 하드웨어 드라이버가 데이터를 저장할 때 정해진 칸보다 더 먼 곳에 데이터를 쓰려고 시도하는 오류입니다. 이로 인해 시스템이 불안정해지거나 보안 문제가 발생할 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
drivers: media: dvb-frontends/rtl2832: fix an out-of-bounds write error
Ensure index in rtl2832_pid_filter does not exceed 31 to prevent
out-of-bounds access.
dev->filters is a 32-bit value, so set_bit and clear_bit functions should
only operate on indices from 0 to 31. If index is 32, it will attempt to
access a non-existent 33rd bit, leading to out-of-bounds access.
Change the boundary check from index > 32 to index >= 32 to resolve this
issue.
[hverkuil: added fixes tag, rtl2830_pid_filter -> rtl2832_pid_filter in logmsg]
📍 영향받는 시스템
Linux kernel (drivers/media/dvb-frontends/rtl2832 관련 모듈 사용 시스템)
⚔️ 공격 벡터
조작된 입력값을 통해 드라이버의 인덱스 범위를 벗어나게 하여 메모리 쓰기 유도
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하여 인덱스 경계 검사 로직 수정 적용
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 수정된 패치 버전 이후인지 확인