CVE-2026-46135
- 공개
- 2026년 5월 28일
- 수정
- 2026년 10월 20일
- 조회
- 0
- 상태
- Undergoing Analysis
개요
이 취약점이 무엇인지
In the Linux kernel, the following vulnerability has been resolved:
nvmet-tcp: fix race between ICReq handling and queue teardown
nvmet_tcp_handle_icreq() updates queue->state after sending an Initialization Connection Response (ICResp), but it does so without serializing against target-side queue teardown.
If an NVMe/TCP host sends an Initialization Connection Request (ICReq) and immediately closes the connection, target-side teardown may start in softirq context before io_work drains the already buffered ICReq. In that case, nvmet_tcp_schedule_release_queue() sets queue->state to NVMET_TCP_Q_DISCONNECTING and drops the queue reference under state_lock.
If io_work later processes that ICReq, nvmet_tcp_handle_icreq() can still overwrite the state back to NVMET_TCP_Q_LIVE. That defeats the DISCONNECTING-state guard in nvmet_tcp_schedule_release_queue() and allows a later socket state change to re-enter teardown and issue a second kref_put() on an already released queue.
The ICResp send failure path has the same problem. If teardown has already moved the queue to DISCONNECTING, a send error can still overwrite the state with NVMET_TCP_Q_FAILED, again reopening the window for a second teardown path to drop the queue reference.
Fix this by serializing both post-send state transitions with state_lock and bailing out if teardown has already started.
Use -ESHUTDOWN as an internal sentinel for that bail-out path rather than propagating it as a transport error like -ECONNRESET. Keep nvmet_tcp_socket_error() setting rcv_state to NVMET_TCP_RECV_ERR before honoring that sentinel so receive-side parsing stays quiesced until the existing release path completes.
실제 악용 사례 · 아직 확인된 사례가 없어요
CISA의 KEV 카탈로그(실제 공격에 악용된 취약점 목록)에 아직 올라와 있지 않아요. 다만 ‘앞으로도 안전하다’는 뜻은 아니니 심각도와 EPSS를 함께 확인하세요.
패치 현황
어떤 버전이 위험하고, 몇 버전으로 올리면 되는지
| 제품 | 시작 | 끝 | 이 버전 이상으로 | |||
|---|---|---|---|---|---|---|
| linux_kernellinux | 5.0 | ≤ | 취약 | < | 6.12.88 | 6.12.88이상 |
| 6.13 | ≤ | 취약 | < | 6.18.30 | 6.18.30이상 | |
| 6.19 | ≤ | 취약 | < | 7.0.7 | 7.0.7이상 | |
| 이 버전만 | 취약 | = | 7.1 rc1 | 벤더 공지 확인 | ||
NVD 분석 기준. 시작과 끝 사이 버전이 취약해요. ‘이 버전 이상으로’는 끝이 ‘<’로 적힌 경우에만 알 수 있어요.
할당 기관(CNA)이 적은 버전 10줄도 보기
| 제품 | 시작 | 끝 | 이 버전 이상으로 | |||
|---|---|---|---|---|---|---|
| LinuxLinux | 이 버전만 | 취약 | = | 5.0 | 벤더 공지 확인 | |
| 최초 버전 | ≤ | 영향 없음 | < | 5.0 | — | |
| 5.10.261 | ≤ | 영향 없음 | ≤ | 5.10.* | — | |
| 5.15.212 | ≤ | 영향 없음 | ≤ | 5.15.* | — | |
| 6.1.178 | ≤ | 영향 없음 | ≤ | 6.1.* | — | |
| 6.6.144 | ≤ | 영향 없음 | ≤ | 6.6.* | — | |
| 6.12.88 | ≤ | 영향 없음 | ≤ | 6.12.* | — | |
| 6.18.30 | ≤ | 영향 없음 | ≤ | 6.18.* | — | |
| 7.0.7 | ≤ | 영향 없음 | ≤ | 7.0.* | — | |
| 7.1 | ≤ | 영향 없음 | ≤ | 최신 버전 | — | |
참고 링크
NVD에 등록된 외부 자료예요. 익스플로잇·벤더 공지·패치 순으로 먼저 보여줘요.