🇰🇷 한글 설명
Linux 커널의 dm-multipath 컴포넌트에서 메모리 누수 취약점으로, scsi_dh_attached_handler_name() 함수가 -ENOMEM 오류로 실패할 때 할당된 device 참조가 정리되지 않는다. 반복 발생 시 커널 메모리 누수로 인한 시스템 불안정화 야기 가능.
💡 쉬운 설명
Linux 커널의 저장 장치 다중경로 관리 기능에서 메모리를 제대로 해제하지 않는 버그입니다. 반복되면 시스템이 메모리 부족으로 느려지거나 불안정해질 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
dm mpath: Add missing dm_put_device when failing to get scsi dh name
When commit fd81bc5cca8f ("scsi: device_handler: Return error pointer in
scsi_dh_attached_handler_name()") added code to fail parsing the path if
scsi_dh_attached_handler_name() failed with -ENOMEM, it didn't clean up
the reference to the path device that had just been taken. Fix this, and
steamline the error paths of parse_path() a little.
📍 영향받는 시스템
Linux kernel 2.6.31+ (dm-multipath 기능 사용 시스템, 패치 이전 버전)
⚔️ 공격 벡터
로컬 공격자가 메모리 누수를 반복 트리거하여 커널 메모리 고갈로 인한 서비스 거부(DoS) 공격
🛡️ 대응 방법
Linux 커널을 commit fd81bc5cca8f 이후의 패치된 버전으로 업그레이드
🔧 검증 코드
=y 또는 =m이 출력되면 dm-multipath 활성화 상태이며, uname -r로 커널 버전 확인 후 패치 버전 이상 여부 확인 필요
cat /boot/config-$(uname -r) | grep -i dm_multipath