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 54F943E0235 for ; Fri, 24 Apr 2026 14:49:04 +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=1777042144; cv=none; b=IUsiKX4PBMrkDGs0wOxUou03RKMObpEIRBhLMi58wSdi2C/NCUjbmEmfyy9ZoFPwA5XUbWn4fBxJ2uv2zADx4UEoyr4w+Vg+7sAhE2i0WIH3/nFPCWTuYPqGVTD7pIFNztNj9s6fWp84LC/iql8Bap9q5GCDgHGe5Fsa2ADcvb8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777042144; c=relaxed/simple; bh=WM6dm7J4IRAUsvY+JdzPvjgJjm4zaj/Lb3F10zuX3D0=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=AZftwOzlD6C393/ZJTjA5vGaMcPW4japytPi2vGxqwiDW8UJIOXHFmvY21kfFmi8Uc6k/fhDqT7lgFj1eY83wWY9leGzEVtDfR5Vi4VYWWBdXJD84ZC9MBvKqX/dGRxSs17TGbY2kPzPxGRfZGKAJaabxoWVthezC4l3ZCbxKrk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=kIZU/2X3; 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="kIZU/2X3" Received: by smtp.kernel.org (Postfix) with ESMTPSA id DFABDC19425; Fri, 24 Apr 2026 14:49:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1777042144; bh=WM6dm7J4IRAUsvY+JdzPvjgJjm4zaj/Lb3F10zuX3D0=; h=From:To:Cc:Subject:Date:Reply-To:From; b=kIZU/2X3j4Di6aN+bIyBGxM7Fep1SrXad2Ymh31oQtWjSEl0ONbM0hYXscPNeZ4AF bOcYIin++WVI6ry4yYiUVut0LDzxJDk64fOu54dx35YLtnVDaO9/lkmrpnzfhB8pVc VlG8WLoFlEDB3cO411pQhiCnpyKeIqpvW9Tu7QMY= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-31643: rxrpc: Fix key parsing memleak Date: Fri, 24 Apr 2026 16:46:05 +0200 Message-ID: <2026042457-CVE-2026-31643-54c3@gregkh> X-Mailer: git-send-email 2.53.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=2139; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=G0p0afxSJM8WZLa0Q2dT7zcw6Gvoiuji5qIDc8YJiVI=; b=owGbwMvMwCRo6H6F97bub03G02pJDJmvm9Sc7O/s/Rz/T33q7j9h26t1+w/zdhXHP4pbatP3P 3orw0v9jlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZiIegzDHP7zyr9r5i9YxpjM UHjFcHE6w03e8wwLbmz4kba2LMisqKC4z92kv88ofWk9AA== 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: rxrpc: Fix key parsing memleak In rxrpc_preparse_xdr_yfs_rxgk(), the memory attached to token->rxgk can be leaked in a few error paths after it's allocated. Fix this by freeing it in the "reject_token:" case. The Linux kernel CVE team has assigned CVE-2026-31643 to this issue. Affected and fixed versions =========================== Issue introduced in 6.16 with commit 0ca100ff4df64f5d0f6c1dd5080c3e096786bea6 and fixed in 6.18.23 with commit d5f76f812d2c0ea6dd651b0586be49e85ecca085 Issue introduced in 6.16 with commit 0ca100ff4df64f5d0f6c1dd5080c3e096786bea6 and fixed in 6.19.13 with commit 01f51318feb626deee1d0c8a190198cd7857d599 Issue introduced in 6.16 with commit 0ca100ff4df64f5d0f6c1dd5080c3e096786bea6 and fixed in 7.0 with commit b555912b9b21075e8298015f888ffe3ff60b1a97 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-31643 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/rxrpc/key.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/d5f76f812d2c0ea6dd651b0586be49e85ecca085 https://git.kernel.org/stable/c/01f51318feb626deee1d0c8a190198cd7857d599 https://git.kernel.org/stable/c/b555912b9b21075e8298015f888ffe3ff60b1a97