CVE-2024-53226
JSON

7.5high

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

Severity
7.5high CVSS:3.1 by Linux
Exploit likelihood
0.73% (higher than 55% of CVEs; EPSS, by FIRST)
Published
Last changed
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.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 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 and 6 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.*
CVE List
linux linux_kernelfrom 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.2NVD

All scores

Linux7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CISA-ADP5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
NVD5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Classification

CWE-476

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: RDMA/hns: Se corrige la desreferenciación de puntero NULL en hns_roce_map_mr_sg() ib_map_mr_sg() permite que los ULP especifiquen NULL como argumento sg_offset. El controlador debe verificar si es un puntero NULL antes de desreferenciarlo.

References

Sources

SourceRecordLicence
CVE ListCVE-2024-53226 changed 2026-08-05CVE Terms of Use
NVDCVE-2024-53226 changed 2026-08-04Public domain