# CVE-2024-53226: RDMA/hns: Fix NULL pointer derefernce in hns\_roce\_map\_mr\_sg()

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.5
- **CVSS:** 7.5 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.94% (percentile 60, 2026-11-26)
- **CWE:** CWE-476
- **Published:** 2024-12-27T13:50:15.488Z
- **Modified:** 2026-08-05T11:44:45.578Z

## Who should check

- Anyone running Linux \>= edc2dee07ab4ae2188b9780c453a64032162a5a0, \< bd715e191d444992d6ed124f15856da5c1cae2de; \>= 3c301b8a046b57e3de14c6fc669d81dcb71bb5b5, \< 35f5b68f63aac61d30ce0b0c6beb09b8845a3e65; \>= 5a13652ac34be9b60feec89835763574825a8905, \< 52617e76f4963644db71dc0a17e998654dc0c7f4; \>= 4d480e45cb7fffb9d9b49924469c1f458068080a, \< 6b0d7d6e6883d0ec70cd7b5a02c47c003d5defe7; \>= d387d4b54eb84208bd4ca13572e106851d0a0819, \< 71becb0e9df78a8d43dfd0efcef18c830a0af477; \>= d387d4b54eb84208bd4ca13572e106851d0a0819, \< 8c269bb2cc666ca580271e1a8136c63ac9162e1e; \>= d387d4b54eb84208bd4ca13572e106851d0a0819, \< 6b526d17eed850352d880b93b9bf20b93006bd92; ecdf900a5a3372bc0208e0701a116f112eb6039c; \>= 5.10.224, \< 5.10.231; \>= 5.15.165, \< 5.15.174; …
- Anyone running Linux 6.11

## 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.

## Affected and fixed versions

- Linux: \>= edc2dee07ab4ae2188b9780c453a64032162a5a0, \< bd715e191d444992d6ed124f15856da5c1cae2de; \>= 3c301b8a046b57e3de14c6fc669d81dcb71bb5b5, \< 35f5b68f63aac61d30ce0b0c6beb09b8845a3e65; \>= 5a13652ac34be9b60feec89835763574825a8905, \< 52617e76f4963644db71dc0a17e998654dc0c7f4; \>= 4d480e45cb7fffb9d9b49924469c1f458068080a, \< 6b0d7d6e6883d0ec70cd7b5a02c47c003d5defe7; \>= d387d4b54eb84208bd4ca13572e106851d0a0819, \< 71becb0e9df78a8d43dfd0efcef18c830a0af477; \>= d387d4b54eb84208bd4ca13572e106851d0a0819, \< 8c269bb2cc666ca580271e1a8136c63ac9162e1e; \>= d387d4b54eb84208bd4ca13572e106851d0a0819, \< 6b526d17eed850352d880b93b9bf20b93006bd92; ecdf900a5a3372bc0208e0701a116f112eb6039c; \>= 5.10.224, \< 5.10.231; \>= 5.15.165, \< 5.15.174; … (cvelist)
- Linux: 6.11 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-53226. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-53226.md
Affected: Linux >= edc2dee07ab4ae2188b9780c453a64032162a5a0, < bd715e191d444992d6ed124f15856da5c1cae2de; >= 3c301b8a046b57e3de14c6fc669d81dcb71bb5b5, < 35f5b68f63aac61d30ce0b0c6beb09b8845a3e65; >= 5a13652ac34be9b60feec89835763574825a8905, < 52617e76f4963644db71dc0a17e998654dc0c7f4; >= 4d480e45cb7fffb9d9b4992…
Fixed in: Linux 35f5b68f63aac61d30ce0b0c6beb09b8845a3e65, Linux 52617e76f4963644db71dc0a17e998654dc0c7f4, Linux 6b0d7d6e6883d0ec70cd7b5a02c47c003d5defe7, Linux 71becb0e9df78a8d43dfd0efcef18c830a0af477, Linux 8c269bb2cc666ca580271e1a8136c63ac9162e1e, Linux 6b526d17eed850352d880b93b9bf20b93006bd92, Linux 5.10.…

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2024-53226 being exploited?

There is no confirmed exploitation: CVE-2024-53226 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.94% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2024-53226?

High: CVSS 7.5 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2024-53226?

Linux \>= edc2dee07ab4ae2188b9780c453a64032162a5a0, \< bd715e191d444992d6ed124f15856da5c1cae2de; \>= 3c301b8a046b57e3de14c6fc669d81dcb71bb5b5, \< 35f5b68f63aac61d30ce0b0c6beb09b8845a3e65; \>= 5a13652ac34be9b60feec89835763574825a8905, \< 52617e76f4963644db71dc0a17e998654dc0c7f4; \>= 4d480e45cb7fffb9d9b49924469c1f458068080a, \< 6b0d7d6e6883d0ec70cd7b5a02c47c003d5defe7; \>= d387d4b54eb84208bd4ca13572e106851d0a0819, \< 71becb0e9df78a8d43dfd0efcef18c830a0af477; \>= d387d4b54eb84208bd4ca13572e106851d0a0819, \< 8c269bb2cc666ca580271e1a8136c63ac9162e1e; \>= d387d4b54eb84208bd4ca13572e106851d0a0819, \< 6b526d17eed850352d880b93b9bf20b93006bd92; ecdf900a5a3372bc0208e0701a116f112eb6039c; \>= 5.10.224, \< 5.10.231; \>= 5.15.165, \< 5.15.174; …; Linux 6.11.

### Is there a fix for CVE-2024-53226?

Yes. Fixed in Linux 35f5b68f63aac61d30ce0b0c6beb09b8845a3e65, Linux 52617e76f4963644db71dc0a17e998654dc0c7f4, Linux 6b0d7d6e6883d0ec70cd7b5a02c47c003d5defe7, Linux 71becb0e9df78a8d43dfd0efcef18c830a0af477, Linux 8c269bb2cc666ca580271e1a8136c63ac9162e1e, Linux 6b526d17eed850352d880b93b9bf20b93006bd92, Linux 5.10.231, Linux 5.15.174. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2024-53226?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <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>
- other: <https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html>
- other: <https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-53226>

HTML: <https://flawdb.com/CVE-2024-53226> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-53226>
