🇰🇷 한글 설명
Linux 커널의 iio: gyro: mpu3050 드라이버에서 iio_device_register() 함수가 잘못된 위치에서 호출되어 경합 조건(Race Condition)이 발생할 수 있는 취약점입니다. 이를 해결하기 위해 해당 함수를 probe 함수의 마지막 단계로 이동하고, iio_device_unregister()의 위치를 적절히 조정하였습니다.
💡 쉬운 설명
장치를 준비하는 과정에서 순서가 잘못되어 시스템이 혼란을 겪고 충돌이 발생할 수 있는 문제입니다. 장치가 완전히 준비된 후에만 시스템에 등록되도록 순서를 바로잡았습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
iio: gyro: mpu3050: Move iio_device_register() to correct location
iio_device_register() should be at the end of the probe function to
prevent race conditions.
Place iio_device_register() at the end of the probe function and place
iio_device_unregister() accordingly.
📍 영향받는 시스템
Linux kernel (MPU3050 드라이버를 사용하는 시스템)
⚔️ 공격 벡터
로컬 공격자가 특정 하드웨어 인터럽트나 타이밍을 조작하여 경합 조건을 유발함으로써 시스템 불안정성을 초래할 수 있음
🛡️ 대응 방법
MPU3050 드라이버 패치가 적용된 최신 버전의 Linux 커널로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인