# CVE-2024-53226: RDMA/hns: Fix NULL pointer derefernce in hns_roce_map_mr_sg()

- Severity: High 7.5 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.73%, higher than 55% of CVEs (2026-12-01)
- Published: 2024-12-27T13:50:15.488Z
- Modified: 2026-08-05T11:44:45.578Z
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

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.

(As written by CVE List.)

## Affected

- Linux Linux: from edc2dee07ab4ae2188b9780c453a64032162a5a0 before bd715e191d444992d6ed124f15856da5c1cae2de; from 3c301b8a046b57e3de14c6fc669d81dcb71bb5b5 before 35f5b68f63aac61d30ce0b0c6beb09b8845a3e65; from 5a13652ac34be9b60feec89835763574825a8905 before 52617e76f4963644db71dc0a17e998654dc0c7f4; from 4d480e45cb7fffb9d9b49924469c1f458068080a before 6b0d7d6e6883d0ec70cd7b5a02c47c003d5defe7; from d387d4b54eb84208bd4ca13572e106851d0a0819 before 71becb0e9df78a8d43dfd0efcef18c830a0af477; from d387d4b54eb84208bd4ca13572e106851d0a0819 before 8c269bb2cc666ca580271e1a8136c63ac9162e1e; from d387d4b54eb84208bd4ca13572e106851d0a0819 before 6b526d17eed850352d880b93b9bf20b93006bd92; ecdf900a5a3372bc0208e0701a116f112eb6039c; from 5.10.224 before 5.10.231; from 5.15.165 before 5.15.174; from 6.1.103 before 6.1.120; from 6.6.44 before 6.6.64; and 2 more (not affected: before 6.11; from 5.10.231 up to 5.10.*; from 5.15.174 up to 5.15.*; from 6.1.120 up to 6.1.*; from 6.6.64 up to 6.6.*; from 6.11.11 up to 6.11.*; from 6.12.2 up to 6.12.*; from 6.13 up to *)
- linux linux_kernel: from 5.10.224 before 5.10.231; from 5.15.165 before 5.15.174; from 6.1.103 before 6.1.120; from 6.6.44 before 6.6.64; from 6.10.3 before 6.11.11; from 6.12 before 6.12.2

## Every score

- Linux: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- CISA-ADP: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/bd715e191d444992d6ed124f15856da5c1cae2de> (patch)
- <https://git.kernel.org/stable/c/35f5b68f63aac61d30ce0b0c6beb09b8845a3e65> (patch)
- <https://git.kernel.org/stable/c/52617e76f4963644db71dc0a17e998654dc0c7f4> (patch)
- <https://git.kernel.org/stable/c/6b0d7d6e6883d0ec70cd7b5a02c47c003d5defe7> (patch)
- <https://git.kernel.org/stable/c/71becb0e9df78a8d43dfd0efcef18c830a0af477> (patch)
- <https://git.kernel.org/stable/c/8c269bb2cc666ca580271e1a8136c63ac9162e1e> (patch)
- <https://git.kernel.org/stable/c/6b526d17eed850352d880b93b9bf20b93006bd92> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html>
- <https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html>

## Sources

- CVE List: [CVE-2024-53226](https://www.cve.org/CVERecord?id=CVE-2024-53226), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2024-53226](https://nvd.nist.gov/vuln/detail/CVE-2024-53226), Public domain, modified 2026-08-04

---

Page: https://cve.day/CVE-2024-53226 · Whole record: https://cve.day/CVE-2024-53226.json · Rebuilt by cve.day 2026-11-25T22:58:50.427Z
