CVE-2024-53226
RDMA/hns: Fix NULL pointer derefernce in hns_roce_map_mr_sg()
Check your servers for CVE-2024-53226
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2024-53226 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Severity (CVSS)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- none: the attacker does not need an account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality none, integrity none, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- Attack vector
- local: the attacker needs local access, or a user has to open a prepared file
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- low: the attacker needs an ordinary user account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality none, integrity none, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.73%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 55.3% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 1 Oct 2025):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Weakness
- CWE-476 NULL Pointer Dereference
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from edc2dee07ab4ae2188b9780c453a64032162a5a0, before bd715e191d444992d6ed124f15856da5c1cae2de affected from 3c301b8a046b57e3de14c6fc669d81dcb71bb5b5, before 35f5b68f63aac61d30ce0b0c6beb09b8845a3e65 affected from 5a13652ac34be9b60feec89835763574825a8905, before 52617e76f4963644db71dc0a17e998654dc0c7f4 affected from 4d480e45cb7fffb9d9b49924469c1f458068080a, before 6b0d7d6e6883d0ec70cd7b5a02c47c003d5defe7 affected from d387d4b54eb84208bd4ca13572e106851d0a0819, before 71becb0e9df78a8d43dfd0efcef18c830a0af477 affected from d387d4b54eb84208bd4ca13572e106851d0a0819, before 8c269bb2cc666ca580271e1a8136c63ac9162e1e affected from d387d4b54eb84208bd4ca13572e106851d0a0819, before 6b526d17eed850352d880b93b9bf20b93006bd92 affected ecdf900a5a3372bc0208e0701a116f112eb6039c affected from 5.10.224, before 5.10.231 affected from 5.15.165, before 5.15.174 affected from 6.1.103, before 6.1.120 affected from 6.6.44, before 6.6.64 affected from 6.10.3, before 6.11
Other versions: unaffected
|
| Linux |
affected 6.11 unaffected before 6.11 unaffected from 5.10.231 up to and including 5.10.* unaffected from 5.15.174 up to and including 5.15.* unaffected from 6.1.120 up to and including 6.1.* unaffected from 6.6.64 up to and including 6.6.* unaffected from 6.11.11 up to and including 6.11.* unaffected from 6.12.2 up to and including 6.12.* unaffected 6.13 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2024-53226 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2024-53226
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2024-53226
trivy image --scanners vuln IMAGE | grep CVE-2024-53226
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/bd715e191d444992d6ed124f15856da5c1cae2de git.kernel.org
- https://git.kernel.org/stable/c/35f5b68f63aac61d30ce0b0c6beb09b8845a3e65 git.kernel.org
- https://git.kernel.org/stable/c/52617e76f4963644db71dc0a17e998654dc0c7f4 git.kernel.org
- https://git.kernel.org/stable/c/6b0d7d6e6883d0ec70cd7b5a02c47c003d5defe7 git.kernel.org
- https://git.kernel.org/stable/c/71becb0e9df78a8d43dfd0efcef18c830a0af477 git.kernel.org
- https://git.kernel.org/stable/c/8c269bb2cc666ca580271e1a8136c63ac9162e1e git.kernel.org
- https://git.kernel.org/stable/c/6b526d17eed850352d880b93b9bf20b93006bd92 git.kernel.org
- https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html lists.debian.org
- https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html lists.debian.org
Source: the record CVE-2024-53226 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse