Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0C24A585966 for ; Fri, 11 Sep 2026 19:55:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789156536; cv=none; b=pudWryfVyaembihJY8GRbBy+Kg3MPOf64ZjAmDnuQ5PPCCpV953vtABexM4HaOBv0AmiGnQArCvdjDBDMEq6sCOoH0EHqbhngVuFGy5I490rtmt9vKUSqZPvhNz2Yx3I/GR563O5YVkpYad8du/50yPECN/5RKdulT7bAbIIktc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789156536; c=relaxed/simple; bh=cprbRws44ZktCVvgna37bNCTnUF6wR4wVueqWgQoYqk=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type; b=EpXMLM3naON0ht3+CJGrRzJzV9gWqMKufQMHINCx878Eegyv1ladodYl0K3EObk3cCQPMCXAq0tx/7X7e9Fq/fR4B+vWhybzgzj6hmJou1g1YFahZX3JLRuthfBKFW18vuxoy+byfVVU8umfo3KYGLw0EAPA4qvjJD6sDoW0yys= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=X5aGWKFo; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="X5aGWKFo" Received: by smtp.kernel.org (Postfix) with ESMTPSA id ADB1C1F000FF; Fri, 11 Sep 2026 19:55:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1789156526; bh=tW2Fwjv/YIXqHwRZQpqt9U03ZwaNG1IUjrJNKfRtIjs=; h=From:To:Cc:Subject:Date:Reply-To; b=X5aGWKFoBv6sonuRakEYaezysRRHdKhV+ApOBAY2s8UJyMC9JvEjI0m+M6Y3B6C2q ye6Zif4S1q8oIx5Zc+NhKYGE5GV//f+B8sb8PUfBEdbJXQSlcwIo1RDC9h8aY6/6Ps 9kdLQxrnikn2NaAsWXQa8OpSkaUw34tp8MyP5yJ4= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-89545: sunrpc: defer rq_argp and rq_resp free until after RCU grace period Date: Fri, 11 Sep 2026 21:43:54 +0200 Message-ID: <2026091120-CVE-2026-89545-f740@gregkh> X-Mailer: git-send-email 2.55.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2698; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=PuthtpvRuPTS225yMwr3gC9VcvU/4A29Zv7fgwvt/TU=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlLIhPWRHssEJT6a3Nljv7y54FaRgIPryeeWHVn4aJ95 w18an/ndcSyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBEIv8wzLPg5Pu+wOOVyC2R U3NWxe9cfJhV9CPD/PTVk/eFTC/T4J7870b/zRmrHLfWSwIA X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman Description =========== 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. The Linux kernel CVE team has assigned CVE-2026-89545 to this issue. Affected and fixed versions =========================== Issue introduced in 3.19 with commit 812443865c5fc255363d4a684a62c086af1addca and fixed in 6.18.50 with commit 08bc49e0541260bf294962cf889a32a2d2713ad6 Issue introduced in 3.19 with commit 812443865c5fc255363d4a684a62c086af1addca and fixed in 7.2.4 with commit e0c5693d3f9a5d4911735ab0e0eba4eecb1f1090 Issue introduced in 3.19 with commit 812443865c5fc255363d4a684a62c086af1addca and fixed in 7.3-rc1 with commit c479bde671cbe2f9e152834a8b0eb7c3c295bbaf Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2026-89545 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: net/sunrpc/svc.c Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: https://git.kernel.org/stable/c/08bc49e0541260bf294962cf889a32a2d2713ad6 https://git.kernel.org/stable/c/e0c5693d3f9a5d4911735ab0e0eba4eecb1f1090 https://git.kernel.org/stable/c/c479bde671cbe2f9e152834a8b0eb7c3c295bbaf