CVE-2024-36945

net/smc: fix neighbour and rtable leak in smc_ib_find_route()

State
Published
Severity
7.5 High
Published
May 30, 2024
Updated
Aug 5, 2026
Reserved
May 30, 2024

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • e5c4744cfb598f98672f8d21d59ef2c1fa9c9b5f to before d5a466ab6e78d6f2e0f64435f1e17246c8e941ffAffected
  • e5c4744cfb598f98672f8d21d59ef2c1fa9c9b5f to before 5df93c029a907b0ff5a4eeadd77ba06ff0a277d2Affected
  • e5c4744cfb598f98672f8d21d59ef2c1fa9c9b5f to before da91e447d06dc649fcf46e59122e7bf8f0b2e0dbAffected
  • e5c4744cfb598f98672f8d21d59ef2c1fa9c9b5f to before 2ddc0dd7fec86ee53b8928a5cca5fbddd4fc7c06Affected
LinuxLinux
  • 5.16Affected
  • before 5.16Not affected
  • 6.1.91 through 6.1.*Not affected
  • 6.6.31 through 6.6.*Not affected
  • 6.8.10 through 6.8.*Not affected
  • 6.9 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.