# RDMA/hns: Fix NULL pointer derefernce in hns_roce_map_mr_sg()

CVE record · `CVE-2024-53226`

- **Identifiers:** `CVE-2024-53226`
- **State:** Confirmed
- **Severity:** CVSS 7.5 High
- **Critical:** No
- **CNA:** Linux
- **Weakness (CWE):** [CWE-476](https://cwe.mitre.org/data/definitions/476.html)
- **Tags:** [Memory corruption](https://agentprime.io/advisories/tag/memory-corruption.md)
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 27 Dec 2024
- **Updated:** 5 Aug 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 27 Dec 2024, 13:50 UTC. agentprime has not analysed this yet, so whether it affects any app is not known. This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it.

## Affected products, as the CNA wrote them

- Vendor: Linux. Product: Linux.
  - affected: `edc2dee07ab4ae2188b9780c453a64032162a5a0 to before bd715e191d444992d6ed124f15856da5c1cae2de` (git)
  - affected: `3c301b8a046b57e3de14c6fc669d81dcb71bb5b5 to before 35f5b68f63aac61d30ce0b0c6beb09b8845a3e65` (git)
  - affected: `5a13652ac34be9b60feec89835763574825a8905 to before 52617e76f4963644db71dc0a17e998654dc0c7f4` (git)
  - affected: `4d480e45cb7fffb9d9b49924469c1f458068080a to before 6b0d7d6e6883d0ec70cd7b5a02c47c003d5defe7` (git)
  - affected: `d387d4b54eb84208bd4ca13572e106851d0a0819 to before 71becb0e9df78a8d43dfd0efcef18c830a0af477` (git)
  - affected: `d387d4b54eb84208bd4ca13572e106851d0a0819 to before 8c269bb2cc666ca580271e1a8136c63ac9162e1e` (git)
  - affected: `d387d4b54eb84208bd4ca13572e106851d0a0819 to before 6b526d17eed850352d880b93b9bf20b93006bd92` (git)
  - affected: `ecdf900a5a3372bc0208e0701a116f112eb6039c` (git)
  - affected: `5.10.224 to before 5.10.231` (semver)
  - affected: `5.15.165 to before 5.15.174` (semver)
  - affected: `6.1.103 to before 6.1.120` (semver)
  - affected: `6.6.44 to before 6.6.64` (semver)
  - and 1 more
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `6.11`
  - unaffected: `before 6.11` (semver)
  - unaffected: `5.10.231 to 5.10.*, inclusive` (semver)
  - unaffected: `5.15.174 to 5.15.*, inclusive` (semver)
  - unaffected: `6.1.120 to 6.1.*, inclusive` (semver)
  - unaffected: `6.6.64 to 6.6.*, inclusive` (semver)
  - unaffected: `6.11.11 to 6.11.*, inclusive` (semver)
  - unaffected: `6.12.2 to 6.12.*, inclusive` (semver)
  - unaffected: `6.13 to *, inclusive` (original_commit_for_fix)
  - Other versions: affected

## Not analysed yet

We haven’t published our own analysis of this CVE. If a person reviews it, this page will say what’s affected and what has to be true for it to matter.

## Severity and exploitation

- 7.5 High, CVSS 3.1: `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`, from CNA (Linux) (used for this record)
- 5.5 Medium, CVSS 3.1: `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`, from ADP (CISA-ADP)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0073, the 55th percentile, on 20 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

This record came from the full history of the CVE Program, published 27 Dec 2024. New records show when each source confirmed them.

## Sources

- [CVE List: CVE-2024-53226](https://www.cve.org/CVERecord?id=CVE-2024-53226)
- [NVD: CVE-2024-53226](https://nvd.nist.gov/vuln/detail/CVE-2024-53226)

### References from the CNA

- <https://git.kernel.org/stable/c/bd715e191d444992d6ed124f15856da5c1cae2de>
- <https://git.kernel.org/stable/c/35f5b68f63aac61d30ce0b0c6beb09b8845a3e65>
- <https://git.kernel.org/stable/c/52617e76f4963644db71dc0a17e998654dc0c7f4>
- <https://git.kernel.org/stable/c/6b0d7d6e6883d0ec70cd7b5a02c47c003d5defe7>
- <https://git.kernel.org/stable/c/71becb0e9df78a8d43dfd0efcef18c830a0af477>
- <https://git.kernel.org/stable/c/8c269bb2cc666ca580271e1a8136c63ac9162e1e>
- <https://git.kernel.org/stable/c/6b526d17eed850352d880b93b9bf20b93006bd92>

Facts on this page come from the CVE List as the CNA published them, with CVSS from the sources named above, CISA KEV and FIRST EPSS. Vendors, products and versions are shown as the CNA wrote them. We don’t reproduce the CVE’s description.

## Check whether this affects you

This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it. Compare the affected versions above with what you run.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), `get_advisory` returns this record and `search_advisories` finds related ones. Setup: <https://agentprime.io/mcp.md>
- As JSON: <https://api.agentprime.io/v1/advisories/CVE-2024-53226>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

The web page: <https://agentprime.io/advisories/CVE-2024-53226/>. Everything for agents: <https://agentprime.io/llms.txt>.
