[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2024110806-CVE-2024-50208-08dc@gregkh>
Date: Fri, 8 Nov 2024 07:08:09 +0100
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Subject: CVE-2024-50208: RDMA/bnxt_re: Fix a bug while setting up Level-2 PBL pages
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
Powered by blists - more mailing lists