🇰🇷 한글 설명
Linux 커널의 sc2731_charger 드라이버에서 장치 제거 시 예약된 작업이 취소되지 않는 취약점이 발견되었습니다. 이로 인해 드라이버 데이터가 해제된 후에도 작업이 실행되어 시스템 불안정이나 오류를 유발할 수 있습니다.
💡 쉬운 설명
충전 장치를 제거할 때 컴퓨터가 하던 일을 제대로 멈추지 않고 메모리를 먼저 비워버리는 문제입니다. 이로 인해 시스템이 갑자기 멈추거나 오류가 발생할 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
power: supply: sc2731_charger: cancel work on remove
The USB notifier and initial charger detection can schedule info->work.
The remove path unregisters the notifier, but does not cancel queued or
running work before the devm-allocated driver data is released.
Set the platform drvdata used by remove, then cancel the work after
unregistering the notifier.
This issue was found by a static analysis tool.
📍 영향받는 시스템
sc2731_charger 드라이버를 사용하는 Linux 커널 시스템
⚔️ 공격 벡터
로컬 공격자가 장치 제거 시퀀스를 조작하여 커널 오류 유도 (Race Condition)
🛡️ 대응 방법
sc2731_charger 드라이버의 패치가 적용된 최신 Linux 커널로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 패치 버전인지 확인