CVE-2024-57935
RDMA/hns: Fix accessing invalid dip_ctx during destroying QP
Check your servers for CVE-2024-57935
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-57935 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 accessing invalid dip_ctx during destroying QP
If it fails to modify QP to RTR, dip_ctx will not be attached. And during detroying QP, the invalid dip_ctx pointer will be accessed.
Exploitation
EPSS 0.18%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 7.59% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from f48084857b9e3d73c1d290307b5a11f61e6f666a, before a448c775f0aec6cfbee4bda561447c707153504a affected from faa62440a5772b40bb7d78bf9e29556a82ecf153, before 0572eccf239ce4bd89bd531767ec5ab20e249290 affected 84707ec6f651df98a141cad59f726d30e6f15574 affected from 6.11.11, before 6.12
Other versions: unaffected
|
| Linux |
affected from 6.12.2, before 6.12.9
Other versions: unaffected
|
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-57935 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2024-57935
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-57935
trivy image --scanners vuln IMAGE | grep CVE-2024-57935
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/a448c775f0aec6cfbee4bda561447c707153504a git.kernel.org
- https://git.kernel.org/stable/c/0572eccf239ce4bd89bd531767ec5ab20e249290 git.kernel.org
Source: the record CVE-2024-57935 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse