🇰🇷 한글 설명
Linux 커널의 vub300 드라이버에서 장치 연결 해제 시 Use-After-Free 취약점이 발견되었습니다. 컨트롤러 할당 방식이 장치 관리형(device-managed)으로 설정되어 있어 드라이버 언바인드 후에도 참조가 유지될 수 있으며, 부모 USB 장치와의 수명 주기 연결 오류로 인해 메모리 누수가 발생할 수 있습니다.
💡 쉬운 설명
장치를 컴퓨터에서 분리할 때 메모리 관리 오류가 발생하여 시스템이 불안정해지거나 보안 문제가 생길 수 있는 결함입니다. 드라이버가 장치가 사라진 후에도 잘못된 메모리 주소를 참조하려고 시도하는 것이 원인입니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
mmc: vub300: fix use-after-free on disconnect
The vub300 driver maintains an explicit reference count for the
controller and its driver data and the last reference can in theory be
dropped after the driver has been unbound.
This specifically means that the controller allocation must not be
device managed as that can lead to use-after-free.
Note that the lifetime is currently also incorrectly tied the parent USB
device rather than interface, which can lead to memory leaks if the
driver is unbound without its device being physically disconnected (e.g.
on probe deferral).
Fix both issues by reverting to non-managed allocation of the controller.
📍 영향받는 시스템
vub300 드라이버를 사용하는 Linux 커널 시스템
⚔️ 공격 벡터
장치의 물리적 연결 해제 또는 드라이버 언바인드 과정을 통한 메모리 오염 유도
🛡️ 대응 방법
vub300 컨트롤러 할당 방식을 비관리형(non-managed) 할당으로 변경한 최신 커널로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 패치된 최신 버전인지 확인하십시오.