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 922D73AF647 for ; Wed, 25 Mar 2026 10:29:50 +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=1774434590; cv=none; b=paUa1YfVYKBZM04OX9wRjDrpkLPV9mfIQjWombZfXUiyt6Q59aWITIqkXBVzkZAX0RAc0DvLjkS8SLkgeZAtorGYLRTyJcInpBq2ohyooj5rF6vWx0tyUeUbk0i+i3KXzVJRzCfqkHxeIDrV9Y9+91RC2HxhDCbOW9UFS13iCXw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774434590; c=relaxed/simple; bh=eMMK67ZOpzy7X5w/+AfvApoTrrAJU2dhkUp3sQs+dis=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=pinw7ZRIuLQ0jDtV1N6i+VAuPXqCY1Hn/+2HYG8iteaNiyRbPd4QKjnjCJ9L47c09zwJLbk+EGoqhyxZVWErp6aPf7laM52i9VoCUHdoDPaGz7jYJnbXQ4piLwS0dqCFXxpWEf/y4MymRCHb/Bn6mxwdasGf4Ddb/Zmr6hTkRfw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=HxoWjk/7; 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="HxoWjk/7" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0A252C2BC9E; Wed, 25 Mar 2026 10:29:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1774434590; bh=eMMK67ZOpzy7X5w/+AfvApoTrrAJU2dhkUp3sQs+dis=; h=From:To:Cc:Subject:Date:Reply-To:From; b=HxoWjk/70YneQjQbbPMxOzuCheRhcpSJngkdkw6f/m/lbisXAa5Rqy9bDPwSo4HCx vo6H96q/Gvs7fm09vOZM5F1CFXaeujav1GP42k2I/DhoECT2IT0aisqcWhI8ecpqar h0gfEgO6m9W3S75uytZ82hhi65mONz7TKpS8cbqk= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-23335: RDMA/irdma: Fix kernel stack leak in irdma_create_user_ah() Date: Wed, 25 Mar 2026 11:27:19 +0100 Message-ID: <2026032533-CVE-2026-23335-602d@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=3077; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=OO/syCcTK0HXbTDeQqjXiepD9G/POFCU+fgxZx6FSkg=; b=owGbwMvMwCRo6H6F97bub03G02pJDJmHd0RK1p1oc/nxQsZD9P6Hc1PXPomvvtd5y01p0dvLt k5S3zIqO2JZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAi0rUM86zcbvf6b5/x5L21 +bJFD/ZE2QdZP2WYH7jL/n0rz58PhTE33aMvL91+cZraPwA= 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: RDMA/irdma: Fix kernel stack leak in irdma_create_user_ah() struct irdma_create_ah_resp { // 8 bytes, no padding __u32 ah_id; // offset 0 - SET (uresp.ah_id = ah->sc_ah.ah_info.ah_idx) __u8 rsvd[4]; // offset 4 - NEVER SET <- LEAK }; rsvd[4]: 4 bytes of stack memory leaked unconditionally. Only ah_id is assigned before ib_respond_udata(). The reserved members of the structure were not zeroed. The Linux kernel CVE team has assigned CVE-2026-23335 to this issue. Affected and fixed versions =========================== Issue introduced in 5.14 with commit b48c24c2d710cf34810c555dcef883a3d35a9c08 and fixed in 6.1.167 with commit 14b47c07c69930254f549a17ee245c80a65b1609 Issue introduced in 5.14 with commit b48c24c2d710cf34810c555dcef883a3d35a9c08 and fixed in 6.6.130 with commit 1b1fac4c7a3ab7f52e9cfb91e5c91216646ca4d8 Issue introduced in 5.14 with commit b48c24c2d710cf34810c555dcef883a3d35a9c08 and fixed in 6.12.77 with commit 2fd37450d271d74b3847baed284f9cfdf198c6f8 Issue introduced in 5.14 with commit b48c24c2d710cf34810c555dcef883a3d35a9c08 and fixed in 6.18.17 with commit cfe962216c164fe2b1c1fb6ac925a7413f5abc84 Issue introduced in 5.14 with commit b48c24c2d710cf34810c555dcef883a3d35a9c08 and fixed in 6.19.7 with commit c9bd0007c4bdb7806bbd323287e50f9cf467c51a Issue introduced in 5.14 with commit b48c24c2d710cf34810c555dcef883a3d35a9c08 and fixed in 7.0-rc2 with commit 74586c6da9ea222a61c98394f2fc0a604748438c 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-23335 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: drivers/infiniband/hw/irdma/verbs.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/14b47c07c69930254f549a17ee245c80a65b1609 https://git.kernel.org/stable/c/1b1fac4c7a3ab7f52e9cfb91e5c91216646ca4d8 https://git.kernel.org/stable/c/2fd37450d271d74b3847baed284f9cfdf198c6f8 https://git.kernel.org/stable/c/cfe962216c164fe2b1c1fb6ac925a7413f5abc84 https://git.kernel.org/stable/c/c9bd0007c4bdb7806bbd323287e50f9cf467c51a https://git.kernel.org/stable/c/74586c6da9ea222a61c98394f2fc0a604748438c