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-2026-64541

published critical CVSS 3.1 · 9.8

net/smc: fix UAF in smc_cdc_rx_handler() by pinning the socket

Published
27 Jul 2026, 20:10:34 UTC
Updated
19 Oct 2026, 20:48:39 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linuxd7b0e37c1ac152905b18a5b9506179091a35b0b6 to < 8de4f665d0febfb92803dece377791a563fc7041 · d7b0e37c1ac152905b18a5b9506179091a35b0b6 to < 8145b432136285e01091815b48ceb2dae261f262 · d7b0e37c1ac152905b18a5b9506179091a35b0b6 to < 1951bffbc6493ec34cff3956b29d4bc6606904a6 · d7b0e37c1ac152905b18a5b9506179091a35b0b6 to < 647b19e5cc145a2f1f685ae8ff3805a17356888c · d7b0e37c1ac152905b18a5b9506179091a35b0b6 to < 472e9d7c0d5b03be3ff91ff941f57da822b031bc · d7b0e37c1ac152905b18a5b9506179091a35b0b6 to < 3bfb96d9bc6a7ed0b99c7db329cc2e22a28d84bb · d7b0e37c1ac152905b18a5b9506179091a35b0b6 to < ce5aa8084329351086894aa34d77e40301d5bd3d · d7b0e37c1ac152905b18a5b9506179091a35b0b6 to < 9d160b35cc34a2ba8229d07651468a7848325135 · Other versions: unaffected Affected Not stated Linux
Linux — Linux4.18 (affected) · 0 to < 4.18 (unaffected · semver) · 5.10.261 through 5.10.* (unaffected · semver) · 5.15.212 through 5.15.* (unaffected · semver) · 6.1.178 through 6.1.* (unaffected · semver) · 6.6.145 through 6.6.* (unaffected · semver) · 6.12.97 through 6.12.* (unaffected · semver) · 6.18.40 through 6.18.* (unaffected · semver) · 7.1.5 through 7.1.* (unaffected · semver) · 7.2 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 10 kernel Advisory build 6.12.0-264.17.1.el10_3 ALSA-2026:100661
AlmaLinux 10 kernel-64k Advisory build 6.12.0-264.17.1.el10_3 ALSA-2026:100661
AlmaLinux 10 kernel-64k-core Advisory build 6.12.0-264.17.1.el10_3 ALSA-2026:100661
AlmaLinux 10 kernel-64k-debug Advisory build 6.12.0-264.17.1.el10_3 ALSA-2026:100661
Show 96 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
AlmaLinux 10 kernel-64k-debug-core Advisory build 6.12.0-264.17.1.el10_3 ALSA-2026:100661
AlmaLinux 10 kernel-64k-debug-devel Advisory build 6.12.0-264.17.1.el10_3 ALSA-2026:100661
AlmaLinux 10 kernel-64k-debug-devel-matched Advisory build 6.12.0-264.17.1.el10_3 ALSA-2026:100661
AlmaLinux 10 kernel-64k-debug-modules Advisory build 6.12.0-264.17.1.el10_3 ALSA-2026:100661
AlmaLinux 10 kernel-64k-debug-modules-core Advisory build 6.12.0-264.17.1.el10_3 ALSA-2026:100661
AlmaLinux 10 kernel-64k-debug-modules-extra Advisory build 6.12.0-264.17.1.el10_3 ALSA-2026:100661
AlmaLinux 10 kernel-64k-devel Advisory build 6.12.0-264.17.1.el10_3 ALSA-2026:100661
AlmaLinux 10 kernel-64k-devel-matched Advisory build 6.12.0-264.17.1.el10_3 ALSA-2026:100661
AlmaLinux 10 kernel-64k-modules Advisory build 6.12.0-264.17.1.el10_3 ALSA-2026:100661
AlmaLinux 10 kernel-64k-modules-core Advisory build 6.12.0-264.17.1.el10_3 ALSA-2026:100661
AlmaLinux 10 kernel-64k-modules-extra Advisory build 6.12.0-264.17.1.el10_3 ALSA-2026:100661
AlmaLinux 10 kernel-abi-stablelists Advisory build 6.12.0-264.17.1.el10_3 ALSA-2026:100661
AlmaLinux 10 kernel-core Advisory build 6.12.0-264.17.1.el10_3 ALSA-2026:100661
AlmaLinux 10 kernel-cross-headers Advisory build 6.12.0-264.17.1.el10_3 ALSA-2026:100661
AlmaLinux 10 kernel-debug Advisory build 6.12.0-264.17.1.el10_3 ALSA-2026:100661
AlmaLinux 10 kernel-debug-core Advisory build 6.12.0-264.17.1.el10_3 ALSA-2026:100661
AlmaLinux 10 kernel-debug-devel Advisory build 6.12.0-264.17.1.el10_3 ALSA-2026:100661
AlmaLinux 10 kernel-debug-devel-matched Advisory build 6.12.0-264.17.1.el10_3 ALSA-2026:100661
AlmaLinux 10 kernel-debug-modules Advisory build 6.12.0-264.17.1.el10_3 ALSA-2026:100661
AlmaLinux 10 kernel-debug-modules-core Advisory build 6.12.0-264.17.1.el10_3 ALSA-2026:100661
AlmaLinux 10 kernel-debug-modules-extra Advisory build 6.12.0-264.17.1.el10_3 ALSA-2026:100661
AlmaLinux 10 kernel-debug-uki-virt Advisory build 6.12.0-264.17.1.el10_3 ALSA-2026:100661
AlmaLinux 10 kernel-devel Advisory build 6.12.0-264.17.1.el10_3 ALSA-2026:100661
AlmaLinux 10 kernel-devel-matched Advisory build 6.12.0-264.17.1.el10_3 ALSA-2026:100661
AlmaLinux 10 kernel-doc Advisory build 6.12.0-264.17.1.el10_3 ALSA-2026:100661
AlmaLinux 10 kernel-headers Advisory build 6.12.0-264.17.1.el10_3 ALSA-2026:100661
AlmaLinux 10 kernel-modules Advisory build 6.12.0-264.17.1.el10_3 ALSA-2026:100661
AlmaLinux 10 kernel-modules-core Advisory build 6.12.0-264.17.1.el10_3 ALSA-2026:100661
AlmaLinux 10 kernel-modules-extra Advisory build 6.12.0-264.17.1.el10_3 ALSA-2026:100661
AlmaLinux 10 kernel-modules-extra-matched Advisory build 6.12.0-264.17.1.el10_3 ALSA-2026:100661
AlmaLinux 10 kernel-rt Advisory build 6.12.0-264.17.1.el10_3 ALSA-2026:100661
AlmaLinux 10 kernel-rt-64k Advisory build 6.12.0-264.17.1.el10_3 ALSA-2026:100661
AlmaLinux 10 kernel-rt-64k-core Advisory build 6.12.0-264.17.1.el10_3 ALSA-2026:100661
AlmaLinux 10 kernel-rt-64k-debug Advisory build 6.12.0-264.17.1.el10_3 ALSA-2026:100661
AlmaLinux 10 kernel-rt-64k-debug-core Advisory build 6.12.0-264.17.1.el10_3 ALSA-2026:100661
AlmaLinux 10 kernel-rt-64k-debug-devel Advisory build 6.12.0-264.17.1.el10_3 ALSA-2026:100661
AlmaLinux 10 kernel-rt-64k-debug-modules Advisory build 6.12.0-264.17.1.el10_3 ALSA-2026:100661
AlmaLinux 10 kernel-rt-64k-debug-modules-core Advisory build 6.12.0-264.17.1.el10_3 ALSA-2026:100661
AlmaLinux 10 kernel-rt-64k-debug-modules-extra Advisory build 6.12.0-264.17.1.el10_3 ALSA-2026:100661
AlmaLinux 10 kernel-rt-64k-devel Advisory build 6.12.0-264.17.1.el10_3 ALSA-2026:100661
AlmaLinux 10 kernel-rt-64k-modules Advisory build 6.12.0-264.17.1.el10_3 ALSA-2026:100661
AlmaLinux 10 kernel-rt-64k-modules-core Advisory build 6.12.0-264.17.1.el10_3 ALSA-2026:100661
AlmaLinux 10 kernel-rt-64k-modules-extra Advisory build 6.12.0-264.17.1.el10_3 ALSA-2026:100661
AlmaLinux 10 kernel-rt-core Advisory build 6.12.0-264.17.1.el10_3 ALSA-2026:100661
AlmaLinux 10 kernel-rt-debug Advisory build 6.12.0-264.17.1.el10_3 ALSA-2026:100661
AlmaLinux 10 kernel-rt-debug-core Advisory build 6.12.0-264.17.1.el10_3 ALSA-2026:100661
AlmaLinux 10 kernel-rt-debug-devel Advisory build 6.12.0-264.17.1.el10_3 ALSA-2026:100661
AlmaLinux 10 kernel-rt-debug-modules Advisory build 6.12.0-264.17.1.el10_3 ALSA-2026:100661
AlmaLinux 10 kernel-rt-debug-modules-core Advisory build 6.12.0-264.17.1.el10_3 ALSA-2026:100661
AlmaLinux 10 kernel-rt-debug-modules-extra Advisory build 6.12.0-264.17.1.el10_3 ALSA-2026:100661
AlmaLinux 10 kernel-rt-devel Advisory build 6.12.0-264.17.1.el10_3 ALSA-2026:100661
AlmaLinux 10 kernel-rt-modules Advisory build 6.12.0-264.17.1.el10_3 ALSA-2026:100661
AlmaLinux 10 kernel-rt-modules-core Advisory build 6.12.0-264.17.1.el10_3 ALSA-2026:100661
AlmaLinux 10 kernel-rt-modules-extra Advisory build 6.12.0-264.17.1.el10_3 ALSA-2026:100661
AlmaLinux 10 kernel-tools Advisory build 6.12.0-264.17.1.el10_3 ALSA-2026:100661
AlmaLinux 10 kernel-tools-libs Advisory build 6.12.0-264.17.1.el10_3 ALSA-2026:100661
AlmaLinux 10 kernel-tools-libs-devel Advisory build 6.12.0-264.17.1.el10_3 ALSA-2026:100661
AlmaLinux 10 kernel-uki-virt Advisory build 6.12.0-264.17.1.el10_3 ALSA-2026:100661
AlmaLinux 10 kernel-uki-virt-addons Advisory build 6.12.0-264.17.1.el10_3 ALSA-2026:100661
AlmaLinux 10 kernel-zfcpdump Advisory build 6.12.0-264.17.1.el10_3 ALSA-2026:100661
AlmaLinux 10 kernel-zfcpdump-core Advisory build 6.12.0-264.17.1.el10_3 ALSA-2026:100661
AlmaLinux 10 kernel-zfcpdump-devel Advisory build 6.12.0-264.17.1.el10_3 ALSA-2026:100661
AlmaLinux 10 kernel-zfcpdump-devel-matched Advisory build 6.12.0-264.17.1.el10_3 ALSA-2026:100661
AlmaLinux 10 kernel-zfcpdump-modules Advisory build 6.12.0-264.17.1.el10_3 ALSA-2026:100661
AlmaLinux 10 kernel-zfcpdump-modules-core Advisory build 6.12.0-264.17.1.el10_3 ALSA-2026:100661
AlmaLinux 10 kernel-zfcpdump-modules-extra Advisory build 6.12.0-264.17.1.el10_3 ALSA-2026:100661
AlmaLinux 10 libperf Advisory build 6.12.0-264.17.1.el10_3 ALSA-2026:100661
AlmaLinux 10 perf Advisory build 6.12.0-264.17.1.el10_3 ALSA-2026:100661
AlmaLinux 10 python3-perf Advisory build 6.12.0-264.17.1.el10_3 ALSA-2026:100661
AlmaLinux 10 rtla Advisory build 6.12.0-264.17.1.el10_3 ALSA-2026:100661
AlmaLinux 10 rv Advisory build 6.12.0-264.17.1.el10_3 ALSA-2026:100661
AlmaLinux 8 bpftool Advisory build 4.18.0-553.184.1.el8_10 ALSA-2026:95212
AlmaLinux 8 kernel Advisory build 4.18.0-553.184.1.el8_10 ALSA-2026:95212
AlmaLinux 8 kernel-abi-stablelists Advisory build 4.18.0-553.184.1.el8_10 ALSA-2026:95212
AlmaLinux 8 kernel-core Advisory build 4.18.0-553.184.1.el8_10 ALSA-2026:95212
AlmaLinux 8 kernel-cross-headers Advisory build 4.18.0-553.184.1.el8_10 ALSA-2026:95212
AlmaLinux 8 kernel-debug Advisory build 4.18.0-553.184.1.el8_10 ALSA-2026:95212
AlmaLinux 8 kernel-debug-core Advisory build 4.18.0-553.184.1.el8_10 ALSA-2026:95212
AlmaLinux 8 kernel-debug-devel Advisory build 4.18.0-553.184.1.el8_10 ALSA-2026:95212
AlmaLinux 8 kernel-debug-modules Advisory build 4.18.0-553.184.1.el8_10 ALSA-2026:95212
AlmaLinux 8 kernel-debug-modules-extra Advisory build 4.18.0-553.184.1.el8_10 ALSA-2026:95212
AlmaLinux 8 kernel-devel Advisory build 4.18.0-553.184.1.el8_10 ALSA-2026:95212
AlmaLinux 8 kernel-doc Advisory build 4.18.0-553.184.1.el8_10 ALSA-2026:95212
AlmaLinux 8 kernel-headers Advisory build 4.18.0-553.184.1.el8_10 ALSA-2026:95212
AlmaLinux 8 kernel-modules Advisory build 4.18.0-553.184.1.el8_10 ALSA-2026:95212
AlmaLinux 8 kernel-modules-extra Advisory build 4.18.0-553.184.1.el8_10 ALSA-2026:95212
AlmaLinux 8 kernel-rt Advisory build 4.18.0-553.184.1.rt7.525.el8_10 ALSA-2026:95100
AlmaLinux 8 kernel-rt-core Advisory build 4.18.0-553.184.1.rt7.525.el8_10 ALSA-2026:95100
AlmaLinux 8 kernel-rt-debug Advisory build 4.18.0-553.184.1.rt7.525.el8_10 ALSA-2026:95100
AlmaLinux 8 kernel-rt-debug-core Advisory build 4.18.0-553.184.1.rt7.525.el8_10 ALSA-2026:95100
AlmaLinux 8 kernel-rt-debug-devel Advisory build 4.18.0-553.184.1.rt7.525.el8_10 ALSA-2026:95100
AlmaLinux 8 kernel-rt-debug-modules Advisory build 4.18.0-553.184.1.rt7.525.el8_10 ALSA-2026:95100
AlmaLinux 8 kernel-rt-debug-modules-extra Advisory build 4.18.0-553.184.1.rt7.525.el8_10 ALSA-2026:95100
AlmaLinux 8 kernel-rt-devel Advisory build 4.18.0-553.184.1.rt7.525.el8_10 ALSA-2026:95100
AlmaLinux 8 kernel-rt-modules Advisory build 4.18.0-553.184.1.rt7.525.el8_10 ALSA-2026:95100
AlmaLinux 8 kernel-rt-modules-extra Advisory build 4.18.0-553.184.1.rt7.525.el8_10 ALSA-2026:95100

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 UAF in smc_cdc_rx_handler() by pinning the socket smc_cdc_rx_handler() looks up the connection by token under the link group's conns_lock, drops the lock, and then dereferences conn and the smc_sock derived from it, ending in sock_hold(&smc->sk) inside smc_cdc_msg_recv(). No reference is held across the lock release. The only reference pinning the socket while the connection is discoverable in the link group is taken in smc_lgr_register_conn() (sock_hold) and dropped in __smc_lgr_unregister_conn() (sock_put), both under conns_lock. Once the handler drops conns_lock, a concurrent close() -> smc_release() -> smc_conn_free() -> smc_lgr_unregister_conn() can drop that reference and free the smc_sock, so the handler's later sock_hold() runs on freed memory: WARNING: lib/refcount.c:25 at refcount_warn_saturate Workqueue: rxe_wq do_work refcount_warn_saturate (lib/refcount.c:25) smc_cdc_msg_recv (net/smc/smc_cdc.c:430) smc_cdc_rx_handler (net/smc/smc_cdc.c:502) smc_wr_rx_tasklet_fn (net/smc/smc_wr.c:445) tasklet_action_common (kernel/softirq.c:938) handle_softirqs (kernel/softirq.c:622) Kernel panic - not syncing: panic_on_warn set Only SMC-R is affected. The SMC-D receive tasklet is stopped by tasklet_kill(&conn->rx_tsklet) in smc_conn_free() before the connection is unregistered, so it cannot run concurrently with the free. Take the socket reference while still holding conns_lock, so the registration reference can no longer be the last one, and drop it once the handler is done.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

