🇰🇷 한글 설명
Linux 커널의 platform/wmi 구성 요소에서 드라이버가 프로브될 때 디바이스 잠금(lock) 없이 driver_override 필드에 접근하여 Use-After-Free(UAF) 취약점이 발생할 수 있습니다. 이 문제는 드라이버 코어의 driver_override 인프라를 사용하여 내부적으로 적절한 잠금이 수행되도록 수정되었습니다.
💡 쉬운 설명
컴퓨터의 부품을 제어하는 소프트웨어가 데이터를 읽을 때, 데이터가 보호되지 않은 상태에서 접근하여 시스템 오류나 해킹에 이용될 수 있는 결함입니다. 이를 해결하기 위해 데이터를 읽을 때 안전하게 잠금 장치를 사용하는 방식으로 수정되었습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
platform/wmi: 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 (platform/wmi 드라이버를 사용하는 시스템)
⚔️ 공격 벡터
특정 조건에서 드라이버가 로드될 때 메모리 관리 오류를 유도하여 권한 상승 또는 시스템 중단을 일으킴
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인