🇰🇷 한글 설명
Linux 커널의 staging 영역에 있는 vme_user 드라이버에서 tsi148 브리지의 위치 모니터(location monitor) 리소스 누수 취약점이 발견되었습니다. 장치 언바인드 또는 모듈 언로드 시 tsi148_remove() 함수가 해당 리소스를 해제하지 않아 메모리 누수가 발생합니다.
💡 쉬운 설명
장치를 제거하거나 드라이버를 끌 때 사용하던 메모리 자원을 제대로 반환하지 않는 문제입니다. 이 문제가 반복되면 시스템의 메모리가 점차 부족해질 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
staging: vme_user: fix location monitor leak in tsi148 bridge
tsi148_probe() allocates a location monitor resource and links it into
tsi148_bridge->lm_resources. The probe error path frees this list, but
tsi148_remove() only frees the dma, slave and master resource lists, so
the location monitor resource is leaked on device unbind or module
unload.
Free the lm_resources list in tsi148_remove() as well, before
tsi148_bridge is freed.
📍 영향받는 시스템
Linux kernel (staging: vme_user driver)
⚔️ 공격 벡터
로컬 공격자가 장치 드라이버를 반복적으로 로드 및 언로드하여 시스템 메모리 고갈 유도
🛡️ 대응 방법
tsi148_remove() 함수 내에 lm_resources 리스트를 해제하는 코드를 추가한 최신 커널로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 패치가 적용된 최신 버전인지 확인