CVE-2026-139797
- 공개
- 2026년 11월 30일
- 수정
- 2026년 11월 30일
- 조회
- 0
- 상태
- Received
개요
이 취약점이 무엇인지
In the Linux kernel, the following vulnerability has been resolved:
ocfs2/cluster: hold a reference on the heartbeat thread
Since commit 688bc88e2046 ("ocfs2/cluster: keep heartbeat local node stable"), o2hb_thread() leaves its loop and returns when the local node changes, for example after "echo 0 > node/<name>/local". The thread was started with kthread_run() and nothing holds a reference to its task_struct, so the task is freed once it exits, while reg->hr_task still points to it.
Reading the region's pid attribute then reads the freed task, and removing the region calls kthread_stop() on it:
BUG: KASAN: slab-use-after-free in o2hb_region_pid_show+0xb3/0xc0 refcount_t: addition on 0; use-after-free. Oops: Oops: 0000 [#1] SMP KASAN NOPTI RIP: 0010:kthread_stop+0xb1/0x390
The thread could already return by itself before, when heartbeat start was aborted or on an unclean stop, but the local node change makes it reachable from userspace at any time.
Create the thread, take a reference on it and only then wake it, so the reference cannot race with the thread exiting. Drop it with kthread_stop_put().
실제 악용 사례 · 아직 확인된 사례가 없어요
CISA의 KEV 카탈로그(실제 공격에 악용된 취약점 목록)에 아직 올라와 있지 않아요. 다만 ‘앞으로도 안전하다’는 뜻은 아니니 심각도와 EPSS를 함께 확인하세요.
패치 현황
어떤 버전이 위험하고, 몇 버전으로 올리면 되는지
| 제품 | 시작 | 끝 | 이 버전 이상으로 | |||
|---|---|---|---|---|---|---|
| LinuxLinux | 6.6.160 | ≤ | 취약 | < | 6.6.163 | 6.6.163이상 |
| 6.12.110 | ≤ | 취약 | < | 6.12.119 | 6.12.119이상 | |
| 6.18.52 | ≤ | 취약 | < | 6.18.65 | 6.18.65이상 | |
| 6.1.191 | ≤ | 취약 | < | 6.2 | 6.2이상 | |
| 7.2.6 | ≤ | 취약 | < | 7.3 | 7.3이상 | |
| 이 버전만 | 취약 | = | 7.3 | 벤더 공지 확인 | ||
| 최초 버전 | ≤ | 영향 없음 | < | 7.3 | — | |
| 6.6.163 | ≤ | 영향 없음 | ≤ | 6.6.* | — | |
| 6.12.119 | ≤ | 영향 없음 | ≤ | 6.12.* | — | |
| 6.18.65 | ≤ | 영향 없음 | ≤ | 6.18.* | — | |
| 7.3.6 | ≤ | 영향 없음 | ≤ | 7.3.* | — | |
| 7.4-rc1 | ≤ | 영향 없음 | ≤ | 최신 버전 | — | |
할당 기관(CNA) 레코드 기준 (NVD 분석 전). 시작과 끝 사이 버전이 취약해요. ‘이 버전 이상으로’는 끝이 ‘<’로 적힌 경우에만 알 수 있어요.
참고 링크
NVD에 등록된 외부 자료예요. 익스플로잇·벤더 공지·패치 순으로 먼저 보여줘요.
기타5
- git.kernel.org/stable/c/209d372db6827617329f7129253044d0fcd854bb
- git.kernel.org/stable/c/4d1f1994f2aba4a4851c8fbea7f2c12a7c27164d
- git.kernel.org/stable/c/aa2e38aabaae87236290e486a2b77cfa3adfbebe
- git.kernel.org/stable/c/d8db249281cc185ad7d25051c85b3dcc3a697bee
- git.kernel.org/stable/c/db6ad77a25a168756be394806bd65d8a9d267fc4