🇰🇷 한글 설명
Linux 커널의 HID PlayStation 드라이버에서 터치 보고서 개수를 제한하지 않아 발생하는 취약점입니다. 악의적인 장치가 잘못된 보고서 개수를 전달할 경우, 배열 범위를 초과하여 읽는 메모리 오버런이 발생할 수 있습니다.
💡 쉬운 설명
플레이스테이션 컨트롤러를 흉내 내는 가짜 장치가 컴퓨터에 연결될 때 발생할 수 있는 문제입니다. 장치가 거짓 정보를 보내 컴퓨터의 메모리 일부를 잘못 읽게 만들어 보안 문제를 일으킬 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
HID: playstation: Clamp num_touch_reports
A device would never lie about the number of touch reports would it?
If it does the loop in dualshock4_parse_report will read off the end of
the touch_reports array, up to about 2 KiB for the maximum number of 256
loop iteraions. The data that is read is emitted via evdev if the
DS4_TOUCH_POINT_INACTIVE bit happens to be set. Protect against this by
clamping the num_touch_reports value provided by the device to the
maximum size of the touch_reports array.
📍 영향받는 시스템
Linux kernel (HID: playstation driver 포함 버전)
⚔️ 공격 벡터
조작된 터치 보고서 데이터를 전송하는 악의적인 HID(Human Interface Device) 연결
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인하십시오.