🇰🇷 한글 설명
Linux 커널의 md/raid1 구성 요소에서 raid1_run() 함수 실행 중 메모리 누수가 발생하는 취약점입니다. raid1_set_limits() 호출이 실패할 경우 이전에 등록된 스레드를 해제하지 않아 md_thread 구조체와 스레드 리소스가 메모리에 남게 됩니다.
💡 쉬운 설명
컴퓨터의 저장 장치를 관리하는 프로그램에서 오류가 발생했을 때, 사용하던 메모리를 제대로 돌려주지 않고 계속 쌓아두는 문제가 있습니다. 이 문제가 반복되면 시스템의 메모리가 부족해져 컴퓨터가 느려지거나 멈출 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
md/raid1: fix memory leak in raid1_run()
raid1_run() calls setup_conf() which registers a thread via
md_register_thread(). If raid1_set_limits() fails, the previously
registered thread is not unregistered, resulting in a memory leak
of the md_thread structure and the thread resource itself.
Add md_unregister_thread() to the error path to properly cleanup
the thread, which aligns with the error handling logic of other paths
in this function.
Compile tested only. Issue found using a prototype static analysis tool
and code review.
📍 영향받는 시스템
Linux kernel (md/raid1 모듈을 사용하는 시스템)
⚔️ 공격 벡터
직접적인 공격보다는 시스템 운영 중 특정 오류 상황이 반복될 때 발생하는 자원 고갈 문제임
🛡️ 대응 방법
해당 취약점이 수정된 최신 버전의 Linux 커널로 업데이트하십시오.
🔧 검증 코드
출력된 커널 버전을 확인하여 취약점이 해결된 패치 버전인지 확인하십시오.