CVE-2024-53226

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

MEDIUM
5.5
CVSS Score
Published: December 27, 2024 at 01:50 PM UTC
Updated: August 5, 2026 at 12:05 PM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.7%
SSVC
No known exploit

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v ≥ 6.10.35.10.224 ≤ v < 5.10.2315.15.165 ≤ v < 5.15.1746.1.103 ≤ v < 6.1.1206.10.3 ≤ v < 6.116.10.3 ≤ v < 6.11.116.11 ≤ v < 6.11.116.11 ≤ v < 6.12.26.11 ≤ v < 6.136.12 ≤ v < 6.12.26.6.44 ≤ v < 6.6.643c301b8a046b57e3de14c6fc669d81dcb71bb5b54d480e45cb7fffb9d9b49924469c1f458068080a5.10.2245.15.1655a13652ac34be9b60feec89835763574825a89056.1.1036.10.36.116.6.44d387d4b54eb84208bd4ca13572e106851d0a0819ecdf900a5a3372bc0208e0701a116f112eb6039cedc2dee07ab4ae2188b9780c453a64032162a5a0
Vendor states this is fixed in 35f5b68f63aac61d30ce0b0c6beb09b8845a3e65 (fixed)
Vendor states this is fixed in 52617e76f4963644db71dc0a17e998654dc0c7f4 (fixed)
Vendor states this is fixed in 6b0d7d6e6883d0ec70cd7b5a02c47c003d5defe7 (fixed)
Vendor states this is fixed in 6b526d17eed850352d880b93b9bf20b93006bd92 (fixed)
Vendor states this is fixed in 71becb0e9df78a8d43dfd0efcef18c830a0af477 (fixed)
Vendor states this is fixed in 8c269bb2cc666ca580271e1a8136c63ac9162e1e (fixed)
Vendor states this is fixed in bd715e191d444992d6ed124f15856da5c1cae2de (fixed)
Vendor states this is fixed in 5.10.231 (unaffected)
Vendor states this is fixed in 5.15.174 (unaffected)
Vendor states this is fixed in 6.1.120 (unaffected)
Vendor states this is fixed in 6.11 (unaffected)
Vendor states this is fixed in 6.11.11 (unaffected)
Vendor states this is fixed in 6.12.2 (unaffected)
Vendor states this is fixed in 6.13 (unaffected)
Vendor states this is fixed in 6.6.64 (unaffected)

References (9)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/35f5b68f63aac61d30ce0b0c6beb09b8845a3e65
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/52617e76f4963644db71dc0a17e998654dc0c7f4
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/6b0d7d6e6883d0ec70cd7b5a02c47c003d5defe7
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/6b526d17eed850352d880b93b9bf20b93006bd92
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/71becb0e9df78a8d43dfd0efcef18c830a0af477
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/8c269bb2cc666ca580271e1a8136c63ac9162e1e
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/bd715e191d444992d6ed124f15856da5c1cae2de
Source: af854a3a-2127-422b-91ae-364da2661108
https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

5.5MEDIUMCISA-ADP
Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-476

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card