Skip to main content

Linux Kernel CVE-2025-40168

HIGH
2025-11-12 416baaa9-dc9f-4396-8d5f-8c081fb06d67
8.1
CVSS 3.1 · Vendor: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Reach host with SMC listener enabled
  2. Delivery
    Initiate SMC connection handshake
  3. Exploit
    Race dst teardown during prefix match
  4. Execution
    Trigger use-after-free on net_device
  5. Impact
    Corrupt kernel memory

Vulnerability Assessment

Exploitation Conditions

Requires the target host to have the SMC subsystem compiled in (CONFIG_SMC) and actively listening for/handling SMC connections, since the vulnerable code executes in smc_listen_work() during inbound SMC connection setup - SMC is not enabled or in use on most default deployments, which is the primary limiting factor. Beyond that, exploitation demands winning a concurrency race (CVSS AC:H) to free the dst_entry between lookup and dereference; no authentication (PR:N) or user interaction (UI:N) is indicated by the CVSS vector, but the narrow race window and the fact that the function's return value is unused substantially constrain realistic exploitation.

Impact

The signals conflict in a way defenders should weigh carefully. The assigned CVSS 3.1 score is 8.1 (High) with AV:N/AC:H/PR:N/UI:N and full C/I/A High, implying a serious remote memory-corruption bug - but every corroborating exploitation signal points the other way: EPSS is 0.03% (10th percentile), there is no KEV listing, no known POC, and the fix commit itself notes the return value of the affected function is not even used by the caller, which sharply reduces realistic exploitability. AC:H correctly reflects that triggering the UAF requires winning a narrow concurrency race against dst teardown. The C/I/A:H rating appears theoretical/worst-case for a kernel UAF rather than a demonstrated capability; in practice this reads as a defensive hardening fix for a hard-to-hit race, not an urgent externally-exploited threat. Exploitation additionally requires SMC to be actively in use, which is uncommon in typical deployments.

Exploit ScenarioDerived

An attacker who can reach a service on a host with SMC enabled initiates connections to the SMC listener, repeatedly racing the CLC prefix-match handshake against concurrent routing/dst teardown to free the destination cache entry while it is being dereferenced. Successfully winning this race could corrupt kernel memory; however, no public exploit is known, the race window is narrow (AC:H), and the vulnerable function's result is discarded by the caller, making reliable exploitation difficult.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv3 – Jul 30, 2026

Use-after-free in the Linux kernel's SMC (Shared Memory Communications) protocol handler smc_clc_prfx_match() lets a remote peer potentially trigger memory corruption during connection establishment. The flaw stems from dereferencing a destination cache device pointer (sk_dst_get(sk)->dev) outside RCU/RTNL protection in the listen path, so the dst entry can be freed concurrently. There is no public exploit identified at time of analysis and the EPSS probability is negligible (0.03%); notably the function's return value is unused by its caller, further limiting practical impact.

Earlier versions of this analysis (2)
v2 Jul 30, 2026 - 08:48 cvss changed CVSS 8.1

Use-after-free in the Linux kernel's SMC (Shared Memory Communications) protocol stack allows remote attackers to trigger memory corruption during connection setup, because smc_clc_prfx_match() dereferenced a destination cache device pointer obtained via sk_dst_get(sk)->dev outside of RCU or RTNL protection. The flaw is reachable through the listener path (smc_listen_work) when handling incoming SMC connections, and can lead to information disclosure or a kernel crash. No public exploit identified at time of analysis, and EPSS exploitation probability is very low (0.03%).

v1 Mar 28, 2026 - 19:21

In the Linux kernel, the following vulnerability has been resolved: smc: Use __sk_dst_get() and dst_dev_rcu() in smc_clc_prfx_match(). No vendor patch available.

RemediationAI

Upstream fix available (PR/commit); a released patched version is not independently confirmed from the provided data - apply the stable-kernel commits 235f81045c008169cc4e1955b4a64e118eebe61b and d26e80f7fb62d77757b67a1b94e4ac756bc9c658, which replace the unsafe sk_dst_get(sk)->dev usage with __sk_dst_get() and dst_dev_rcu(). Prefer updating to your distribution's next patched kernel release that incorporates these commits rather than hand-cherry-picking. As a compensating control where patching is delayed, disable or block SMC if it is not required: unload/blacklist the smc module (or avoid CONFIG_SMC), which fully removes the attack surface with the trade-off of losing SMC-R/SMC-D acceleration; where SMC is needed, restrict which peers can open SMC connections via network segmentation and firewalling of the RDMA/SMC path. Consult the referenced kernel.org commits for exact backport applicability.

