🇰🇷 한글 설명
Linux 커널의 Logitech HID++ 드라이버에서 초기화 실패 시 포스 피드백(FF) 장치를 제대로 해제하지 않는 취약점이 발견되었습니다. 초기화 과정 중 메모리 할당에 실패할 경우, 생성된 장치 객체가 파괴되지 않고 남아 있어 리소스 누수가 발생할 수 있습니다.
💡 쉬운 설명
로지텍 장치를 연결할 때 시스템 오류가 발생하면, 사용하지 않는 장치 정보가 메모리에 계속 남아 컴퓨터 자원을 낭비하게 됩니다. 이 문제는 오류가 발생했을 때 남은 찌꺼기 정보를 깨끗이 지우도록 수정되었습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
HID: logitech-hidpp: Fix FF device cleanup on init failure
hidpp_ff_init() creates the input force-feedback device with
input_ff_create(), then allocates the HID++ FF private data,
effect ID array, and workqueue.
If any of those allocations fail after input_ff_create() succeeds,
the function returns an error without destroying the FF device.
Add an unwind path that frees the private allocations made by
hidpp_ff_init() and calls input_ff_destroy() for failures after
input_ff_create() succeeds.
📍 영향받는 시스템
Linux kernel (Logitech HID++ driver module)
⚔️ 공격 벡터
로컬 공격자가 특정 조건에서 메모리 할당 실패를 유도하여 리소스 누수를 일으킬 수 있음
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 수정된 패치 버전 이후인지 확인하십시오.