CVE-2026-100092
- 공개
- 2026년 11월 30일
- 수정
- 2026년 11월 30일
- 조회
- 0
- 상태
- Received
개요
이 취약점이 무엇인지
In the Linux kernel, the following vulnerability has been resolved:
f2fs: fix to use bio_in_atomic() in f2fs_read_end_io()
f2fs_read_end_io() uses "in_task() && !irqs_disabled()" to decide whether it is safe to sleep, the result is passed down as @in_task to: - f2fs_put_dic() -> f2fs_free_dic() -> f2fs_release_decomp_mem() -> vm_unmap_ram(), which may sleep. - f2fs_end_read_compressed_page() -> f2fs_cache_compressed_page() -> f2fs_grab_cache() -> f2fs_lock_cache(), which may sleep in wait_on_bit_lock().
However, the check still treats below task contexts as sleepable: - with spinlock held via spin_lock(), i.e. preempt count != 0 while irqs are enabled. - with BH disabled via local_bh_disable(). - inside an RCU read lock on kernels with CONFIG_PREEMPTION. - with any spinlock held on kernels without CONFIG_PREEMPT_COUNT.
So the "sleeping function called from invalid context" issue fixed by commit 08a7efc5b02a ("f2fs: vm_unmap_ram() may be called from an invalid context") can still be triggered.
The block layer provides bio_in_atomic() for exactly this purpose, it checks rcu_preempt_depth() and preemptible(), and conservatively returns true if CONFIG_PREEMPT_COUNT is disabled, let's use it instead. The difference is as below:
old: intask = in_task() && !irqs_disabled() new: intask = !bio_in_atomic()
Context | old intask | new intask -------------------------------------+----------------+---------------- Hard IRQ / softirq | false | false IRQs disabled | false | false spin_lock() held, IRQs enabled | true (wrong) | false BH disabled by local_bh_disable() | true (wrong) | false RCU read lock (CONFIG_PREEMPTION) | true (wrong) | false Spinlock held, w/o PREEMPT_COUNT | true (wrong) | false
Note that on kernels without CONFIG_PREEMPT_COUNT, bio_in_atomic() always returns true, so dic freeing will always be offloaded to sbi->wq, and compressed pages will not be cached in f2fs_read_end_io(); this is the price of correctness, since there is no way to tell whether the current context can sleep.
실제 악용 사례 · 아직 확인된 사례가 없어요
CISA의 KEV 카탈로그(실제 공격에 악용된 취약점 목록)에 아직 올라와 있지 않아요. 다만 ‘앞으로도 안전하다’는 뜻은 아니니 심각도와 EPSS를 함께 확인하세요.
패치 현황
어떤 버전이 위험하고, 몇 버전으로 올리면 되는지
| 제품 | 시작 | 끝 | 이 버전 이상으로 | |||
|---|---|---|---|---|---|---|
| LinuxLinux | 6.1.148 | ≤ | 취약 | < | 6.1.193 | 6.1.193이상 |
| 6.6.102 | ≤ | 취약 | < | 6.6.163 | 6.6.163이상 | |
| 6.12.42 | ≤ | 취약 | < | 6.12.118 | 6.12.118이상 | |
| 6.15.10 | ≤ | 취약 | < | 6.16 | 6.16이상 | |
| 6.16.1 | ≤ | 취약 | < | 6.17 | 6.17이상 | |
| 이 버전만 | 취약 | = | 6.17 | 벤더 공지 확인 | ||
| 최초 버전 | ≤ | 영향 없음 | < | 6.17 | — | |
| 6.1.193 | ≤ | 영향 없음 | ≤ | 6.1.* | — | |
| 6.6.163 | ≤ | 영향 없음 | ≤ | 6.6.* | — | |
| 6.12.118 | ≤ | 영향 없음 | ≤ | 6.12.* | — | |
| 6.18.64 | ≤ | 영향 없음 | ≤ | 6.18.* | — | |
| 7.3.4 | ≤ | 영향 없음 | ≤ | 7.3.* | — | |
| 7.4-rc1 | ≤ | 영향 없음 | ≤ | 최신 버전 | — | |
할당 기관(CNA) 레코드 기준 (NVD 분석 전). 시작과 끝 사이 버전이 취약해요. ‘이 버전 이상으로’는 끝이 ‘<’로 적힌 경우에만 알 수 있어요.
참고 링크
NVD에 등록된 외부 자료예요. 익스플로잇·벤더 공지·패치 순으로 먼저 보여줘요.
기타6
- git.kernel.org/stable/c/4dd9b48ee2eb23d524d76cab670090fda5ae7bb7
- git.kernel.org/stable/c/974a545e94e7b3c101ee1aaa9e0672655c94b598
- git.kernel.org/stable/c/a605d5d71a6d280c43c7ede9778dda63fb5c3f22
- git.kernel.org/stable/c/b7b1a54e3e1ade64a81a44d19e16cb76185d60b0
- git.kernel.org/stable/c/e08cb38f91a8f7cc4a6f96dfb0c3a4958a2227a6