Vulnerability record
net/rds: fix possible cp null dereference
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()
Prior to the code above, the following assumes that cp may be NULL (which is indicative, but could itself be unnecessary)
trans_private = rs->rs_transport->get_mr( sg, nents, rs, &mr->r_key, cp ?…
5.5/CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HExploitability
AV:LAC:LPR:LUI:NScope
S:UImpact
C:NI:NA:HRemediation
No fixed version has been published for this vulnerability yet. Check the references below for vendor advisories, workarounds and mitigation guidance.
Sources