# CVE-2024-36945: net/smc: fix neighbour and rtable leak in smc_ib_find_route()

- Severity: High 7.5 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.48%, higher than 42% of CVEs (2026-12-01)
- Published: 2024-05-30T15:35:43.299Z
- Modified: 2026-08-05T11:32:12.557Z
- Weaknesses: CWE-401
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from e5c4744cfb598f98672f8d21d59ef2c1fa9c9b5f before d5a466ab6e78d6f2e0f64435f1e17246c8e941ff; from e5c4744cfb598f98672f8d21d59ef2c1fa9c9b5f before 5df93c029a907b0ff5a4eeadd77ba06ff0a277d2; from e5c4744cfb598f98672f8d21d59ef2c1fa9c9b5f before da91e447d06dc649fcf46e59122e7bf8f0b2e0db; from e5c4744cfb598f98672f8d21d59ef2c1fa9c9b5f before 2ddc0dd7fec86ee53b8928a5cca5fbddd4fc7c06; 5.16 (not affected: before 5.16; from 6.1.91 up to 6.1.*; from 6.6.31 up to 6.6.*; from 6.8.10 up to 6.8.*; from 6.9 up to *)
- linux linux_kernel: from 5.16 before 6.1.91; from 6.2 before 6.6.31; from 6.7 before 6.8.10; 6.9

## Every score

- Linux: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/d5a466ab6e78d6f2e0f64435f1e17246c8e941ff> (patch)
- <https://git.kernel.org/stable/c/5df93c029a907b0ff5a4eeadd77ba06ff0a277d2> (patch)
- <https://git.kernel.org/stable/c/da91e447d06dc649fcf46e59122e7bf8f0b2e0db> (patch)
- <https://git.kernel.org/stable/c/2ddc0dd7fec86ee53b8928a5cca5fbddd4fc7c06> (patch)
- <https://security.netapp.com/advisory/ntap-20250404-0006/> (third-party-advisory)

## Sources

- CVE List: [CVE-2024-36945](https://www.cve.org/CVERecord?id=CVE-2024-36945), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2024-36945](https://nvd.nist.gov/vuln/detail/CVE-2024-36945), Public domain, modified 2026-08-04

---

Page: https://cve.day/CVE-2024-36945 · Whole record: https://cve.day/CVE-2024-36945.json · Rebuilt by cve.day 2026-11-25T22:58:41.295Z
