CVE-2024-36945
net/smc: fix neighbour and rtable leak in smc_ib_find_route()
Check your servers for CVE-2024-36945
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-36945 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:
net/smc: fix neighbour and rtable leak in smc_ib_find_route()
In smc_ib_find_route(), the neighbour found by neigh_lookup() and rtable resolved by ip_route_output_flow() are not released or put before return. It may cause the refcount leak, so fix 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)
Exploitation
EPSS 0.48%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 42.9% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 4 Jun 2024):
- 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
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from e5c4744cfb598f98672f8d21d59ef2c1fa9c9b5f, before d5a466ab6e78d6f2e0f64435f1e17246c8e941ff affected from e5c4744cfb598f98672f8d21d59ef2c1fa9c9b5f, before 5df93c029a907b0ff5a4eeadd77ba06ff0a277d2 affected from e5c4744cfb598f98672f8d21d59ef2c1fa9c9b5f, before da91e447d06dc649fcf46e59122e7bf8f0b2e0db affected from e5c4744cfb598f98672f8d21d59ef2c1fa9c9b5f, before 2ddc0dd7fec86ee53b8928a5cca5fbddd4fc7c06
Other versions: unaffected
|
| Linux |
affected 5.16 unaffected before 5.16 unaffected from 6.1.91 up to and including 6.1.* unaffected from 6.6.31 up to and including 6.6.* unaffected from 6.8.10 up to and including 6.8.* unaffected 6.9 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-36945 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2024-36945
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-36945
trivy image --scanners vuln IMAGE | grep CVE-2024-36945
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/d5a466ab6e78d6f2e0f64435f1e17246c8e941ff git.kernel.org
- https://git.kernel.org/stable/c/5df93c029a907b0ff5a4eeadd77ba06ff0a277d2 git.kernel.org
- https://git.kernel.org/stable/c/da91e447d06dc649fcf46e59122e7bf8f0b2e0db git.kernel.org
- https://git.kernel.org/stable/c/2ddc0dd7fec86ee53b8928a5cca5fbddd4fc7c06 git.kernel.org
- https://security.netapp.com/advisory/ntap-20250404-0006/ security.netapp.com
Source: the record CVE-2024-36945 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse