net/rds: fix possible cp null dereference
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 2b505d05280739ce31d5708da840f42df827cb85 · < 92309bed3c5fbe2ccd4c45056efd42edbd06162d| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
net/rds: fix possible cp null dereference
cp might be null, calling cp->cp_conn would produce null dereference
[Simon Horman adds:]
Analysis:
* cp is a parameter of __rds_rdma_map and is not reassigned.
* The following call-sites pass a NULL cp argument to __rds_rdma_map()
- rds_get_mr() - rds_get_mr_for_dest
From the CVE record · Linux
The Linux kernel's net/rds code may dereference a null connection pointer when mapping RDMA memory. This can occur when a caller passes a null pointer and memory registration fails; the input does not establish how an attacker could trigger it or whether access, authentication, or user interaction is required.
Engineers running Linux kernels with the affected net/rds code should check their kernel version; affected versions were not provided.