rpcrdma: Always release the rpcrdma_device's xa_array
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:
rpcrdma: Always release the rpcrdma_device's xa_array
Dai pointed out that the xa_init_flags() in rpcrdma_add_one() needs to have a matching xa_destroy() in rpcrdma_remove_one() to release underlying memory that the xarray might have accrued during operation.
From the CVE record · Linux
The Linux kernel's rpcrdma component does not release memory accumulated by an rpcrdma_device xarray when the device is removed. The input does not specify how an attacker could trigger this, whether access or user interaction is required, or any further impact.
Administrators running the Linux kernel should check whether their version includes the rpcrdma fix; affected versions were not provided.