🇰🇷 한글 설명
Linux 커널의 hv_vmbus 드라이버에서 __driver_attach()를 통해 드라이버가 프로브될 때, 디바이스 락을 보유하지 않은 상태로 match() 콜백이 호출됩니다. 이로 인해 driver_override 필드에 잠금 없이 접근하게 되어 Use-After-Free(UAF) 취약점이 발생할 수 있습니다. 이를 해결하기 위해 내부적으로 적절한 잠금을 처리하는 generic driver_override 인프라를 사용하도록 수정되었습니다.
💡 쉬운 설명
운영체제의 핵심 부분인 커널에서 데이터를 안전하게 보호하는 '잠금 장치' 없이 특정 정보를 읽으려다 발생하는 오류입니다. 이 오류를 악용하면 시스템이 갑자기 멈추거나 해커가 시스템 권한을 탈취할 위험이 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
Drivers: hv: vmbus: use generic driver_override infrastructure
When a driver is probed through __driver_attach(), the bus' match()
callback is called without the device lock held, thus accessing the
driver_override field without a lock, which can cause a UAF.
Fix this by using the driver-core driver_override infrastructure taking
care of proper locking internally.
Note that calling match() from __driver_attach() without the device lock
held is intentional. [1]
📍 영향받는 시스템
Linux kernel (hv_vmbus 드라이버를 사용하는 Hyper-V 가상화 환경)
⚔️ 공격 벡터
특정 조건에서 드라이버가 로드될 때 발생하는 레이스 컨디션을 이용한 메모리 오염 공격
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 수정된 패치 버전 이후인지 확인하십시오.