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