🇰🇷 한글 설명
리눅스 커널의 USB Type-C UCSI 드라이버에서 발생한 회귀 결함으로, 전원 공급 장치 sysfs를 읽을 때 NULL 역참조가 발생합니다. 특정 커밋에서 도입된 오류 처리 방식의 문제로 인해 전원 장치가 해제되지 않고 잘못된 메모리 참조를 유발합니다.
💡 쉬운 설명
컴퓨터가 USB-C 연결 정보를 읽으려고 할 때, 존재하지 않는 메모리 주소를 참조하여 시스템 오류가 발생할 수 있는 문제입니다. 이로 인해 시스템이 불안정해지거나 예기치 않게 중단될 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
Revert "usb: typec: ucsi: add a common function ucsi_unregister_connectors()"
The recent commit 87d0e2f41b8c ("usb: typec: ucsi: add a common
function ucsi_unregister_connectors()") introduced a regression that
caused NULL dereference at reading the power supply sysfs. It's a
stale sysfs entry that should have been removed but remains with NULL
ops. The commit changed the error handling to skip the entries after
a NULL con->wq, and this leaves the power device unreleased.
For addressing the regression, the straight revert is applied here.
Further code improvements can be done from the scratch again.
📍 영향받는 시스템
USB Type-C UCSI 기능이 포함된 특정 리눅스 커널 버전 (커밋 87d0e2f41b8c 포함 버전)
⚔️ 공격 벡터
로컬 공격자가 조작된 USB 장치를 연결하거나 sysfs 인터페이스를 통해 시스템 오류를 유발할 수 있음
🛡️ 대응 방법
해당 결함이 수정된 최신 리눅스 커널로 업데이트하거나 문제가 된 커밋을 되돌린(revert) 커널 사용
🔧 검증 코드
출력된 커널 버전이 취약한 커밋이 포함된 버전인지 커널 로그 및 변경 이력을 통해 확인