🇰🇷 한글 설명
리눅스 커널의 USB Type-C UCSI 드라이버에서 장치 제거 시 Use-After-Free 취약점이 발견되었습니다. pmic_glink 클라이언트가 해제되기 전 작업이 실행되어 이미 해제된 메모리 영역에 접근하거나 중복 등록을 시도하는 문제가 있습니다.
💡 쉬운 설명
컴퓨터에서 USB 장치를 뽑을 때, 이미 사라진 정보를 다시 사용하려고 시도하여 시스템 오류를 일으킬 수 있는 문제입니다. 이로 인해 시스템이 멈추거나 보안 문제가 발생할 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
usb: typec: ucsi: glink: fix use-after-free of ucsi on remove
The pmic_glink client is released by the devres cleanup, which runs
after pmic_glink_ucsi_remove() has returned, so its notification
callbacks can queue work until then. Work that runs after
ucsi_unregister() has been called touches freed state: it dereferences
the connector array that ucsi_unregister() freed, or registers and
unregisters the instance a second time.
Disable both work items with disable_work_sync() before unregistering,
and unregister only if the instance is still registered.
This issue was found by an in-house static analysis tool.
📍 영향받는 시스템
Linux Kernel (USB Type-C UCSI driver 관련 버전)
⚔️ 공격 벡터
로컬 공격자가 특정 USB Type-C 장치를 연결하거나 해제하는 동작을 통해 트리거 가능
🛡️ 대응 방법
리눅스 커널을 최신 보안 패치가 적용된 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 수정된 패치 버전 이후인지 확인하십시오.