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 D6A1B3E0249 for ; Fri, 24 Apr 2026 14:49:06 +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=1777042146; cv=none; b=s5T5CAWijHxa9eWdSiyFh0deyYVRYbbEZyjR01AWVTfJJ72n/3rC4MJ510SnlMVv986GI6MS7XSfVKIxyNSE4T6MBWDAIML13CGWq3o30hyzc4hOhzNa90iUVAcM8dJ7PtR/pXpjOtK5FtwjLfZBt5qhnBYT2EuYB4cM0O9cyJM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777042146; c=relaxed/simple; bh=CtYQEnNSYVQsmZJIoF2WmUJXkfslMwGywxXQoay4rU0=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=mjzqMnmmjnHq4U75tonbNf/Oq+c7Pd5MVcQyGWzGDjDSO5k8V/8BULJSX5NATnf9mb+GgLw5ZaXgv/ge8HsKFR7MxjM+Aaj+oEvBsGjY5rnyehkat2t2A63VHycQrGhTtAwnit8jvr4/HFXXbg5xd9KjgGaYwuZ8QprO5aMnaL4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=e9hsyis3; 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="e9hsyis3" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6D60BC19425; Fri, 24 Apr 2026 14:49:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1777042146; bh=CtYQEnNSYVQsmZJIoF2WmUJXkfslMwGywxXQoay4rU0=; h=From:To:Cc:Subject:Date:Reply-To:From; b=e9hsyis3ErogwD8NUqZWjrrdqVS3RqFcwRCIzyMLYkODe1h8vE8pGCPm5JJ1y7jvJ mwRd1EUA1LtijK1L47zyX04ZeYOhdVlWK0tUDlZVwT/V6iRMmOujT2YA6ZHGv61wqi /po8pkDtBfisjg515DjddYnQkWVp/yS4kU7kH4lw= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-31634: rxrpc: fix reference count leak in rxrpc_server_keyring() Date: Fri, 24 Apr 2026 16:45:56 +0200 Message-ID: <2026042454-CVE-2026-31634-35fc@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=3035; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=PFuJZLgCfeTglS6emG0uhyswD+/j4y8SdqEMcFIfh0M=; b=owGbwMvMwCRo6H6F97bub03G02pJDJmvm5TWG3RxNl6vcbwtX3UtkznCr8L7kiiv5cXbc16t3 i3385paRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAEzkyXOG+dHc0sLrXNoU73wT 6tozZUHiSq6Z8gwLdj4zSLGJVVOY9vzR+pT/vw55Ky1MAQA= 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 reference count leak in rxrpc_server_keyring() This patch fixes a reference count leak in rxrpc_server_keyring() by checking if rx->securities is already set. The Linux kernel CVE team has assigned CVE-2026-31634 to this issue. Affected and fixed versions =========================== Issue introduced in 2.6.22 with commit 17926a79320afa9b95df6b977b40cca6d8713cea and fixed in 5.15.203 with commit fc76d0bd00850b7372f0a4a319c0c60f80487632 Issue introduced in 2.6.22 with commit 17926a79320afa9b95df6b977b40cca6d8713cea and fixed in 6.1.169 with commit c6d9ea26cf8756ad6f162578e94a5f82f6fae3c2 Issue introduced in 2.6.22 with commit 17926a79320afa9b95df6b977b40cca6d8713cea and fixed in 6.6.135 with commit 9ce36d28f67c2a477a7e2f03480de3f6783fb363 Issue introduced in 2.6.22 with commit 17926a79320afa9b95df6b977b40cca6d8713cea and fixed in 6.12.82 with commit 12de9e0e0b0b7058be7dfb8a5927eb565bc25780 Issue introduced in 2.6.22 with commit 17926a79320afa9b95df6b977b40cca6d8713cea and fixed in 6.18.23 with commit 8ee931c3cd97f1c42b4fbf057f04b9dae45dfb7a Issue introduced in 2.6.22 with commit 17926a79320afa9b95df6b977b40cca6d8713cea and fixed in 6.19.13 with commit 139c750bf06649097d98b0bc41e2a678b4627e27 Issue introduced in 2.6.22 with commit 17926a79320afa9b95df6b977b40cca6d8713cea and fixed in 7.0 with commit f125846ee79fcae537a964ce66494e96fa54a6de 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-31634 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/server_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/fc76d0bd00850b7372f0a4a319c0c60f80487632 https://git.kernel.org/stable/c/c6d9ea26cf8756ad6f162578e94a5f82f6fae3c2 https://git.kernel.org/stable/c/9ce36d28f67c2a477a7e2f03480de3f6783fb363 https://git.kernel.org/stable/c/12de9e0e0b0b7058be7dfb8a5927eb565bc25780 https://git.kernel.org/stable/c/8ee931c3cd97f1c42b4fbf057f04b9dae45dfb7a https://git.kernel.org/stable/c/139c750bf06649097d98b0bc41e2a678b4627e27 https://git.kernel.org/stable/c/f125846ee79fcae537a964ce66494e96fa54a6de