🔍 CVE-2025-37845

7.8
CVSS Score
HIGH
2025-05-09
2026-07-30 06:22
✅ 완료

🇰🇷 한글 설명

리눅스 커널의 tracing fprobe 이벤트 처리 과정에서 모듈 참조 횟수 관리 오류로 인한 Use-After-Free(UAF) 취약점이 발견되었습니다. 특정 상황에서 모듈이 언로드된 후 해당 객체에 접근을 시도하여 메모리 손상이나 시스템 불안정을 초래할 수 있습니다.

💡 쉬운 설명

컴퓨터의 핵심 부품인 커널이 이미 삭제된 프로그램의 정보를 다시 사용하려고 시도할 때 발생하는 오류입니다. 이로 인해 시스템이 멈추거나 해커가 시스템 권한을 탈취할 위험이 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: tracing: fprobe events: Fix possible UAF on modules Commit ac91052f0ae5 ("tracing: tprobe-events: Fix leakage of module refcount") moved try_module_get() from __find_tracepoint_module_cb() to find_tracepoint() caller, but that introduced a possible UAF because the module can be unloaded before try_module_get(). In this case, the module object should be freed too. Thus, try_module_get() does not only fail but may access to the freed object. To avoid that, try_module_get() in __find_tracepoint_module_cb() again.

📍 영향받는 시스템

Linux Kernel (fprobe tracing 기능이 활성화된 버전)

⚔️ 공격 벡터

로컬 공격자가 특정 커널 모듈을 로드 및 언로드하는 과정을 조작하여 메모리 오류 유도

🛡️ 대응 방법

커널 패치(Commit ac91052f0ae5 포함 버전)를 적용하여 최신 커널로 업데이트

🔧 검증 코드

출력된 커널 버전이 취약점이 해결된 최신 패치 버전인지 배포판 보안 공지를 통해 확인

Shell / Script
uname -r

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Linux Kernel