🇰🇷 한글 설명
리눅스 커널의 keyspan_pda USB 시리얼 드라이버에서 정보 유출 취약점이 발견되었습니다. write() 콜백 함수가 버퍼 범위를 초과하여 데이터를 반환함으로써, 의도하지 않은 메모리 영역의 데이터가 유출될 수 있는 문제입니다.
💡 쉬운 설명
컴퓨터의 특정 장치(USB 시리얼)가 데이터를 처리할 때, 정해진 양보다 더 많은 양을 처리했다고 잘못 보고하는 오류가 있습니다. 이로 인해 시스템 내부의 민감한 정보가 외부로 흘러나갈 위험이 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
USB: serial: keyspan_pda: fix information leak
The write() callback is supposed to return the number of characters
accepted or a negative errno. Since the addition of write fifo support
the keyspan_pda implementation will however return the number characters
submitted to the device if the write urb is not already in use. If this
number is larger than the number of characters passed to write(), the
line discipline continues writing data from beyond the tty write buffer.
Fix the information leak by making sure that keyspan_pda_write_start()
returns zero on success as intended.
📍 영향받는 시스템
keyspan_pda 드라이버를 사용하는 Linux Kernel (write fifo 지원 기능 포함 버전)
⚔️ 공격 벡터
로컬 공격자가 조작된 write() 요청을 통해 커널 메모리 내의 민감한 정보를 읽어냄
🛡️ 대응 방법
keyspan_pda_write_start() 함수가 의도대로 0을 반환하도록 수정된 최신 리눅스 커널로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 패치된 최신 보안 업데이트 버전인지 확인