🇰🇷 한글 설명
리눅스 커널의 bq256xx 전원 공급 드라이버에서 USB 작업이 완료되기 전에 충전기 객체가 해제되는 취약점이 발견되었습니다. 이로 인해 대기 중인 USB 작업이 이미 해제된 메모리 주소를 참조하여 시스템 오류를 유발할 수 있습니다. 이를 해결하기 위해 작업 순서를 조정하고 초기화 과정을 개선하였습니다.
💡 쉬운 설명
충전 장치를 정리하는 과정에서 아직 끝나지 않은 작업이 남아있어 컴퓨터 시스템이 혼란을 겪는 문제입니다. 이로 인해 시스템이 갑자기 멈추거나 오류가 발생할 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
power: supply: bq256xx: drain usb_work before freeing the charger
The USB-PHY notifier queues usb_work, whose handler calls
power_supply_changed(bq->charger). The reset devm action only unregisters
the notifier and was registered before the power supplies, so devm frees
bq->charger on unwind before the action runs; a usb_work still queued can
then dereference it.
Register the reset action after the power supplies, so it unregisters
the notifiers and drains usb_work before the supplies are released.
Initialize usb_work and obtain the PHY references before registering
the notifiers, so the worker cannot run before the supplies exist.
Found by static analysis.
📍 영향받는 시스템
bq256xx 드라이버를 사용하는 리눅스 커널 기반 시스템
⚔️ 공격 벡터
로컬 공격자가 특정 전원 관리 시나리오를 유도하여 시스템 충돌(DoS)을 일으킬 수 있음
🛡️ 대응 방법
리눅스 커널을 최신 보안 패치가 적용된 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 수정된 패치 버전 이후인지 확인하십시오.