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 87DBA36493C for ; Sat, 15 Aug 2026 06:17:07 +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=1786774628; cv=none; b=SUhrv+YLbrbFdTs1Ybq2P35vQGtLKc5AxHwXq6SrVlMB7YZwDRe/C3DA5mfVYfB8Q5rPBLgBwjNpk3rZDrGt8vk/YI00UWewzWn9p8SvNS5Jv/EmLD/1uJenuHX0f1OGVfPlhi2RMio6u8aov9iP4g+mn6FX1o9UrTYUJ0PTSKc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786774628; c=relaxed/simple; bh=IcFc2DV81VGPpNQOMLXkHcoWUKmS0d8ESBPyxtiaFc0=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=d4a8o93VZM/elguCspmTTiEATwzhLxL+qQoGGBdZztQrBvqBVuaDjLPpHjq1ef6wMQSFTAZBzNhJ+CPEAqw/fcrrxFqmSIDRGVHIorChmqMI9pgOwIlJpk6JDbmdbj2plR9JuLxt7UC9ES9MEUJJu9MWCKlSseJJifgYZjg7V84= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=TsxQ2Tc8; 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="TsxQ2Tc8" Received: by smtp.kernel.org (Postfix) with ESMTPSA id C44461F000E9; Sat, 15 Aug 2026 06:17:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1786774627; bh=2qfZI6AHubiHWznxQmKsBdk28RHs7D46RBpEUODoTWI=; h=From:To:Cc:Subject:Date:Reply-To; b=TsxQ2Tc85VbZeo50v8aOhAWlv0IHeYnEP9zMxTA95kcv1elrx+UkilLxXO9dxjeB6 U2GbZBOtCDIWPXibPrCIzvqA4nX9UHFq8XdR3CAGjiuZ4R/2KBvBHeZiDnaq66R/Dk Ny8QhxD5o/bLGJXnx85T06Zia9fMnUFeRWmy4GgI= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-72220: sunrpc: harden rq_procinfo lifecycle to prevent double-free Date: Sat, 15 Aug 2026 15:04:59 +0900 Message-ID: <2026081547-CVE-2026-72220-f82b@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=2912; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=ZnKVkvX4NCOVvumC3R+i/3+1ITqNP9Xdony+TpDbVKg=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkNDKcrDrkvmMT3zYNnVfcX8aeXufWWl7V6VQk7FFc6O ng/Pd7bEcvCIMjEICumyPJlG8/R/RWHFL0MbU/DzGFlAhnCwMUpABO5KcswV1ii6dvLvV/NvY/P mhPBqS200v79W4a5olYtZSZ7f4advPhjgmiIX/P8b2t+AAA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman Description =========== In the Linux kernel, the following vulnerability has been resolved: sunrpc: harden rq_procinfo lifecycle to prevent double-free The svc_release_rqst() function executes the callback inside rqstp->rq_procinfo->pc_release. However, if a worker thread begins processing a new request and encounters an early error path (e.g., unsupported protocol, short frame, or bad auth) before a valid rq_procinfo is installed, a stale release hook can be re-triggered against reused state from the previous RPC, resulting in a double-free or use-after-free vulnerability. Harden the lifecycle of rq_procinfo by: 1. Ensuring svc_release_rqst() always clears rq_procinfo after the optional pc_release() call, regardless of whether the hook exists. 2. Explicitly clearing rq_procinfo at request entry in svc_process() before any early decode or drop paths. 3. Ensuring svc_process_bc() does the same at backchannel entry. This guarantees that error flows will not encounter a non-NULL stale rq_procinfo pointer when there is nothing to release. The Linux kernel CVE team has assigned CVE-2026-72220 to this issue. Affected and fixed versions =========================== Issue introduced in 6.18 with commit d9adbb6e10bf7d4223d3d521ede1b2052903bc5e and fixed in 6.18.40 with commit 66014ab165cb01bfef5836939412a8ef98d5d5ff Issue introduced in 6.18 with commit d9adbb6e10bf7d4223d3d521ede1b2052903bc5e and fixed in 7.1.5 with commit 31ba490c02d476a5e4f90b8845932ac9db8aa71b Issue introduced in 6.18 with commit d9adbb6e10bf7d4223d3d521ede1b2052903bc5e and fixed in 7.2-rc1 with commit 18d216788bef06332ff8901670ecf1ed8f6eb614 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-72220 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/66014ab165cb01bfef5836939412a8ef98d5d5ff https://git.kernel.org/stable/c/31ba490c02d476a5e4f90b8845932ac9db8aa71b https://git.kernel.org/stable/c/18d216788bef06332ff8901670ecf1ed8f6eb614