Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2024-36945

published high CVSS 3.1 · 7.5

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

Published
30 May 2024, 15:35:43 UTC
Updated
05 Aug 2026, 11:32:12 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linuxe5c4744cfb598f98672f8d21d59ef2c1fa9c9b5f to < d5a466ab6e78d6f2e0f64435f1e17246c8e941ff · e5c4744cfb598f98672f8d21d59ef2c1fa9c9b5f to < 5df93c029a907b0ff5a4eeadd77ba06ff0a277d2 · e5c4744cfb598f98672f8d21d59ef2c1fa9c9b5f to < da91e447d06dc649fcf46e59122e7bf8f0b2e0db · e5c4744cfb598f98672f8d21d59ef2c1fa9c9b5f to < 2ddc0dd7fec86ee53b8928a5cca5fbddd4fc7c06 · Other versions: unaffected Affected Not stated Linux
Linux — Linux5.16 (affected) · 0 to < 5.16 (unaffected · semver) · 6.1.91 through 6.1.* (unaffected · semver) · 6.6.31 through 6.6.* (unaffected · semver) · 6.8.10 through 6.8.* (unaffected · semver) · 6.9 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
AlmaLinux 8 bpftool Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
Oracle Linux 8 bpftoolaarch64 Advisory build 0:4.18.0-553.16.1.el8_10 ELSA-2024-5101
Red Hat Enterprise Linux RHEL-8 bpftoolaarch64 Advisory build 4.18.0-553.16.1.el8_10 RHSA-2024:5101
AlmaLinux 8 kernel Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
Show 96 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
AlmaLinux 8 kernel-abi-stablelists Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
AlmaLinux 8 kernel-core Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
AlmaLinux 8 kernel-cross-headers Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
AlmaLinux 8 kernel-debug Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
AlmaLinux 8 kernel-debug-core Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
AlmaLinux 8 kernel-debug-devel Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
AlmaLinux 8 kernel-debug-modules Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
AlmaLinux 8 kernel-debug-modules-extra Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
AlmaLinux 8 kernel-devel Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
AlmaLinux 8 kernel-doc Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
AlmaLinux 8 kernel-headers Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
AlmaLinux 8 kernel-modules Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
AlmaLinux 8 kernel-modules-extra Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
AlmaLinux 8 kernel-tools Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
AlmaLinux 8 kernel-tools-libs Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
AlmaLinux 8 kernel-tools-libs-devel Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
AlmaLinux 8 kernel-zfcpdump Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
AlmaLinux 8 kernel-zfcpdump-core Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
AlmaLinux 8 kernel-zfcpdump-devel Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
AlmaLinux 8 kernel-zfcpdump-modules Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
AlmaLinux 8 kernel-zfcpdump-modules-extra Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
AlmaLinux 8 perf Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
AlmaLinux 8 python3-perf Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
Oracle Linux 8 bpftoolx86_64 Advisory build 0:4.18.0-553.16.1.el8_10 ELSA-2024-5101
Oracle Linux 8 kernelx86_64 Advisory build 0:4.18.0-553.16.1.el8_10 ELSA-2024-5101
Oracle Linux 8 kernel-abi-stablelistsx86_64 Advisory build 0:4.18.0-553.16.1.el8_10 ELSA-2024-5101
Oracle Linux 8 kernel-corex86_64 Advisory build 0:4.18.0-553.16.1.el8_10 ELSA-2024-5101
Oracle Linux 8 kernel-cross-headersaarch64 Advisory build 0:4.18.0-553.16.1.el8_10 ELSA-2024-5101
Oracle Linux 8 kernel-cross-headersx86_64 Advisory build 0:4.18.0-553.16.1.el8_10 ELSA-2024-5101
Oracle Linux 8 kernel-debugx86_64 Advisory build 0:4.18.0-553.16.1.el8_10 ELSA-2024-5101
Oracle Linux 8 kernel-debug-corex86_64 Advisory build 0:4.18.0-553.16.1.el8_10 ELSA-2024-5101
Oracle Linux 8 kernel-debug-develx86_64 Advisory build 0:4.18.0-553.16.1.el8_10 ELSA-2024-5101
Oracle Linux 8 kernel-debug-modulesx86_64 Advisory build 0:4.18.0-553.16.1.el8_10 ELSA-2024-5101
Oracle Linux 8 kernel-debug-modules-extrax86_64 Advisory build 0:4.18.0-553.16.1.el8_10 ELSA-2024-5101
Oracle Linux 8 kernel-develx86_64 Advisory build 0:4.18.0-553.16.1.el8_10 ELSA-2024-5101
Oracle Linux 8 kernel-docx86_64 Advisory build 0:4.18.0-553.16.1.el8_10 ELSA-2024-5101
Oracle Linux 8 kernel-headersaarch64 Advisory build 0:4.18.0-553.16.1.el8_10 ELSA-2024-5101
Oracle Linux 8 kernel-headersx86_64 Advisory build 0:4.18.0-553.16.1.el8_10 ELSA-2024-5101
Oracle Linux 8 kernel-modulesx86_64 Advisory build 0:4.18.0-553.16.1.el8_10 ELSA-2024-5101
Oracle Linux 8 kernel-modules-extrax86_64 Advisory build 0:4.18.0-553.16.1.el8_10 ELSA-2024-5101
Oracle Linux 8 kernel-toolsaarch64 Advisory build 0:4.18.0-553.16.1.el8_10 ELSA-2024-5101
Oracle Linux 8 kernel-toolsx86_64 Advisory build 0:4.18.0-553.16.1.el8_10 ELSA-2024-5101
Oracle Linux 8 kernel-tools-libsaarch64 Advisory build 0:4.18.0-553.16.1.el8_10 ELSA-2024-5101
Oracle Linux 8 kernel-tools-libsx86_64 Advisory build 0:4.18.0-553.16.1.el8_10 ELSA-2024-5101
Oracle Linux 8 kernel-tools-libs-develaarch64 Advisory build 0:4.18.0-553.16.1.el8_10 ELSA-2024-5101
Oracle Linux 8 kernel-tools-libs-develx86_64 Advisory build 0:4.18.0-553.16.1.el8_10 ELSA-2024-5101
Oracle Linux 8 perfaarch64 Advisory build 0:4.18.0-553.16.1.el8_10 ELSA-2024-5101
Oracle Linux 8 perfx86_64 Advisory build 0:4.18.0-553.16.1.el8_10 ELSA-2024-5101
Oracle Linux 8 python3-perfaarch64 Advisory build 0:4.18.0-553.16.1.el8_10 ELSA-2024-5101
Oracle Linux 8 python3-perfx86_64 Advisory build 0:4.18.0-553.16.1.el8_10 ELSA-2024-5101
Oracle Linux 9 bpftoolaarch64 Advisory build 0:7.4.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 bpftoolx86_64 Advisory build 0:7.4.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernelx86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-abi-stablelistsx86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-corex86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-cross-headersaarch64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-cross-headersx86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-debugx86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-debug-corex86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-debug-develx86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-debug-devel-matchedx86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-debug-modulesx86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-debug-modules-corex86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-debug-modules-extrax86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-debug-uki-virtx86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-develx86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-devel-matchedx86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-docx86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-headersaarch64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-headersx86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-modulesx86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-modules-corex86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-modules-extrax86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-toolsaarch64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-toolsx86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-tools-libsaarch64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-tools-libsx86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-tools-libs-develaarch64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-tools-libs-develx86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-uki-virtx86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-uki-virt-addonsx86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 libperfaarch64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 libperfx86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 perfaarch64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 perfx86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 python3-perfaarch64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 python3-perfx86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 rtlaaarch64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 rtlax86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 rvaarch64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 rvx86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Red Hat Enterprise Linux RHEL-8 bpftoolppc64le Advisory build 4.18.0-553.16.1.el8_10 RHSA-2024:5101
Red Hat Enterprise Linux RHEL-8 bpftools390x Advisory build 4.18.0-553.16.1.el8_10 RHSA-2024:5101
Red Hat Enterprise Linux RHEL-8 bpftoolx86_64 Advisory build 4.18.0-553.16.1.el8_10 RHSA-2024:5101
Red Hat Enterprise Linux RHEL-8 bpftool-debuginfoaarch64 Advisory build 4.18.0-553.16.1.el8_10 RHSA-2024:5101
Red Hat Enterprise Linux RHEL-8 bpftool-debuginfoppc64le Advisory build 4.18.0-553.16.1.el8_10 RHSA-2024:5101

Package entries are limited to the first 100 builds and 100 linked advisories.

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.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

42

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.5 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Scenarios
en: AV:N - The leak is triggered while processing SMC CLC handshake messages received over TCP from a remote peer — the server path takes `daddr` straight from the peer's CLC Proposal v2 extension GID (`af_smc.c:2323`) and the client path from the peer's CLC Accept GID (`af_smc.c:1245`). No local access, and no RDMA fabric connectivity to the attacker is needed since the handshake is ordinary TCP. AC:L - The missing `neigh_release()`/`ip_rt_put()` is unconditional — every successful route resolution leaks, with no race to win and no memory-layout dependency, and the attacker fully controls `daddr` via the GID it advertises. In an SMC-Rv2 deployment (the scenario in which this code runs at all) the attacker just opens TCP connections in a loop to accumulate leaked references. PR:N - `smc_listen_work()` processes the CLC Proposal immediately after TCP accept, before any credential check exists — SMC has no authentication, and the UEID compared in `smc_clc_match_eid()` is a cleartext fabric identifier the client itself broadcasts in its proposal, not a secret. The client-side path via `smc_connect_rdma_v2_prepare()` requires no EID from the attacker at all. UI:N - The attacker initiates the TCP connection to a victim SMC listener and drives the entire handshake itself; the listen worker runs asynchronously with no action by any local user. S:U - The leaked `rtable`, `neighbour` and pinned `net_device` references all remain within the kernel's own resource domain, and no VM/host, IOMMU, or sandbox boundary is crossed. C:N - Only reference counts are leaked — no freed or out-of-bounds memory is read, and nothing from kernel memory is copied back to the peer or to userspace. `nexthop_mac` is filled from a validly-held neighbour before the leak occurs. I:N - The bug is a missing decrement, which is the safe direction — no object is freed early, so there is no UAF, write primitive, or control-flow impact, and both `rcuref` (dst) and `refcount_t` (neigh) saturate with a warning rather than wrapping to zero. A:H - Each leaked `dst` and `neighbour` permanently pins a `net_device` reference (`netdev_hold()` in `dst_init()`/`neigh_alloc()`), so device unregistration and network-namespace teardown hang forever in the `unregister_netdevice: waiting for %s to become free` loop, blocking the global `cleanup_net` worker. Additionally, `neigh_forced_gc()` skips any entry with refcount > 1, so an unauthenticated peer varying its advertised GID mints unreclaimable ARP entries until `gc_thresh3` overflow breaks all neighbour resolution on the host, alongside unbounded kernel memory growth.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux e5c4744cfb598f98672f8d21d59ef2c1fa9c9b5f to < d5a466ab6e78d6f2e0f64435f1e17246c8e941ff (affected · git)e5c4744cfb598f98672f8d21d59ef2c1fa9c9b5f to < 5df93c029a907b0ff5a4eeadd77ba06ff0a277d2 (affected · git)e5c4744cfb598f98672f8d21d59ef2c1fa9c9b5f to < da91e447d06dc649fcf46e59122e7bf8f0b2e0db (affected · git)e5c4744cfb598f98672f8d21d59ef2c1fa9c9b5f to < 2ddc0dd7fec86ee53b8928a5cca5fbddd4fc7c06 (affected · git)Default: unaffected Linux · cna
Linux Linux 5.16 (affected)0 to < 5.16 (unaffected · semver)6.1.91 through 6.1.* (unaffected · semver)6.6.31 through 6.6.* (unaffected · semver)6.8.10 through 6.8.* (unaffected · semver)6.9 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

5

Provider assertions

3

Linux · cna

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

CISA-ADP · adp

ADP Container

CVE · adp

CVE Program Container

Provenance

Schema
5.2
Searchable
yes
Content hash
36f82c82baa0bdb200ed386350997285a826cf74c44a396f996036381090cd16
Ingested
23 Sep 2026, 08:24:20 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected