RDMA/bnxt_re: Fix a bug while setting up Level-2 PBL pages
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 0c4dcd602817502bb3dced7a834a13ef717d65a4 · < 7988bdbbb85ac85a847baf09879edcd0f70521dc| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel's RDMA/bnxt_re code can access invalid memory while setting up Level-2 PBL pages for non-MR resources when num_pages exceeds 256K. This can cause memory corruption; the input does not specify how an attacker could trigger it or whether authentication or user interaction is required.
Engineers running Linux kernels that use RDMA/bnxt_re should check their installations; affected versions are not specified.