kcve.ai취약점 정보 · 내 자산 확인

CVE-2026-80982 net/smc: fix use-after-free in smc_rx_pipe_buf_release()

설명

In the Linux kernel, the following vulnerability has been resolved: net/smc: fix use-after-free in smc_rx_pipe_buf_release() smc_rx_splice() hands RMB pages to a pipe and takes a socket reference per entry so the smc_sock stays alive until the reader finishes. The connection does not: a concurrent close runs smc_conn_free(), which releases the receive buffer back to the link group pool. smc_rx_pipe_buf_release() tests sk_state before taking the socket lock. The state can change between the test and the lock, and smc_rx_update_cons() then dereferences conn->rmb_desc and walks conn->lgr, which smc_conn_free() has already released. On the is_reg_err path smcr_buf_unuse() frees the descriptor outright, so this is a use-after-free. Take the socket lock first and test conn->freed instead. smc_conn_free() sets that flag before releasing anything, and every caller holds the socket lock. The two paths exclude each other: either the pipe release runs first with everything valid, or it sees the flag and skips the update.

영향 받는 제품 제품 1개

  • Linux

    Linux

    해결 버전 있음

    영향 받는 버전

    • 4.18

    해결 버전

    • 4.18 미만
    • 6.1.188 이상
    • 6.6.157 이상
    • 6.12.109 이상
    • 6.18.50 이상
    • 7.2.4 이상

참고 자료 6건

‹ 목록

점검 지원 범위 문의

도입 문의