🔍 CVE-2025-23131

5.5
CVSS Score
MEDIUM
2025-04-16
2026-11-05 21:17
✅ 완료

🇰🇷 한글 설명

Linux 커널의 DLM(Distributed Lock Manager) 구성 요소에서 event_done에 양수 값을 쓸 때 발생하는 취약점입니다. 이 과정에서 NULL lockspace가 생성되어 dlm_find_lockspace_local 함수 호출 시 NULL 포인터 역참조가 발생할 수 있습니다.

💡 쉬운 설명

시스템의 잠금 관리 기능에서 잘못된 신호가 전달되어 프로그램이 갑자기 멈추거나 오류를 일으킬 수 있는 문제입니다. 이는 시스템의 안정성을 해칠 수 있는 결함입니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: dlm: prevent NPD when writing a positive value to event_done do_uevent returns the value written to event_done. In case it is a positive value, new_lockspace would undo all the work, and lockspace would not be set. __dlm_new_lockspace, however, would treat that positive value as a success due to commit 8511a2728ab8 ("dlm: fix use count with multiple joins"). Down the line, device_create_lockspace would pass that NULL lockspace to dlm_find_lockspace_local, leading to a NULL pointer dereference. Treating such positive values as successes prevents the problem. Given this has been broken for so long, this is unlikely to break userspace expectations.

📍 영향받는 시스템

Linux Kernel (DLM 구성 요소가 포함된 버전)

⚔️ 공격 벡터

특정 조건에서 event_done에 양수 값을 입력하여 NULL 포인터 역참조 유도

🛡️ 대응 방법

DLM 관련 패치가 적용된 최신 Linux 커널로 업데이트

🔧 검증 코드

출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인

Shell / Script
uname -r

📊 CVSS Vector String

CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

💻 영향받는 소프트웨어

Linux Kernel