🔍 CVE-2025-38704

7.8
CVSS Score
HIGH
2025-09-04
2026-10-19 21:10
✅ 완료

🇰🇷 한글 설명

리눅스 커널의 rcu/nocb 구성 요소에서 CPU 온라인 준비 단계 중 rcuop kthread 생성 실패 시 발생할 수 있는 잘못된 포인터 접근 취약점입니다. 이로 인해 CPU 오프라인 시 재오프로드 작업 과정에서 유효하지 않은 rdp->nocb_cb_kthread 포인터에 접근하여 시스템 불안정을 초래할 수 있습니다.

💡 쉬운 설명

컴퓨터의 핵심 두뇌 역할을 하는 커널에서 특정 작업 스레드를 만드는 데 실패했을 때, 존재하지 않는 메모리 주소를 참조하려고 시도하는 오류입니다. 이 문제가 발생하면 시스템이 갑자기 멈추거나 충돌할 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: rcu/nocb: Fix possible invalid rdp's->nocb_cb_kthread pointer access In the preparation stage of CPU online, if the corresponding the rdp's->nocb_cb_kthread does not exist, will be created, there is a situation where the rdp's rcuop kthreads creation fails, and then de-offload this CPU's rdp, does not assign this CPU's rdp->nocb_cb_kthread pointer, but this rdp's->nocb_gp_rdp and rdp's->rdp_gp->nocb_gp_kthread is still valid. This will cause the subsequent re-offload operation of this offline CPU, which will pass the conditional check and the kthread_unpark() will access invalid rdp's->nocb_cb_kthread pointer. This commit therefore use rdp's->nocb_gp_kthread instead of rdp_gp's->nocb_gp_kthread for safety check.

📍 영향받는 시스템

리눅스 커널 (rcu/nocb 관련 모듈 사용 시스템)

⚔️ 공격 벡터

로컬 공격자가 CPU의 온라인/오프라인 상태를 조작하여 커널 패닉을 유도할 수 있음

🛡️ 대응 방법

해당 취약점이 수정된 최신 리눅스 커널 버전으로 업데이트

🔧 검증 코드

출력된 커널 버전을 확인하여 해당 패치가 적용된 최신 버전인지 확인

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