CVE-2024-53226Published Dec 27, 2024 · Dec 27Updated 2d ago
RDMA/hns: Fix NULL pointer derefernce in hns_roce_map_mr_sg()
Linux
High7.5Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ d387d4b54eb84208bd4ca13572e106851d0a0819 · < 8c269bb2cc666ca580271e1a8136c63ac9162e1e| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
RDMA/hns: Fix NULL pointer derefernce in hns_roce_map_mr_sg()
ib_map_mr_sg() allows ULPs to specify NULL as the sg_offset argument. The driver needs to check whether it is a NULL pointer before dereferencing it.
From the CVE record · Linux
The Linux kernel RDMA/hns driver can dereference a NULL sg_offset pointer in hns_roce_map_mr_sg() when ib_map_mr_sg() is called with that argument set to NULL. The input does not specify how an attacker could trigger this condition or whether network access, authentication, or user interaction is required.
Engineers running the Linux kernel with the RDMA/hns driver should check their installations; affected versions are not specified.