🇰🇷 한글 설명
리눅스 커널의 staging media ipu7 드라이버에서 ipu7_resume() 함수 호출 시 pm_runtime 참조 횟수 누수가 발생하는 취약점이 해결되었습니다. 장치 재개(resume) 실패 시 참조 횟수를 감소시키지 않아 발생하는 문제로, pm_runtime_resume_and_get()을 사용하여 이를 수정했습니다.
💡 쉬운 설명
컴퓨터 부품을 다시 깨우는 과정에서 시스템이 사용 중이라는 표시를 제대로 지우지 못해 메모리 자원이 낭비되는 문제입니다. 이 문제가 반복되면 시스템 성능이 저하되거나 불안정해질 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
staging: media: ipu7: fix pm_runtime refcount leak in ipu7_resume()
ipu7_resume() calls pm_runtime_get_sync() before resuming the device.
If the runtime PM resume fails, the usage count remains incremented, but
the error path returns without dropping the reference.
Use pm_runtime_resume_and_get() instead, which balances the usage count
on failure and avoids the leak. Keep returning 0 on error, as resume
callbacks should not propagate failures to the PM core, matching the
behaviour of the ipu6 driver.
📍 영향받는 시스템
Linux kernel (staging: media: ipu7 driver 포함 버전)
⚔️ 공격 벡터
로컬 공격자가 장치의 전원 관리 상태를 반복적으로 변경하여 자원 누수를 유도할 수 있음
🛡️ 대응 방법
리눅스 커널을 최신 보안 패치가 적용된 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 수정된 패치 버전 이후인지 확인하십시오.