🇰🇷 한글 설명
Linux 커널의 media: av7110 드라이버에서 write_ts_to_decoder() 함수 호출 시 언더플로우가 발생할 수 있는 취약점입니다. 사용자가 입력한 값이 계산 과정에서 길이를 음수로 만들 수 있어, 이를 방지하기 위한 경계 검사 로직이 추가되었습니다.
💡 쉬운 설명
사용자가 입력한 특정 숫자가 계산 과정에서 너무 커지면 시스템이 처리할 수 있는 범위를 벗어나 오류가 발생할 수 있습니다. 이로 인해 시스템이 예기치 않게 동작하거나 보안 문제가 생길 수 있어 이를 수정하는 패치가 적용되었습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
media: av7110: prevent underflow in write_ts_to_decoder()
The buf[4] value comes from the user via ts_play(). It is a value in
the u8 range. The final length we pass to av7110_ipack_instant_repack()
is "len - (buf[4] + 1) - 4" so add a check to ensure that the length is
not negative. It's not clear that passing a negative len value does
anything bad necessarily, but it's not best practice.
With the new bounds checking the "if (!len)" condition is no longer
possible or required so remove that.
📍 영향받는 시스템
Linux kernel (media: av7110 드라이버를 사용하는 시스템)
⚔️ 공격 벡터
사용자가 ts_play() 함수를 통해 조작된 buf[4] 값을 전달하여 발생
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트
🔧 검증 코드
현재 실행 중인 커널 버전을 확인하여 해당 취약점이 해결된 패치 버전인지 확인