🇰🇷 한글 설명
Linux 커널의 dwc3 USB 컨트롤러 드라이버에서 프로브 오류 발생 시 플랫폼 장치의 참조 횟수를 잘못 처리하는 취약점이 발견되었습니다. 이로 인해 장치 참조 횟수의 불균형이 발생하여 장치 리소스가 조기에 해제될 수 있으며, 결과적으로 Use-After-Free 취약점으로 이어질 수 있습니다.
💡 쉬운 설명
USB 장치를 연결하거나 초기화하는 과정에서 오류가 발생할 때, 시스템이 메모리를 잘못 관리하여 보안 문제가 생길 수 있습니다. 이로 인해 해커가 시스템의 권한을 탈취하거나 시스템을 중단시킬 위험이 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
usb: dwc3: st: fix probed platform device ref count on probe error path
The probe function never performs any paltform device allocation, thus
error path "undo_platform_dev_alloc" is entirely bogus. It drops the
reference count from the platform device being probed. If error path is
triggered, this will lead to unbalanced device reference counts and
premature release of device resources, thus possible use-after-free when
releasing remaining devm-managed resources.
📍 영향받는 시스템
Linux kernel (dwc3: st driver 포함 버전)
⚔️ 공격 벡터
USB 장치 연결 시 특정 오류 상황을 유도하여 메모리 참조 오류를 발생시킴
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트
🔧 검증 코드
현재 실행 중인 커널 버전을 확인하여 해당 취약점이 해결된 패치 버전인지 확인