🇰🇷 한글 설명
Linux 커널의 cadence-quadspi 드라이버에서 장치가 사용 중일 때 강제로 드라이버를 해제(unbind)할 경우 커널 충돌이 발생하는 취약점입니다. 참조 횟수(refcount)를 구현하여 장치 제거 작업이 완료될 때까지 기다리도록 수정되었습니다.
💡 쉬운 설명
컴퓨터 부품이 작동 중인데 갑자기 연결을 끊으려고 하면 시스템이 멈추는 문제가 있었습니다. 이제는 작업이 끝날 때까지 기다린 후 안전하게 연결을 끊도록 개선되었습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
spi: cadence-quadspi: Implement refcount to handle unbind during busy
driver support indirect read and indirect write operation with
assumption no force device removal(unbind) operation. However
force device removal(removal) is still available to root superuser.
Unbinding driver during operation causes kernel crash. This changes
ensure driver able to handle such operation for indirect read and
indirect write by implementing refcount to track attached devices
to the controller and gracefully wait and until attached devices
remove operation completed before proceed with removal operation.
📍 영향받는 시스템
Linux kernel (cadence-quadspi driver 사용 시스템)
⚔️ 공격 벡터
루트 권한을 가진 사용자가 장치 사용 중 강제로 unbind 명령을 실행하여 커널 패닉 유도
🛡️ 대응 방법
참조 횟수(refcount) 로직이 적용된 최신 Linux 커널로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 패치가 적용된 최신 버전인지 확인