🔍 CVE-2026-64541

9.8
CVSS Score
CRITICAL
2026-07-27
2026-10-19 21:17
✅ 완료

🇰🇷 한글 설명

Linux 커널의 net/smc 구성 요소에서 smc_cdc_rx_handler() 함수 실행 중 Use-After-Free(UAF) 취약점이 발견되었습니다. 연결 정보를 조회한 후 락(lock)을 해제하는 과정에서 소켓 참조를 유지하지 않아, 동시에 연결이 종료될 경우 해제된 메모리에 접근하여 커널 패닉을 유발할 수 있습니다.

💡 쉬운 설명

데이터를 처리하는 도중에 연결이 갑자기 끊기면, 컴퓨터가 이미 사라진 정보를 다시 사용하려고 시도하다가 시스템이 멈추는 문제입니다. 이로 인해 시스템이 갑자기 재부팅되거나 중단될 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: net/smc: fix UAF in smc_cdc_rx_handler() by pinning the socket smc_cdc_rx_handler() looks up the connection by token under the link group's conns_lock, drops the lock, and then dereferences conn and the smc_sock derived from it, ending in sock_hold(&smc->sk) inside smc_cdc_msg_recv(). No reference is held across the lock release. The only reference pinning the socket while the connection is discoverable in the link group is taken in smc_lgr_register_conn() (sock_hold) and dropped in __smc_lgr_unregister_conn() (sock_put), both under conns_lock. Once the handler drops conns_lock, a concurrent close() -> smc_release() -> smc_conn_free() -> smc_lgr_unregister_conn() can drop that reference and free the smc_sock, so the handler's later sock_hold() runs on freed memory: WARNING: lib/refcount.c:25 at refcount_warn_saturate Workqueue: rxe_wq do_work refcount_warn_saturate (lib/refcount.c:25) smc_cdc_msg_recv (net/smc/smc_cdc.c:430) smc_cdc_rx_handler (net/smc/smc_cdc.c:502) smc_wr_rx_tasklet_fn (net/smc/smc_wr.c:445) tasklet_action_common (kernel/softirq.c:938) handle_softirqs (kernel/softirq.c:622) Kernel panic - not syncing: panic_on_warn set Only SMC-R is affected. The SMC-D receive tasklet is stopped by tasklet_kill(&conn->rx_tsklet) in smc_conn_free() before the connection is unregistered, so it cannot run concurrently with the free. Take the socket reference while still holding conns_lock, so the registration reference can no longer be the last one, and drop it once the handler is done.

📍 영향받는 시스템

SMC-R(Shared Memory Communications over RDMA) 기능을 사용하는 Linux 커널

⚔️ 공격 벡터

SMC-R 연결을 사용하는 환경에서 의도적으로 연결을 동시에 종료하여 메모리 오류 유도

🛡️ 대응 방법

해당 취약점이 수정된 최신 Linux 커널 버전으로 업데이트

🔧 검증 코드

출력된 커널 버전이 해당 취약점이 패치된 배포판의 보안 업데이트 버전인지 확인

Shell / Script
uname -r

📊 CVSS Vector String

CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

💻 영향받는 소프트웨어

Linux Kernel