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 34E987489 for ; Fri, 8 Nov 2024 06:08:30 +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=1731046110; cv=none; b=k97fNEV4LZTqT1X6iY+jCqywVDdOviSOVivWEEguG4n/5oJKNm/EkEtK/H7e0vuiVJkR7/X0y7kHyxG6CWmkWcp7gHQmLyYhcSxjOCp6T5aB5910zpMEwIeZGxjQOv87rxy58i+uV5/OkD+uEcvyWqxgZPSFNEEcG37zA4pEEQ0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1731046110; c=relaxed/simple; bh=a1k2dqWU2UCty9uZfqsZB/Qk2Ehrx+SinG9XKWcrqPI=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Njv2p/Wd0uiRUiyilfVG+L7NUTJJIi0Ma1+zw9jkTGnVgV5ZtGbPr7z3jJY8DAaMZQ42XnXXkpqON3lEqNhMq2RyEnS3s4T8uFTlsXizSRkHKAkE6Z/5Q/lmicIwj9rPMbgzSGAzyRgRjo8qa8nMuMKJAeXjJL4Epj+Tlso4Eso= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=IGwCm70i; 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="IGwCm70i" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 95018C4CECE; Fri, 8 Nov 2024 06:08:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1731046110; bh=a1k2dqWU2UCty9uZfqsZB/Qk2Ehrx+SinG9XKWcrqPI=; h=From:To:Cc:Subject:Date:Reply-to:From; b=IGwCm70inPbDqPJw4rYsZ4X6BwYUH3QUJ+b2YG7Ymnub+RG6U1TsacdvvKa6OaYN2 Fe/+5SocHBFlxtcT9PPZpcKvUS8tZKvAZQO9XF/Zu1JOzd8tDy6mRHHU6uFiphWyCU 9RbZEcA1gPXHLTxRnAWTaH8e+THbW4Bbe65IqQB0= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-50208: RDMA/bnxt_re: Fix a bug while setting up Level-2 PBL pages Date: Fri, 8 Nov 2024 07:08:09 +0100 Message-ID: <2024110806-CVE-2024-50208-08dc@gregkh> X-Mailer: git-send-email 2.47.0 Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Reply-to: , X-Developer-Signature: v=1; a=openpgp-sha256; l=2499; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=a1k2dqWU2UCty9uZfqsZB/Qk2Ehrx+SinG9XKWcrqPI=; b=kA0DAAIRMUfUDdst+ykByyZiAGctqsaiecZDfij00YHDJcpnEXNT/Pw+Li2/48Blj82O+rJRA ohdBAARAgAdFiEE9LYMxb94wiFKMT3LMUfUDdst+ykFAmctqsYACgkQMUfUDdst+ylhlwCguoVu gEDc7DfCXQ8XbU2vAbCwPO0AoI79xoLFWUN33NUQH9RRFYD+aSFh X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit Description =========== In the Linux kernel, the following vulnerability has been resolved: RDMA/bnxt_re: Fix a bug while setting up Level-2 PBL pages Avoid memory corruption while setting up Level-2 PBL pages for the non MR resources when num_pages > 256K. There will be a single PDE page address (contiguous pages in the case of > PAGE_SIZE), but, current logic assumes multiple pages, leading to invalid memory access after 256K PBL entries in the PDE. The Linux kernel CVE team has assigned CVE-2024-50208 to this issue. Affected and fixed versions =========================== Issue introduced in 5.7 with commit 0c4dcd602817 and fixed in 5.15.170 with commit de5857fa7bcc Issue introduced in 5.7 with commit 0c4dcd602817 and fixed in 6.1.115 with commit ea701c1849e7 Issue introduced in 5.7 with commit 0c4dcd602817 and fixed in 6.6.59 with commit 87cb3b0054e5 Issue introduced in 5.7 with commit 0c4dcd602817 and fixed in 6.11.6 with commit daac56dd98e1 Issue introduced in 5.7 with commit 0c4dcd602817 and fixed in 6.12-rc4 with commit 7988bdbbb85a 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-2024-50208 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/bnxt_re/qplib_res.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/de5857fa7bcc9a496a914c7e21390be873109f26 https://git.kernel.org/stable/c/ea701c1849e7250ea41a4f7493e0a5f136c1d47e https://git.kernel.org/stable/c/87cb3b0054e53e0155b630bdf8fb714ded62565f https://git.kernel.org/stable/c/daac56dd98e1ba814c878ac0acd482a37f2ab94b https://git.kernel.org/stable/c/7988bdbbb85ac85a847baf09879edcd0f70521dc