RDMA/irdma: Fix a user-after-free in add_pble_prm
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
RDMA/irdma: Fix a user-after-free in add_pble_prm
When irdma_hmc_sd_one fails, 'chunk' is freed while its still on the PBLE info list.
Add the chunk entry to the PBLE info list only after successful setting of the SD in irdma_hmc_sd_one.
From the CVE record · Linux
The Linux kernel’s RDMA/irdma driver has a use-after-free in add_pble_prm when irdma_hmc_sd_one fails: a freed chunk remains on the PBLE info list. The input does not establish what an attacker could do or whether exploitation requires local or network access, authentication, or user interaction.
Engineers running Linux kernels with the RDMA/irdma driver should check their systems; affected versions are not specified.