🔍 CVE-2025-38524

7.5
CVSS Score
HIGH
2025-08-16
2026-10-30 13:18
✅ 완료

🇰🇷 한글 설명

Linux 커널의 rxrpc 구성 요소에서 발생한 경합 조건(Race Condition) 취약점입니다. 특정 상황에서 두 개의 스레드가 동시에 호출을 처리하려고 시도할 때, 이미 해제된 호출을 다시 참조하게 되어 커널 BUG(Panic)를 유발할 수 있습니다.

💡 쉬운 설명

컴퓨터의 통신 기능을 처리하는 과정에서 두 작업이 동시에 같은 데이터를 건드리려다 충돌이 발생하는 문제입니다. 이 충돌이 발생하면 시스템이 예기치 않게 멈추거나 오류를 일으킬 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: rxrpc: Fix recv-recv race of completed call If a call receives an event (such as incoming data), the call gets placed on the socket's queue and a thread in recvmsg can be awakened to go and process it. Once the thread has picked up the call off of the queue, further events will cause it to be requeued, and once the socket lock is dropped (recvmsg uses call->user_mutex to allow the socket to be used in parallel), a second thread can come in and its recvmsg can pop the call off the socket queue again. In such a case, the first thread will be receiving stuff from the call and the second thread will be blocked on call->user_mutex. The first thread can, at this point, process both the event that it picked call for and the event that the second thread picked the call for and may see the call terminate - in which case the call will be "released", decoupling the call from the user call ID assigned to it (RXRPC_USER_CALL_ID in the control message). The first thread will return okay, but then the second thread will wake up holding the user_mutex and, if it sees that the call has been released by the first thread, it will BUG thusly: kernel BUG at net/rxrpc/recvmsg.c:474! Fix this by just dequeuing the call and ignoring it if it is seen to be already released. We can't tell userspace about it anyway as the user call ID has become stale.

📍 영향받는 시스템

rxrpc 모듈을 사용하는 Linux 커널 버전

⚔️ 공격 벡터

로컬 또는 네트워크를 통한 특수하게 조작된 rxrpc 통신 이벤트 전송

🛡️ 대응 방법

rxrpc 경합 조건 문제가 해결된 최신 Linux 커널 버전으로 업데이트

🔧 검증 코드

출력된 커널 버전을 확인하여 취약점이 패치된 최신 버전인지 확인합니다.

Shell / Script
uname -r

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Linux Kernel