CVE-2026-64541

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

9.8 critical EPSS 0.57%

Published 27 Jul 2026 Updated 19 Oct 2026 CNA: Linux

Check your servers for CVE-2026-64541

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

Check my servers

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.

Severity (CVSS)

9.8 critical CVSS 3.1 from Linux (CNA)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/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 high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 0.57%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 48.3% of all scored CVEs. Scores of 2 Dec 2026.

The assessment of CISA (SSVC, 16 Oct 2026):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
yes: an attacker can automate the attack across many targets
Technical impact
total: full control of the component or of its data

Weakness

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from d7b0e37c1ac152905b18a5b9506179091a35b0b6, before 8de4f665d0febfb92803dece377791a563fc7041
affected from d7b0e37c1ac152905b18a5b9506179091a35b0b6, before 8145b432136285e01091815b48ceb2dae261f262
affected from d7b0e37c1ac152905b18a5b9506179091a35b0b6, before 1951bffbc6493ec34cff3956b29d4bc6606904a6
affected from d7b0e37c1ac152905b18a5b9506179091a35b0b6, before 647b19e5cc145a2f1f685ae8ff3805a17356888c
affected from d7b0e37c1ac152905b18a5b9506179091a35b0b6, before 472e9d7c0d5b03be3ff91ff941f57da822b031bc
affected from d7b0e37c1ac152905b18a5b9506179091a35b0b6, before 3bfb96d9bc6a7ed0b99c7db329cc2e22a28d84bb
affected from d7b0e37c1ac152905b18a5b9506179091a35b0b6, before ce5aa8084329351086894aa34d77e40301d5bd3d
affected from d7b0e37c1ac152905b18a5b9506179091a35b0b6, before 9d160b35cc34a2ba8229d07651468a7848325135
Other versions: unaffected
Linux
affected 4.18
unaffected before 4.18
unaffected from 5.10.261 up to and including 5.10.*
unaffected from 5.15.212 up to and including 5.15.*
unaffected from 6.1.178 up to and including 6.1.*
unaffected from 6.6.145 up to and including 6.6.*
unaffected from 6.12.97 up to and including 6.12.*
unaffected from 6.18.40 up to and including 6.18.*
unaffected from 7.1.5 up to and including 7.1.*
unaffected 7.2 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-2026-64541 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-64541

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-2026-64541
trivy image --scanners vuln IMAGE | grep CVE-2026-64541

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

Source: the record CVE-2026-64541 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.