CVE-2025-37949
- 공개
- 2025년 5월 21일
- 수정
- 2026년 10월 16일
- 조회
- 0
- 상태
- Modified
개요
이 취약점이 무엇인지
In the Linux kernel, the following vulnerability has been resolved:
xenbus: Use kref to track req lifetime
Marek reported seeing a NULL pointer fault in the xenbus_thread callstack: BUG: kernel NULL pointer dereference, address: 0000000000000000 RIP: e030:__wake_up_common+0x4c/0x180 Call Trace: <TASK> __wake_up_common_lock+0x82/0xd0 process_msg+0x18e/0x2f0 xenbus_thread+0x165/0x1c0
process_msg+0x18e is req->cb(req). req->cb is set to xs_wake_up(), a thin wrapper around wake_up(), or xenbus_dev_queue_reply(). It seems like it was xs_wake_up() in this case.
It seems like req may have woken up the xs_wait_for_reply(), which kfree()ed the req. When xenbus_thread resumes, it faults on the zero-ed data.
Linux Device Drivers 2nd edition states: "Normally, a wake_up call can cause an immediate reschedule to happen, meaning that other processes might run before wake_up returns." ... which would match the behaviour observed.
Change to keeping two krefs on each request. One for the caller, and one for xenbus_thread. Each will kref_put() when finished, and the last will free it.
This use of kref matches the description in Documentation/core-api/kref.rst
실제 악용 사례 · 아직 확인된 사례가 없어요
CISA의 KEV 카탈로그(실제 공격에 악용된 취약점 목록)에 아직 올라와 있지 않아요. 다만 ‘앞으로도 안전하다’는 뜻은 아니니 심각도와 EPSS를 함께 확인하세요.
패치 현황
어떤 버전이 위험하고, 몇 버전으로 올리면 되는지
| 제품 | 시작 | 끝 | 이 버전 이상으로 | |||
|---|---|---|---|---|---|---|
| debian_linuxdebian | 이 버전만 | 취약 | = | 11.0 | 벤더 공지 확인 | |
NVD 분석 기준. 시작과 끝 사이 버전이 취약해요. ‘이 버전 이상으로’는 끝이 ‘<’로 적힌 경우에만 알 수 있어요.
할당 기관(CNA)이 적은 버전 10줄도 보기
| 제품 | 시작 | 끝 | 이 버전 이상으로 | |||
|---|---|---|---|---|---|---|
| LinuxLinux | 이 버전만 | 취약 | = | 4.11 | 벤더 공지 확인 | |
| 최초 버전 | ≤ | 영향 없음 | < | 4.11 | — | |
| 5.4.294 | ≤ | 영향 없음 | ≤ | 5.4.* | — | |
| 5.10.238 | ≤ | 영향 없음 | ≤ | 5.10.* | — | |
| 5.15.183 | ≤ | 영향 없음 | ≤ | 5.15.* | — | |
| 6.1.139 | ≤ | 영향 없음 | ≤ | 6.1.* | — | |
| 6.6.91 | ≤ | 영향 없음 | ≤ | 6.6.* | — | |
| 6.12.29 | ≤ | 영향 없음 | ≤ | 6.12.* | — | |
| 6.14.7 | ≤ | 영향 없음 | ≤ | 6.14.* | — | |
| 6.15 | ≤ | 영향 없음 | ≤ | 최신 버전 | — | |
참고 링크
NVD에 등록된 외부 자료예요. 익스플로잇·벤더 공지·패치 순으로 먼저 보여줘요.
패치8
- git.kernel.org/stable/c/0e94a246bb6d9538010b6c02d2b1d4717a97b2e5
- git.kernel.org/stable/c/1f0304dfd9d217c2f8b04a9ef4b3258a66eedd27
- git.kernel.org/stable/c/2466b0f66795c3c426cacc8998499f38031dbb59
- git.kernel.org/stable/c/4d260a5558df4650eb87bc41b2c9ac2d6b2ba447
- git.kernel.org/stable/c/8b02f85e84dc6f7c150cef40ddb69af5a25659e5