CVE-2026-98357
- 공개
- 2026년 10월 6일
- 수정
- 2026년 10월 19일
- 조회
- 0
- 상태
- Received
개요
이 취약점이 무엇인지
Linux 커널에서 다음 취약점이 해결되었다:
IB/isert: 연결 해제 전에 지연된 제어 PDU 완료를 대기함
isert_send_done()은 ISTATE_SEND_TASKMGTRSP, ISTATE_SEND_REJECT 및 ISTATE_SEND_TEXTRSP 완료를 isert_comp_wq에 넘기고 반환한다. 작업 항목은 이후 isert_completion_put() -> isert_put_cmd()를 실행하며, 여기서 isert_conn->conn을 읽고 conn->cmd_lock을 획득한다.
해당 작업 항목은 해제 작업과 순서가 지정되어 있지 않다. isert_wait_conn()은 isert_release_work를 큐에 넣는데, 이 작업은 isert_conn을 해제하며, iscsit_close_connection()은 반환 직후 iscsit_conn을 해제하므로 큐에 있는 작업이 해제된 메모리에 대해 실행될 수 있다.
연결당 지연된 제어 PDU 완료 횟수를 계산하고 isert_wait_conn()이 해제 작업이 큐에 들어가기 전에 이를 대기하도록 한다.
ISTATE_SEND_LOGOUTRSP는 의도적으로 계산하지 않는데, 해당 분기는 iscsit_logout_post_handler()를 실행하며, 이는 결국 conn->conn_wait_comp를 대기한다. 이 완료는 iscsit_close_connection()이 iscsit_wait_conn()을 호출한 후에만 전송된다. 여기서 대기하면 교착 상태가 발생하므로 기존 isert_wait4logout()에서 대기한다.
아래의 splat은 printk() 추적과 isert_do_control_comp()에 msleep(200)이 주입되어 창을 넓힌 커널에서 발생한 것이다:
BUG: KASAN: slab-use-after-free in isert_put_cmd+0x53d/0x620 Read of size 8 at addr ffff8881054f1038 by task kworker/u17:1/182
CPU: 0 UID: 0 PID: 182 Comm: kworker/u17:1 Tainted: G B 7.2.0-rc5-TWIDE-gb8babf08acc7 #1 PREEMPT(lazy) Tainted: [B]=BAD_PAGE Hardware name: QEMU Ubuntu 24.04 PC v2 (i440FX + PIIX, arch_caps fix, 1996), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 Workqueue: isert_comp_wq isert_do_control_comp Call Trace: <TASK> dump_stack_lvl+0x53/0x70 print_report+0xd0/0x630 ? __pfx__raw_spin_lock_irqsave+0x10/0x10 ? _raw_spin_unlock_irqrestore+0x3e/0x70 ? isert_put_cmd+0x53d/0x620 kasan_report+0xce/0x100 ? isert_put_cmd+0x53d/0x620 isert_put_cmd+0x53d/0x620 ? isert_completion_put+0x305/0x330 ? isert_do_control_comp+0x2ef/0x310 process_one_work+0x633/0x1030 ? assign_work+0x11d/0x370 worker_thread+0x45b/0xd10 ? __pfx_worker_thread+0x10/0x10 ? __pfx_worker_thread+0x10/0x10 kthread+0x2c6/0x3b0 ? recalc_sigpending+0x15c/0x1e0 ? __pfx_kthread+0x10/0x10 ret_from_fork+0x36e/0x5a0 ? __pfx_ret_from_fork+0x10/0x10 ? __switch_to+0x572/0xdd0 ? __pfx_kthread+0x10/0x10 ret_from_fork_asm+0x1a/0x30 </TASK>
Allocated by task 48: kasan_save_stack+0x33/0x60 kasan_save_track+0x14/0x30 __kasan_kmalloc+0x8f/0xa0 __kmalloc_cache_noprof+0x158/0x370 isert_cma_handler+0x1e3/0x2ae0 cma_cm_event_handler+0x3e/0x240 cma_ib_req_handler+0x17d9/0x4490 cm_process_work+0x41/0x330 cm_work_handler+0x5727/0xc160 process_one_work+0x633/0x1030 worker_thread+0x45b/0xd10 kthread+0x2c6/0x3b0 ret_from_fork+0x36e/0x5a0 ret_from_fork_asm+0x1a/0x30
Freed by task 184: kasan_save_stack+0x33/0x60 kasan_save_track+0x14/0x30 kasan_save_free_info+0x3b/0x60 __kasan_slab_free+0x43/0x70 kfree+0x121/0x380 iscsit_close_connection+0x7cf/0x1e60 iscsit_take_action_for_connection_exit+0x1b6/0x360 iscsi_target_tx_thread+0x472/0x690 kthread+0x2c6/0x3b0 ret_from_fork+0x36e/0x5a0 ret_from_fork_asm+0x1a/0x30
실제 악용 사례 · 아직 확인된 사례가 없어요
CISA의 KEV 카탈로그(실제 공격에 악용된 취약점 목록)에 아직 올라와 있지 않아요. 다만 ‘앞으로도 안전하다’는 뜻은 아니니 심각도와 EPSS를 함께 확인하세요.
패치 현황
어떤 버전이 위험하고, 몇 버전으로 올리면 되는지
| 제품 | 시작 | 끝 | 이 버전 이상으로 | |||
|---|---|---|---|---|---|---|
| LinuxLinux | 이 버전만 | 취약 | = | 3.10 | 벤더 공지 확인 | |
| 최초 버전 | ≤ | 영향 없음 | < | 3.10 | — | |
| 5.10.271 | ≤ | 영향 없음 | ≤ | 5.10.* | — | |
| 5.15.222 | ≤ | 영향 없음 | ≤ | 5.15.* | — | |
| 6.1.189 | ≤ | 영향 없음 | ≤ | 6.1.* | — | |
| 6.6.158 | ≤ | 영향 없음 | ≤ | 6.6.* | — | |
| 6.12.112 | ≤ | 영향 없음 | ≤ | 6.12.* | — | |
| 6.18.54 | ≤ | 영향 없음 | ≤ | 6.18.* | — | |
| 7.2.8 | ≤ | 영향 없음 | ≤ | 7.2.* | — | |
| 7.3 | ≤ | 영향 없음 | ≤ | 최신 버전 | — | |
할당 기관(CNA) 레코드 기준 (NVD 분석 전). 시작과 끝 사이 버전이 취약해요. ‘이 버전 이상으로’는 끝이 ‘<’로 적힌 경우에만 알 수 있어요.
참고 링크
NVD에 등록된 외부 자료예요. 익스플로잇·벤더 공지·패치 순으로 먼저 보여줘요.
기타8
- git.kernel.org/stable/c/0e230917670c6e6fe3243abfa11299fcbe05b1f4
- git.kernel.org/stable/c/505b242d9351690d1385bbe508ab4666f60363ce
- git.kernel.org/stable/c/7908fbc597a694bbd99bfb59ece73bc3daded68e
- git.kernel.org/stable/c/7edb8a88d6c76237c8b4435765bee1009e26a50a
- git.kernel.org/stable/c/a8fe3dfce8c0d8a76dc3d8486a5bff5feebe156f