71

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
9.8 / 10
Severity
critical
Provider
Linux · cna
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: AV:N - The vulnerable handler is driven entirely by a CDC control message sent by the remote SMC-R peer over the RDMA link, with an attacker-chosen `token` field and no local syscall involvement. SMC-R runs over RoCEv2 (IP/UDP-routable, port 4791) with the CLC handshake over plain TCP, and SMC-Rv2 explicitly supports non-local/routed peers, so the attacker need not share an L2 segment. AC:L - The attacker controls both sides of the race: it chooses when to emit CDC messages and which connection to target (the alert token is disclosed to it in the CLC accept/confirm), and it can drive the teardown side itself via CDC close/abort flags into `smc_close_passive_work()` or a stale seqno with `failover_validation` into `abort_work` -> `smc_conn_kill()`. The race can be retried indefinitely across many connections in the same link group, and was reproduced in practice with soft-RoCE. PR:N - Establishing an SMC-R connection to a listening SMC socket requires no credentials — SMC has no authentication layer of its own, exactly like plain TCP. Everything after connection establishment (sending CDC messages with a chosen token, signalling close/abort) is available to an unauthenticated peer. UI:N - The CDC message is processed in a softirq tasklet from the RDMA completion queue with no involvement from any local user or application action. No victim interaction of any kind is needed. S:U - The corruption is confined to kernel memory within the same security authority; there is no VM, IOMMU, or sandbox boundary crossed. This is a standard in-kernel use-after-free. C:H - The freed `smc_sock` is reused type-safely as another live socket, so attacker-supplied cursors applied by `smc_cdc_msg_recv_action()` break the `0 <= bytes_to_rcv <= rmb_desc->len` invariant and make `smc_rx_recvmsg()` hand stale RMB contents to userspace, while the urgent-data path reads `*(base + conn->urg_curs.count - 1)` at an attacker-chosen offset. Once the slab page is reclaimed after the RCU grace period, reuse is unconstrained, giving a general kernel-memory read primitive. I:H - `sock_hold()` on an already-zero refcount followed by `sock_put()` re-enters `sk_free()`, yielding a double free, and the handler additionally writes `sk_err`/`sk_shutdown`, makes indirect calls through `sk_data_ready()`/`sk_write_space()`, and `queue_work()`s a freed `work_struct`. These are classic heap-spray and control-flow-hijack primitives leading to arbitrary kernel write. A:H - The reported symptom is `refcount_warn_saturate` from `smc_cdc_msg_recv()`, which is an immediate kernel panic on `panic_on_warn` systems, and dereferencing freed memory in softirq context otherwise oopses. The attacker can trigger it repeatedly without authentication.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux d7b0e37c1ac152905b18a5b9506179091a35b0b6 to < 8de4f665d0febfb92803dece377791a563fc7041 (affected · git)d7b0e37c1ac152905b18a5b9506179091a35b0b6 to < 8145b432136285e01091815b48ceb2dae261f262 (affected · git)d7b0e37c1ac152905b18a5b9506179091a35b0b6 to < 1951bffbc6493ec34cff3956b29d4bc6606904a6 (affected · git)d7b0e37c1ac152905b18a5b9506179091a35b0b6 to < 647b19e5cc145a2f1f685ae8ff3805a17356888c (affected · git)d7b0e37c1ac152905b18a5b9506179091a35b0b6 to < 472e9d7c0d5b03be3ff91ff941f57da822b031bc (affected · git)d7b0e37c1ac152905b18a5b9506179091a35b0b6 to < 3bfb96d9bc6a7ed0b99c7db329cc2e22a28d84bb (affected · git)d7b0e37c1ac152905b18a5b9506179091a35b0b6 to < ce5aa8084329351086894aa34d77e40301d5bd3d (affected · git)d7b0e37c1ac152905b18a5b9506179091a35b0b6 to < 9d160b35cc34a2ba8229d07651468a7848325135 (affected · git)Default: unaffected Linux · cna
Linux Linux 4.18 (affected)0 to < 4.18 (unaffected · semver)5.10.261 through 5.10.* (unaffected · semver)5.15.212 through 5.15.* (unaffected · semver)6.1.178 through 6.1.* (unaffected · semver)6.6.145 through 6.6.* (unaffected · semver)6.12.97 through 6.12.* (unaffected · semver)6.18.40 through 6.18.* (unaffected · semver)7.1.5 through 7.1.* (unaffected · semver)7.2 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

1
  • CWE-416 CWE-416 Use After Free (CISA-ADP · adp)

References

8

Provider assertions

2

Linux · cna

net/smc: fix UAF in smc_cdc_rx_handler() by pinning the socket

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
e180497a0bc090283cad8db64613202468e993eba423ead1a22d845010aec658
Ingested
19 Oct 2026, 20:54:21 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