🇰🇷 한글 설명
리눅스 커널의 nvidia-shield HID 드라이버에서 use-after-free 취약점이 발견되었습니다. input_dev의 이름을 할당할 때 devm을 사용하지 않아, 장치 해제 과정에서 이미 해제된 메모리 영역의 이름을 uevent가 참조하게 되어 발생합니다.
💡 쉬운 설명
컴퓨터 부품을 제거할 때 이미 삭제된 정보를 다시 불러오려다 발생하는 오류입니다. 이로 인해 시스템이 불안정해지거나 보안 문제가 생길 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
HID: nvidia-shield: Reference hid_device devm allocation of input_dev name
Use hid_device for devm allocation of the input_dev name to avoid a
use-after-free. input_unregister_device would trigger devres cleanup of all
resources associated with the input_dev, free-ing the name. The name would
subsequently be used in a uevent fired at the end of unregistering the
input_dev.
📍 영향받는 시스템
Nvidia Shield 관련 HID 드라이버를 사용하는 Linux Kernel 버전
⚔️ 공격 벡터
로컬 공격자가 특정 입력 장치 해제 시퀀스를 유도하여 메모리 오류를 발생시킴
🛡️ 대응 방법
리눅스 커널을 최신 보안 패치가 적용된 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인하십시오.