🇰🇷 한글 설명
Linux 커널의 rt1711h TCPCI 드라이버에서 프로브 과정 중 오류가 발생할 경우 TCPCI 포트가 제대로 해제되지 않는 취약점이 발견되었습니다. 이로 인해 드라이버 초기화 실패 시 리소스가 남게 되는 문제가 발생할 수 있습니다.
💡 쉬운 설명
장치를 연결할 때 초기 설정 과정에서 문제가 생기면, 사용하지 않는 장치 정보가 메모리에 계속 남아있는 현상입니다. 이는 시스템 리소스를 낭비하거나 예기치 않은 오류를 일으킬 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
usb: typec: tcpci_rt1711h: unregister TCPCI port with devres
rt1711h_probe() registers the TCPCI port before requesting the interrupt
and enabling alert interrupts. If either of those later steps fails, the
probe function returns without unregistering the TCPCI port. The explicit
unregister currently only happens from the remove callback.
Register a devres action immediately after tcpci_register_port() succeeds,
so tcpci_unregister_port() runs on later probe failures and on driver
detach. Drop the remove callback to avoid unregistering the same port
twice.
This issue was identified during our ongoing static-analysis research while
reviewing kernel code.
📍 영향받는 시스템
rt1711h 드라이버를 사용하는 Linux 커널 기반 시스템
⚔️ 공격 벡터
직접적인 공격보다는 드라이버 로드 실패를 유도하여 시스템 리소스 누수를 일으키는 방식
🛡️ 대응 방법
해당 취약점이 수정된 최신 버전의 Linux 커널로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 패치가 적용된 보안 업데이트 버전인지 확인