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 66AB040759B for ; Wed, 27 May 2026 13:03:04 +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=1779886985; cv=none; b=DCRijzAfbH3Jb/3xJ+5LIPILVidNDG8t/aTLhQ/a0P5QCBJxB+8AwUCjVOfBXmt5CTpgBdEn0Uvba7Q0357/rC/ce+wbLJcW9qFkmOa8aWyH6rznWNysvo+K0upzAqgb7tEgfiee0H+/occOlUN8//ZUOhFumBRxipi2jPfETi4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779886985; c=relaxed/simple; bh=QPm6mDDASwo9DcidcYHddiFk22fn8fjgCLewuRNFr6Q=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=ClFgxpX7zEM8vpAUbKUZP36piJ416zuBQKbqoSWayOrO2iD31zBQ1oWvML53glDEZTH63JQC+CHJSYC9ZgB5tZVv3y4We2v05eaY/S9wfd88Gp1++yht85nzjpZXswFQMc6TJF6tcBhx0HLVTPFalDSBfANAgsYDPzpHvH4ty+g= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=COmsq/2+; 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="COmsq/2+" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 684E41F000E9; Wed, 27 May 2026 13:03:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1779886984; bh=484j85VVmrg/JZ8Gpe7MK7siciRJlkr/UBWBPgAuwE4=; h=From:To:Cc:Subject:Date:Reply-To; b=COmsq/2+2+W7tjtOCaL8L1QOtCip9msKA34fVwtj6enAGbvRea+1Wbj5F2zDxqWeG z69y13uHu3zKsbZFx/Uwq+hKHORsVNTEK72sdezR/K5L8RlsXrvmnQ0cLfcslS2saz Ny+WZWVtaJ+lMWYdSZRxp+cPb9QTN17OCBdYf8Mw= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-46012: rxrpc: Fix memory leaks in rxkad_verify_response() Date: Wed, 27 May 2026 14:59:03 +0200 Message-ID: <2026052744-CVE-2026-46012-f467@gregkh> X-Mailer: git-send-email 2.54.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=2779; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=p/iNYwwhFrcpIzpBpgMLbvx8xtGUIuFHWc0PJSHB4yw=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlir1pWhFlWC6nufxQw47Kc56pX9eGeH+PDuma2nTuX/ C+vVL2pI5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACZicYRhvsufDfwXm42Z8v0v mFw68+V9S4iIBMM8tV/MGRqWbky+lyNzjDkn2/2zCswEAA== 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 memory leaks in rxkad_verify_response() Fix rxkad_verify_response() to free the ticket and the server key under all circumstances by initialising the ticket pointer to NULL and then making all paths through the function after the first allocation has been done go through a single common epilogue that just releases everything - where all the releases skip on a NULL pointer. The Linux kernel CVE team has assigned CVE-2026-46012 to this issue. Affected and fixed versions =========================== Issue introduced in 5.11 with commit ec832bd06d6fdf08b0455ab7c2a7a9104e029638 and fixed in 6.6.140 with commit c4b8f32e73eafd4a5076be890c7c8506ec04567c Issue introduced in 5.11 with commit ec832bd06d6fdf08b0455ab7c2a7a9104e029638 and fixed in 6.12.86 with commit 852b9d64cea421336579b2de3d1338dfa677e2dd Issue introduced in 5.11 with commit ec832bd06d6fdf08b0455ab7c2a7a9104e029638 and fixed in 6.18.27 with commit 861b9a0a1823bf064a7b810d29502a9ef043f40f Issue introduced in 5.11 with commit ec832bd06d6fdf08b0455ab7c2a7a9104e029638 and fixed in 7.0.4 with commit c91f33fb8356dedc82bc56ce210f1a5dbee62a52 Issue introduced in 5.11 with commit ec832bd06d6fdf08b0455ab7c2a7a9104e029638 and fixed in 7.1-rc1 with commit 34f61a07e0cdefaecd3ec03bb5fb22215643678f 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-46012 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/rxkad.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/c4b8f32e73eafd4a5076be890c7c8506ec04567c https://git.kernel.org/stable/c/852b9d64cea421336579b2de3d1338dfa677e2dd https://git.kernel.org/stable/c/861b9a0a1823bf064a7b810d29502a9ef043f40f https://git.kernel.org/stable/c/c91f33fb8356dedc82bc56ce210f1a5dbee62a52 https://git.kernel.org/stable/c/34f61a07e0cdefaecd3ec03bb5fb22215643678f