🇰🇷 한글 설명
리눅스 커널의 DLM(Distributed Lock Manager) 구성 요소에서 발생할 수 있는 null 포인터 역참조 취약점이 해결되었습니다. 특정 상황에서 lkb_resource가 할당되기 전에 호출될 경우 시스템 오류가 발생할 수 있으며, 리소스 이름이 ASCII가 아닌 경우의 처리 문제도 함께 수정되었습니다.
💡 쉬운 설명
컴퓨터의 자원을 관리하는 프로그램이 아직 준비되지 않은 정보를 읽으려다 오류를 일으킬 수 있는 문제입니다. 이로 인해 시스템이 예기치 않게 멈추거나 불안정해질 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
dlm: fix possible lkb_resource null dereference
This patch fixes a possible null pointer dereference when this function is
called from request_lock() as lkb->lkb_resource is not assigned yet,
only after validate_lock_args() by calling attach_lkb(). Another issue
is that a resource name could be a non printable bytearray and we cannot
assume to be ASCII coded.
The log functionality is probably never being hit when DLM is used in
normal way and no debug logging is enabled. The null pointer dereference
can only occur on a new created lkb that does not have the resource
assigned yet, it probably never hits the null pointer dereference but we
should be sure that other changes might not change this behaviour and we
actually can hit the mentioned null pointer dereference.
In this patch we just drop the printout of the resource name, the lkb id
is enough to make a possible connection to a resource name if this
exists.
📍 영향받는 시스템
DLM(Distributed Lock Manager)을 사용하는 리눅스 커널 버전
⚔️ 공격 벡터
특수한 조건에서 DLM의 잠금 요청(request_lock)을 유도하여 시스템 오류를 유발하는 방식
🛡️ 대응 방법
DLM 관련 패치가 적용된 최신 리눅스 커널로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인