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 4CB173AFCEF for ; Thu, 28 May 2026 09:41:34 +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=1779961295; cv=none; b=XbNowAWXA2oM4KQExdxYVioCufWvj0Qf4OIdMXpQj8zSxNJzta08uKmojSQvljXHmzJOyQNvdxZ/kD2c9IPzMP22lAqQGWd+52UkgEIHjYEoKUPMMUz4Wdn5iqT7H387OFpM/6xBNht7TP//g9hyv6FU/kHu7V6duNIrLlXbHhI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779961295; c=relaxed/simple; bh=KmdkB567zyOu8BQVuMMacVEW3h73+TWeMo1sn9j7Ojw=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=A33Ym+s7iCsbc9gx3hBDez7UHNPg2f97ksHUpdAogTH/Rv78xq0gpjAEVFdphIMYa0InaQNis+JfYPxk+kXYD0NBpzku+tC6MdL0Rncl2stBvze/P4hwxIkjpY/xiweUJPnRoYCdV0B+eEdVEFynTg+5KoVca/X2tDx4qDDVX+Y= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=xmBIODT3; 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="xmBIODT3" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7FBA81F00A3A; Thu, 28 May 2026 09:41:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1779961294; bh=Vg7OKL0/fzVojk8cDEAoCL8kXGylEc3eX0FFftT+bKw=; h=From:To:Cc:Subject:Date:Reply-To; b=xmBIODT3Jcerapkz3aN6o6vVyeImZRMrfGidZzp+n2n1xOCJB3OUXAygI8XYfNtYD 8+jklK4cOYpmnYA/P4lXKm0l/6liI28O40f7Ksi+moDbilYc7tph78bOdys7vyXla4 9gTqFJX7wiLakCmiLDJRGQNMHbHZG90eh5ACHaK0= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-46145: RDMA/mana: Validate rx_hash_key_len Date: Thu, 28 May 2026 11:36:50 +0200 Message-ID: <2026052821-CVE-2026-46145-e347@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=2630; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=h4a9Bc6K8ARtk2gdurAUR9zokoM7N9UR7jnZ5PA4wdw=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkSPFMfNz8yXXlJ4b0Rz6SsleHhch4C3atF7Xwqkn8zL +RYr5/cEcvCIMjEICumyPJlG8/R/RWHFL0MbU/DzGFlAhnCwMUpABOxL2NYsOXGy/c1u6OsLI12 XH5reXJuYGfvQYZ5pkqa98zO+jK9fpilU9skJ+w556EXAA== 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/mana: Validate rx_hash_key_len Sashiko points out that rx_hash_key_len comes from a uAPI structure and is blindly passed to memcpy, allowing the userspace to trash kernel memory. Bounds check it so the memcpy cannot overflow. The Linux kernel CVE team has assigned CVE-2026-46145 to this issue. Affected and fixed versions =========================== Issue introduced in 6.2 with commit 0266a177631d4c6b963b5b12dd986a8c5abdbf06 and fixed in 6.6.141 with commit 7d7c9f0fcd19c4d2f0164347c58d49cafa961b72 Issue introduced in 6.2 with commit 0266a177631d4c6b963b5b12dd986a8c5abdbf06 and fixed in 6.12.88 with commit 11c1431d641e0e4e0529e96957995820600c7287 Issue introduced in 6.2 with commit 0266a177631d4c6b963b5b12dd986a8c5abdbf06 and fixed in 6.18.30 with commit 012796f9541fcd0c1fa8ae4da7eb4d83931ef838 Issue introduced in 6.2 with commit 0266a177631d4c6b963b5b12dd986a8c5abdbf06 and fixed in 7.0.7 with commit 7d94f155f354b961c598f71bafa804dceded513f Issue introduced in 6.2 with commit 0266a177631d4c6b963b5b12dd986a8c5abdbf06 and fixed in 7.1-rc3 with commit 6dd2d4ad9c8429523b1c220c5132bd551c006425 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-46145 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/mana/qp.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/7d7c9f0fcd19c4d2f0164347c58d49cafa961b72 https://git.kernel.org/stable/c/11c1431d641e0e4e0529e96957995820600c7287 https://git.kernel.org/stable/c/012796f9541fcd0c1fa8ae4da7eb4d83931ef838 https://git.kernel.org/stable/c/7d94f155f354b961c598f71bafa804dceded513f https://git.kernel.org/stable/c/6dd2d4ad9c8429523b1c220c5132bd551c006425