CVE-2025-40064 is a use-after-free vulnerability in the Linux kernel Shared Memory Communications (SMC) networking subsystem. During the connect() path, smc_pnet_find_ism_resource() and smc_pnet_find_roce_resource() could obtain a net_device through the socket destination without retaining a device reference before passing it to pnet_find_base_ndev(). While the device is being removed, the destination device can be replaced and its reference released before RTNL acquisition, leaving __pnet_find_base_ndev() to dereference freed memory. The fix safely obtains the destination and device, retaining the device reference through use of __sk_dst_get() and dst_dev_rcu().
Mallory correlates every CVE against your assets, your vendors, and active adversary campaigns. Know which vulnerabilities matter for you, not just which ones are loud.
What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
If you can’t patch tonight, do this now.
Patch, then assume compromise.
No public exploits tracked yet. Mallory keeps watching.
No public exploit code observed for this vulnerability.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
Vendor-confirmed product mapping. Mallory continuously reconciles this list against your asset inventory.
38 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.
A Linux kernel use-after-free vulnerability in the SMC subsystem function __pnet_find_base_ndev().
A Linux kernel SMC use-after-free vulnerability in __pnet_find_base_ndev().
A Linux kernel SMC use-after-free vulnerability in __pnet_find_base_ndev() addressed by this Red Hat kernel security update.
A Linux kernel SMC use-after-free vulnerability in __pnet_find_base_ndev().
Query your assets running an affected version, and investigate the blast radius.
Every observed campaign linking this CVE to a named adversary.
Malware families riding this exploit, with evidence and IOCs.
YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Cross-references every affected SKU, including bundled OEM variants.
Community discussion across Reddit, Mastodon, and other social sources.