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

CVE-2026-89545 sunrpc: defer rq_argp and rq_resp free until after RCU grace period

설명

In the Linux kernel, the following vulnerability has been resolved: sunrpc: defer rq_argp and rq_resp free until after RCU grace period svc_rqst_free() frees rqstp->rq_argp and rqstp->rq_resp synchronously via kfree(), but defers the rqstp struct free via kfree_rcu(). After svc_exit_thread() calls list_del_rcu() and svc_rqst_free(), there is a window where RCU readers that started before list_del_rcu() can still traverse the thread list and find the rqstp. These readers (e.g. nfsd_nl_rpc_status_get_dumpit()) dereference rqstp->rq_argp, which has already been freed — a use-after-free. Fix this by moving the kfree of rq_argp and rq_resp into an explicit call_rcu() callback alongside the struct free. Resources not accessed by RCU readers (bvec, buffer pages, scratch folio, auth_data) remain synchronously freed.

영향 받는 제품 제품 1개

  • Linux

    Linux

    해결 버전 있음

    영향 받는 버전

    • 3.19

    해결 버전

    • 3.19 미만
    • 6.1.191 이상
    • 6.12.111 이상
    • 6.18.50 이상
    • 7.2.4 이상

참고 자료 5건

‹ 목록

점검 지원 범위 문의

도입 문의