🇰🇷 한글 설명
Linux 커널의 s390/cio 구성 요소에서 드라이버가 프로브될 때 디바이스 잠금 없이 driver_override 필드에 접근하여 Use-After-Free(UAF) 취약점이 발생할 수 있습니다. 이 문제는 generic driver_override 인프라를 사용하여 적절한 잠금 메커니즘을 적용함으로써 해결되었습니다.
💡 쉬운 설명
컴퓨터의 부품을 제어하는 소프트웨어가 작동할 때, 데이터를 보호하는 잠금 장치 없이 중요한 정보를 건드려 시스템 오류를 일으킬 수 있는 문제입니다. 이로 인해 해커가 시스템의 제어권을 탈취하거나 시스템을 강제로 종료시킬 위험이 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
s390/cio: 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 (s390 architecture)
⚔️ 공격 벡터
특정 드라이버 프로브 과정에서 발생하는 레이스 컨디션을 이용한 Use-After-Free 공격
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 수정된 패치 버전 이후인지 확인