CVE-2024-53226

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

State
Published
Severity
7.5 High
Published
Dec 27, 2024
Updated
Aug 5, 2026
Reserved
Nov 19, 2024

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HLinux
3.15.5 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HCISA-ADP

Weaknesses

Affected Products

ProductVersions
LinuxLinux
  • edc2dee07ab4ae2188b9780c453a64032162a5a0 to before bd715e191d444992d6ed124f15856da5c1cae2deAffected
  • 3c301b8a046b57e3de14c6fc669d81dcb71bb5b5 to before 35f5b68f63aac61d30ce0b0c6beb09b8845a3e65Affected
  • 5a13652ac34be9b60feec89835763574825a8905 to before 52617e76f4963644db71dc0a17e998654dc0c7f4Affected
  • 4d480e45cb7fffb9d9b49924469c1f458068080a to before 6b0d7d6e6883d0ec70cd7b5a02c47c003d5defe7Affected
  • d387d4b54eb84208bd4ca13572e106851d0a0819 to before 71becb0e9df78a8d43dfd0efcef18c830a0af477Affected
  • d387d4b54eb84208bd4ca13572e106851d0a0819 to before 8c269bb2cc666ca580271e1a8136c63ac9162e1eAffected
  • d387d4b54eb84208bd4ca13572e106851d0a0819 to before 6b526d17eed850352d880b93b9bf20b93006bd92Affected
  • ecdf900a5a3372bc0208e0701a116f112eb6039cAffected
  • 5.10.224 to before 5.10.231Affected
  • 5.15.165 to before 5.15.174Affected
  • 6.1.103 to before 6.1.120Affected
  • 6.6.44 to before 6.6.64Affected
  • 6.10.3 to before 6.11Affected
LinuxLinux
  • 6.11Affected
  • before 6.11Not affected
  • 5.10.231 through 5.10.*Not affected
  • 5.15.174 through 5.15.*Not affected
  • 6.1.120 through 6.1.*Not affected
  • 6.6.64 through 6.6.*Not affected
  • 6.11.11 through 6.11.*Not affected
  • 6.12.2 through 6.12.*Not affected
  • 6.13 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.