🇰🇷 한글 설명
Linux 커널의 mtd: rawnand: pl353 드라이버에서 probe() 함수 호출 시 devm_ioremap()이 현재 장치가 아닌 부모 장치를 대상으로 호출되는 취약점이 발견되었습니다. 이로 인해 모듈을 언로드할 때 레지스터 영역이 제대로 해제되지 않는 리소스 누수 문제가 발생합니다.
💡 쉬운 설명
장치를 사용할 때 할당받은 메모리 공간을 장치를 끌 때 제대로 돌려주지 않는 버그가 있습니다. 이 문제가 반복되면 시스템의 자원이 낭비되어 성능 저하나 오류가 발생할 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
mtd: rawnand: pl353: fix probe resource allocation
During probe(), the devm_ioremap() is called with the parent device
instead of the current one. So when the module is unloaded, the register
area isn't released.
Target the pl35x device in the devm_ioremap() instead of its parent.
📍 영향받는 시스템
Linux kernel (pl353 device driver 포함 버전)
⚔️ 공격 벡터
로컬 시스템에서 드라이버 모듈을 반복적으로 로드 및 언로드하여 자원 고갈 유도
🛡️ 대응 방법
pl353 장치를 대상으로 devm_ioremap()을 호출하도록 커널 패치 적용
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 수정된 패치 버전인지 확인