RDMA/restrack: Fix potential invalid address access
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
RDMA/restrack: Fix potential invalid address access
struct rdma_restrack_entry's kern_name was set to KBUILD_MODNAME in ib_create_cq(), while if the module exited but forgot del this rdma_restrack_entry, it would cause a invalid address access in rdma_restrack_clean() when print the owner of this rdma_restrack_entry.
These code is used to help find one forgotten PD release in one of the ULPs. But it is not needed anymore, so delete them.
From the CVE record · Linux
The Linux kernel's RDMA resource tracking code can access an invalid address while printing a resource owner's name. This can happen if a module exits without deleting its resource tracking entry. The input does not describe an attacker path, authentication requirement, or user interaction.
Engineers running Linux kernels that use RDMA resource tracking should check their versions; affected versions are not specified.