Affected ProductsAI

The affected product is the Linux kernel, specifically the SMC (AF_SMC / Shared Memory Communications) subsystem in net/smc. No CPE strings or explicit version ranges were provided in the intelligence feed, so precise affected/fixed kernel versions must be read from the stable-tree fix commits at https://git.kernel.org/stable/c/235f81045c008169cc4e1955b4a64e118eebe61b and https://git.kernel.org/stable/c/d26e80f7fb62d77757b67a1b94e4ac756bc9c658. Only kernels built with SMC support (CONFIG_SMC) and with the subsystem in use are practically exposed.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

SMC is a Linux kernel network protocol (AF_SMC) that transparently accelerates TCP-style traffic over RDMA (SMC-R) or shared memory (SMC-D). During inbound connection setup, smc_listen_work() calls smc_clc_prfx_match() to compare the peer's advertised IP prefixes against the local interface. That code used sk_dst_get(sk)->dev to reach the outbound network device, but the SMC listen worker does not run under RCU read-side lock or RTNL, so the referenced dst_entry (and its net_device) can be released by another CPU between lookup and dereference - a classic use-after-free (CWE-416). The fix switches to __sk_dst_get() plus the dst_dev_rcu() helper, which obtain the device under proper RCU protection. No CPE strings were supplied in the intelligence, so exact affected kernel version ranges must be derived from the stable-tree commits.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (416baaa9-dc9f-4396-8d5f-8c081fb06d67) PRIMARY 8.1 HIGH
AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 8.1 HIGH

Remote SMC peer with no auth (AV:N/PR:N) but must win a narrow dst-teardown race (AC:H); a kernel UAF can in principle yield full memory-corruption impact (C/I/A:H).

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
SUSE 6.3 MEDIUM
AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:H
Red Hat 7.0 MEDIUM

Primary rating from Vendor (416baaa9-dc9f-4396-8d5f-8c081fb06d67).

CVSS VectorVendor: 416baaa9-dc9f-4396-8d5f-8c081fb06d67

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

4
Analysis Updated
Jul 30, 2026 - 08:48 vuln.today
v3 - CVSS changed
Analysis Updated
Jul 30, 2026 - 08:48 vuln.today
v2 - CVSS changed
CVSS changed
Jul 30, 2026 - 06:37 NVD
8.1 (HIGH)
CVE Published
Nov 12, 2025 - 11:15 nvd
N/A

DescriptionCVE.org

In the Linux kernel, the following vulnerability has been resolved:

smc: Use __sk_dst_get() and dst_dev_rcu() in smc_clc_prfx_match().

smc_clc_prfx_match() is called from smc_listen_work() and not under RCU nor RTNL.

Using sk_dst_get(sk)->dev could trigger UAF.

Let's use __sk_dst_get() and dst_dev_rcu().

Note that the returned value of smc_clc_prfx_match() is not used in the caller.

Executive ViewAI

Why It Matters

CVE-2025-40168 is a use-after-free vulnerability in the Linux kernel's SMC (Shared Memory Communications) protocol handler that could trigger memory corruption during connection establishment on affected systems. While the CVSS severity is rated HIGH (8.1), the exploit probability remains negligible at 0.0% EPSS with no public exploit identified; the vulnerability's practical impact is further limited because the affected function's return value goes unused. Organizations running Linux with SMC enabled should inventory systems and implement interim protections, but immediate operational risk is low.

Business Impact: Medium
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: disable SMC module (modprobe -r smc) if not operationally required; restrict network access and segmentation to limit untrusted peer connections; enable kernel hardening (ASLR, DEP/NX if not already enabled); monitor vendor advisories for upstream patch availability.

Threat Intelligence Overview

EPSS Score
0.0%
Top 90% exploitable
Prevalence
Ubiquitous
Linux kernel is ubiquitous, though the SMC subsystem is rarely enabled
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
Medium

Priority Score

40
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +40
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
Container suse/hpc/warewulf4-x86_64/sle-hpc-node:latest Image SLES15-SP6 Image SLES15-SP6-BYOS Image SLES15-SP6-BYOS-Azure Image SLES15-SP6-BYOS-EC2 Image SLES15-SP6-BYOS-GCE Image SLES15-SP6-CHOST-BYOS Image SLES15-SP6-CHOST-BYOS-Aliyun Image SLES15-SP6-CHOST-BYOS-Azure Image SLES15-SP6-CHOST-BYOS-EC2 Image SLES15-SP6-CHOST-BYOS-GCE Image SLES15-SP6-CHOST-BYOS-GDC Image SLES15-SP6-CHOST-BYOS-SAP-CCloud Image SLES15-SP6-EC2 Image SLES15-SP6-EC2-ECS-HVM Image SLES15-SP6-GCE Image SLES15-SP6-HPC-BYOS Image SLES15-SP6-HPC-BYOS-Azure Image SLES15-SP6-HPC-BYOS-EC2 Image SLES15-SP6-HPC-BYOS-GCE Image SLES15-SP6-HPC-EC2 Image SLES15-SP6-HPC-GCE Image SLES15-SP6-Hardened-BYOS Image SLES15-SP6-Hardened-BYOS-Azure Image SLES15-SP6-Hardened-BYOS-EC2 Image SLES15-SP6-Hardened-BYOS-GCE Image SLES15-SP6-SAP Image SLES15-SP6-SAP-Azure Image SLES15-SP6-SAP-EC2 Image SLES15-SP6-SAP-GCE Image SLES15-SP6-SAPCAL Image SLES15-SP6-SAPCAL-Azure Image SLES15-SP6-SAPCAL-EC2 Image SLES15-SP6-SAPCAL-GCE Affected
Container suse/sl-micro/6.0/baremetal-os-container:latest Container suse/sl-micro/6.1/baremetal-os-container:latest Affected
Container suse/sl-micro/6.0/base-os-container:2.1.3-7.95 Container suse/sl-micro/6.1/base-os-container:2.2.1-5.80 Affected
Container suse/sl-micro/6.0/kvm-os-container:2.1.3-6.114 Container suse/sl-micro/6.1/kvm-os-container:2.2.1-5.82 Affected
Container suse/sl-micro/6.0/rt-os-container:2.1.3-7.116 Container suse/sl-micro/6.1/rt-os-container:2.2.1-5.55 Affected

References

Advisories & patches
ADVISORY https://access.redhat.com/errata/RHSA-2026:2720 ADVISORY https://access.redhat.com/errata/RHSA-2026:27708 ADVISORY https://access.redhat.com/errata/RHSA-2026:2821 ADVISORY https://access.redhat.com/errata/RHSA-2026:3275 ADVISORY https://access.redhat.com/errata/RHSA-2026:3488 ADVISORY https://access.redhat.com/errata/RHSA-2026:4111 ADVISORY https://access.redhat.com/errata/RHSA-2026:6954 ADVISORY https://access.redhat.com/errata/RHSA-2026:9513 ADVISORY https://access.redhat.com/errata/RHSA-2026:9514 ADVISORY https://access.redhat.com/errata/RHSA-2026:9643 ADVISORY https://ubuntu.com/security/notices/USN-8781-1 ADVISORY https://vuldb.com/vuln/332151 ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:4393/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:4422/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:4505/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:4516/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:4517/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:4521/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:0316/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20012/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20015/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20021/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20039/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20059/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20334/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20473/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20478/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20496/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20519/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20562/ REF https://git.kernel.org/stable/c/235f81045c008169cc4e1955b4a64e118eebe61b REF https://git.kernel.org/stable/c/326e5cf301d0bec0a672aa834d8254c4f9df6255 REF https://git.kernel.org/stable/c/3f119c37aa293af41400cccb3d89fab8dcf774b0 REF https://git.kernel.org/stable/c/4f5f52a5842937f945582a93cb9daed9ea526fee REF https://git.kernel.org/stable/c/d26e80f7fb62d77757b67a1b94e4ac756bc9c658

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy