🇰🇷 한글 설명
Linux 커널의 iio: frequency: admv1013 드라이버에서 device_property_read_string() 함수가 실패할 경우 초기화되지 않은 포인터를 참조하여 발생하는 NULL 포인터 역참조 취약점입니다. 이로 인해 시스템 충돌이나 커널 패닉이 발생할 수 있습니다.
💡 쉬운 설명
특정 하드웨어 장치를 제어하는 소프트웨어에서 잘못된 정보를 읽었을 때, 컴퓨터가 처리할 수 없는 잘못된 주소를 참조하여 시스템이 멈추는 문제입니다. 이는 시스템의 안정성을 해칠 수 있는 오류입니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
iio: frequency: admv1013: fix NULL pointer dereference on str
When device_property_read_string() fails, str is left uninitialized
but the code falls through to strcmp(str, ...), dereferencing a garbage
pointer. Replace manual read/strcmp with
device_property_match_property_string() and consolidate the SE mode
enums into a single sequential enum, mapping to hardware register
values via a switch consistent with other bitfields in the driver.
Several cleanup patches have been applied to this driver recently so
this will need a manual backport.
📍 영향받는 시스템
Linux kernel (iio: frequency: admv1013 드라이버를 사용하는 시스템)
⚔️ 공격 벡터
잘못된 장치 속성(Device Property) 값을 설정하여 커널의 NULL 포인터 역참조 유도
🛡️ 대응 방법
해당 취약점이 수정된 최신 Linux 커널 버전으로 업데이트하거나 관련 드라이버 패치를 적용하십시오.
🔧 검증 코드
출력된 커널 버전이 취약점이 해결된 패치 버전 이후인지 확인하십시오.