CVE-2024-53226
RDMA/hns: Fix NULL pointer derefernce in hns_roce_map_mr_sg()
Mitigation
- No fix listed yet: follow the vendor advisory.
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
Vulnerability facts
- Affected
- 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
- Fixed in
- Linux 35f5b68f63aac61d30ce0b0c6beb09b8845a3e65, Linux 52617e76f4963644db71dc0a17e998654dc0c7f4, Linux 6b0d7d6e6883d0ec70cd7b5a02c47c003d5defe7, Linux 71becb0e9df78a8d43dfd0efcef18c830a0af477, Linux 8c269bb2cc666ca580271e1a8136c63ac9162e1e, Linux 6b526d17eed850352d880b93b9bf20b93006bd92, Linux 5.10.231, Linux 5.15.174
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 7.5 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 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
- EPSS
- 0.94% chance of exploitation in 30 days (percentile 60, 2026-11-26)
- CWE
- CWE-476
- Modified
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
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| 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 |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
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.
References
Patches
- 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
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.