CVE-2024-53226: RDMA/hns: Fix NULL pointer derefernce in hns_roce_map_mr_sg()
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.
Security readout for executives and security teams
Plain-English summary
Linux systems using the hns RoCE/RDMA driver may crash when kernel software supplies a missing offset pointer. The documented consequence is loss of availability; the supplied sources do not indicate data theft, modification, or code execution.
Executive priority
Patch promptly where hns RoCE/RDMA is present, especially on systems requiring high availability. Other Linux systems should first be inventoried because the supplied evidence does not show universal exposure or active exploitation.
Technical view
hns_roce_map_mr_sg() dereferences sg_offset without first checking for NULL, although ib_map_mr_sg() permits callers to provide NULL. This CWE-476 condition can cause a kernel NULL-pointer dereference and denial of service. Referenced Linux stable commits add the required check.
Likely exposure
Exposure is limited to Linux hosts running affected kernel code with the hns RoCE/RDMA driver relevant to their workload. The bundle does not define clean version ranges, so distribution backports and kernel package provenance must be checked.
Exploitation context
The bundle reports no KEV listing and provides no evidence of active exploitation or public weaponization. Although the CVSS vector rates the issue network-accessible without authentication, the cited material does not establish realistic remote triggerability or an internet attack path.
Researcher notes
The version data mixes commit hashes and release numbers under affected and unaffected statuses, including repeated identifiers. Treat it as record metadata rather than simple ranges. The sources establish the faulty dereference and correction, but provide limited detail about trigger prerequisites and remote reachability.
Mitigation direction
Upgrade to a vendor-supported kernel containing the referenced stable fix.
Check distribution security guidance for package-specific fixed versions and backports.
Prioritize availability-sensitive systems that actively use hns RoCE/RDMA functionality.
Validation and detection
Record each host's running kernel release and distribution package version.
Determine whether hns RoCE/RDMA hardware, modules, or workloads are present.
Verify the installed package changelog or advisory explicitly covers CVE-2024-53226.
Confirm the vendor kernel incorporates the applicable referenced stable fix.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · low confidence lookup
CWE-476: Exact CWE lookup
Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-476 · source CWE mapping
NULL Pointer Dereference
NULL Pointer Dereference represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.