Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 EC1FA3101D4 for ; Wed, 14 Jan 2026 15:06:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768403213; cv=none; b=StgqtbvvD6Yz4dV1mNE1fKYabcGzfUBHRyDbbkF8wZ1gauS4YWXlJnaHs/CqIIASaLnwjLUk1GV4J3VrTFiFrMCGKIZ79iquhX8/zyZ9oH5bJOOBTBn50Bg0+BZ2xNSfeJ1x/sx+qdWEY3F2k3mdv24KDYwfr74sBY8CbaKp2kM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768403213; c=relaxed/simple; bh=yUdzonLRCX25HQGQMTZIlpl3JoPXyqULC2c8hn0MGi4=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=COOSkJmzX+ncyo6CGFeDVC91LuBhPrJDsBVVBkNEGccf63rrs1Hd87m8Drjb4CyYUYLYzVevVhQqV3AgeDTwXjJSLGgbmh9PFoi4Af8MQP0Me8d1k7T6GHKhDR5z6IEazmQT/z5lpCXTH6hSGiQ/I/Kos7r4ExwJC0M9ZEnmF6U= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=L9pGeoNm; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="L9pGeoNm" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3D2CBC4CEF7; Wed, 14 Jan 2026 15:06:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1768403212; bh=yUdzonLRCX25HQGQMTZIlpl3JoPXyqULC2c8hn0MGi4=; h=From:To:Cc:Subject:Date:Reply-To:From; b=L9pGeoNmnD/HGXzr2g0ee5EOXpCYeUPJseauNsZaokqU5yM6BoGK5N6W4YVX/tp+V tCpmz+vJ3wUjAcWHlQRvsFq0klCMvaFqX53iodCtpCMk8UlQoCF+jQCSC4nN3I9CwV si8NBfIU9OshosS4VISF4n0/+Wwuw2Llp+2oId4M= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-71120: SUNRPC: svcauth_gss: avoid NULL deref on zero length gss_token in gss_read_proxy_verf Date: Wed, 14 Jan 2026 16:06:25 +0100 Message-ID: <2026011415-CVE-2025-71120-d0a6@gregkh> X-Mailer: git-send-email 2.52.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=2941; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=e/J0rtWj7RVSos5b9UrTpZT2rZtQrwNqXPzmPwnQRgM=; b=owGbwMvMwCRo6H6F97bub03G02pJDJnpG17c2f1/fbBH9bm760vPzMqJKJ8avbG/oPhh2m6Xm 9EpIe1zO2JZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAiYWoMC5aIa5mqh75yT+4w 6v8kk1gYUKWlxjCbleXHYeEHJWc0vnElzA/68i2rXHQ9AA== 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: svcauth_gss: avoid NULL deref on zero length gss_token in gss_read_proxy_verf A zero length gss_token results in pages == 0 and in_token->pages[0] is NULL. The code unconditionally evaluates page_address(in_token->pages[0]) for the initial memcpy, which can dereference NULL even when the copy length is 0. Guard the first memcpy so it only runs when length > 0. The Linux kernel CVE team has assigned CVE-2025-71120 to this issue. Affected and fixed versions =========================== Issue introduced in 5.5 with commit 5866efa8cbfbadf3905072798e96652faf02dbe8 and fixed in 6.1.160 with commit f9e53f69ac3bc4ef568b08d3542edac02e83fefd Issue introduced in 5.5 with commit 5866efa8cbfbadf3905072798e96652faf02dbe8 and fixed in 6.6.120 with commit 7452d53f293379e2c38cfa8ad0694aa46fc4788b Issue introduced in 5.5 with commit 5866efa8cbfbadf3905072798e96652faf02dbe8 and fixed in 6.12.64 with commit a2c6f25ab98b423f99ccd94874d655b8bcb01a19 Issue introduced in 5.5 with commit 5866efa8cbfbadf3905072798e96652faf02dbe8 and fixed in 6.18.3 with commit 1c8bb965e9b0559ff0f5690615a527c30f651dd8 Issue introduced in 5.5 with commit 5866efa8cbfbadf3905072798e96652faf02dbe8 and fixed in 6.19-rc3 with commit d4b69a6186b215d2dc1ebcab965ed88e8d41768d Issue introduced in 4.19.99 with commit 66ed7b413d31c6ff23901ac4443b1cc1af2f6113 Issue introduced in 5.4.15 with commit 7be8c165dc81564705e8e0b72d398ef708f67eaa 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-2025-71120 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/auth_gss/svcauth_gss.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/f9e53f69ac3bc4ef568b08d3542edac02e83fefd https://git.kernel.org/stable/c/7452d53f293379e2c38cfa8ad0694aa46fc4788b https://git.kernel.org/stable/c/a2c6f25ab98b423f99ccd94874d655b8bcb01a19 https://git.kernel.org/stable/c/1c8bb965e9b0559ff0f5690615a527c30f651dd8 https://git.kernel.org/stable/c/d4b69a6186b215d2dc1ebcab965ed88e8d41768d