Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2025-40168

HIGH 8.1EPSS 51%

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

Mitigation

  • Upgrade Linux to 235f81045c008169cc4e1955b4a64e118eebe61b or later.

Who should check

  • Anyone running Linux >= a046d57da19f812216f393e7c535f5858f793ac3, < 3f119c37aa293af41400cccb3d89fab8dcf774b0; >= a046d57da19f812216f393e7c535f5858f793ac3, < 4f5f52a5842937f945582a93cb9daed9ea526fee; >= a046d57da19f812216f393e7c535f5858f793ac3, < 326e5cf301d0bec0a672aa834d8254c4f9df6255; >= a046d57da19f812216f393e7c535f5858f793ac3, < d26e80f7fb62d77757b67a1b94e4ac756bc9c658; >= a046d57da19f812216f393e7c535f5858f793ac3, < 235f81045c008169cc4e1955b4a64e118eebe61b
  • Anyone running Linux 4.11

Vulnerability facts

Affected
Linux >= a046d57da19f812216f393e7c535f5858f793ac3, < 3f119c37aa293af41400cccb3d89fab8dcf774b0; >= a046d57da19f812216f393e7c535f5858f793ac3, < 4f5f52a5842937f945582a93cb9daed9ea526fee; >= a046d57da19f812216f393e7c535f5858f793ac3, < 326e5cf301d0bec0a672aa834d8254c4f9df6255; >= a046d57da19f812216f393e7c535f5858f793ac3, < d26e80f7fb62d77757b67a1b94e4ac756bc9c658; >= a046d57da19f812216f393e7c535f5858f793ac3, < 235f81045c008169cc4e1955b4a64e118eebe61b; Linux 4.11
Fixed in
Linux 3f119c37aa293af41400cccb3d89fab8dcf774b0, Linux 4f5f52a5842937f945582a93cb9daed9ea526fee, Linux 326e5cf301d0bec0a672aa834d8254c4f9df6255, Linux 235f81045c008169cc4e1955b4a64e118eebe61b
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Remote, no login needed
CVSS
8.1 (v3.1, CNA)CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Network
  • Attack complexity: High
  • Privileges required: None
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: High
  • Integrity impact: High
  • Availability impact: High
EPSS
0.75% chance of exploitation in 30 days (percentile 51, 2026-11-26)
Published
Modified

Description

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.

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= a046d57da19f812216f393e7c535f5858f793ac3, < 3f119c37aa293af41400cccb3d89fab8dcf774b0; >= a046d57da19f812216f393e7c535f5858f793ac3, < 4f5f52a5842937f945582a93cb9daed9ea526fee; >= a046d57da19f812216f393e7c535f5858f793ac3, < 326e5cf301d0bec0a672aa834d8254c4f9df6255; >= a046d57da19f812216f393e7c535f5858f793ac3, < d26e80f7fb62d77757b67a1b94e4ac756bc9c658; >= a046d57da19f812216f393e7c535f5858f793ac3, < 235f81045c008169cc4e1955b4a64e118eebe61b—cvelist
Linux4.11—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2025-40168. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-40168.md
Affected: Linux >= a046d57da19f812216f393e7c535f5858f793ac3, < 3f119c37aa293af41400cccb3d89fab8dcf774b0; >= a046d57da19f812216f393e7c535f5858f793ac3, < 4f5f52a5842937f945582a93cb9daed9ea526fee; >= a046d57da19f812216f393e7c535f5858f793ac3, < 326e5cf301d0bec0a672aa834d8254c4f9df6255; >= a046d57da19f812216f393e…
Fixed in: Linux 3f119c37aa293af41400cccb3d89fab8dcf774b0, Linux 4f5f52a5842937f945582a93cb9daed9ea526fee, Linux 326e5cf301d0bec0a672aa834d8254c4f9df6255, Linux 235f81045c008169cc4e1955b4a64e118eebe61b

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2025-40168 being exploited?

There is no confirmed exploitation: CVE-2025-40168 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.75% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2025-40168?

High: CVSS 8.1 (v3.1, scored by CNA). Remote, no login needed. The attack needs conditions outside the attacker's control, which makes it harder.

Which versions are affected by CVE-2025-40168?

Linux >= a046d57da19f812216f393e7c535f5858f793ac3, < 3f119c37aa293af41400cccb3d89fab8dcf774b0; >= a046d57da19f812216f393e7c535f5858f793ac3, < 4f5f52a5842937f945582a93cb9daed9ea526fee; >= a046d57da19f812216f393e7c535f5858f793ac3, < 326e5cf301d0bec0a672aa834d8254c4f9df6255; >= a046d57da19f812216f393e7c535f5858f793ac3, < d26e80f7fb62d77757b67a1b94e4ac756bc9c658; >= a046d57da19f812216f393e7c535f5858f793ac3, < 235f81045c008169cc4e1955b4a64e118eebe61b; Linux 4.11.

Is there a fix for CVE-2025-40168?

Yes. Fixed in Linux 3f119c37aa293af41400cccb3d89fab8dcf774b0, Linux 4f5f52a5842937f945582a93cb9daed9ea526fee, Linux 326e5cf301d0bec0a672aa834d8254c4f9df6255, Linux 235f81045c008169cc4e1955b4a64e118eebe61b. Upgrade Linux to 235f81045c008169cc4e1955b4a64e118eebe61b or later.

How do I check if I'm affected by CVE-2025-40168?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors