🇰🇷 한글 설명
Linux 커널의 driver core 플랫폼에서 __driver_attach()를 통해 드라이버가 프로브될 때, 디바이스 락을 보유하지 않은 상태로 버스의 match() 콜백이 호출됩니다. 이로 인해 driver_override 필드에 잠금 없이 접근하게 되어 Use-After-Free(UAF) 취약점이 발생할 수 있습니다. 이를 해결하기 위해 내부적으로 적절한 잠금을 처리하는 generic driver_override 인프라를 사용하도록 수정되었습니다.
💡 쉬운 설명
컴퓨터의 부품을 제어하는 소프트웨어가 작동할 때, 데이터를 보호하는 '잠금 장치' 없이 중요한 정보를 건드리는 문제가 발견되었습니다. 이로 인해 시스템이 예기치 않게 종료되거나 해커가 시스템 권한을 탈취할 위험이 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
driver core: platform: 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 (driver core platform 관련 버전)
⚔️ 공격 벡터
특정 조건에서 드라이버 프로브를 유도하여 메모리 관리 오류(UAF)를 일으키는 방식
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인하십시오.