🇰🇷 한글 설명
Linux 커널의 mmc 드라이버에서 busy-timeout 작업 처리 중 Use-After-Free 취약점이 발견되었습니다. ux500_busy_complete() 함수가 작업을 예약할 수 있지만, mmci_remove() 시 이를 취소하지 않아 이미 해제된 메모리 영역에 접근할 수 있는 문제가 있습니다.
💡 쉬운 설명
컴퓨터 부품을 관리하는 프로그램이 작업을 끝내기도 전에 해당 부품의 정보를 삭제해버려 발생하는 오류입니다. 이로 인해 시스템이 갑자기 멈추거나 예상치 못한 동작을 할 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
mmc: mmci: Fix use-after-free in busy-timeout work
ux500_busy_complete() can queue ux500_busy_timeout_work for an R1b
command, but mmci_remove() never cancels it. The work can subsequently
dereference the devm-allocated mmci_host after it has been released.
Mask the controller interrupts and disable the delayed work during
removal. This drains any queued instance and stops an IRQ handler that
is still in progress from queueing the work again once it has been
disabled.
This issue was found by an in-house static analysis tool.
📍 영향받는 시스템
Linux Kernel (mmc/mmci 드라이버 사용 환경)
⚔️ 공격 벡터
로컬 공격자가 특정 MMC 명령을 유도하여 메모리 해제 후 접근(Use-After-Free)을 일으킴
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하여 컨트롤러 인터럽트 마스킹 및 지연 작업 비활성화 로직을 적용해야 함
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 수정된 패치 버전 이후인지 확인하십시오.
💻 영향받는 소프트웨어
NVIDIA Cloud Gaming Guest Driver for Linux