CVE-2025-40139smc: Use __sk_dst_get() and dst_dev_rcu() in in smc_clc_prfx_set().
- 7.8HighCVSS base score
- 0.17%Exploitation in 30 daysEPSS · top 94% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
Description
In the Linux kernel, the following vulnerability has been resolved: smc: Use __sk_dst_get() and dst_dev_rcu() in in smc_clc_prfx_set(). smc_clc_prfx_set() is called during connect() and not under RCU nor RTNL. Using sk_dst_get(sk)->dev could trigger UAF. Let's use __sk_dst_get() and dev_dst_rcu() under rcu_read_lock() after kernel_getsockname(). Note that the returned value of smc_clc_prfx_set() is not used in the caller. While at it, we change the 1st arg of smc_clc_prfx_set[46]_rcu() not to touch dst there.
Timeline
ID reserved
By Linux
- 7 months later
· 7 months later
Published
- 11 months later
· 11 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| LinuxCNA (assigner) | 3.1 | High7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVDNVD · Deferred | 3.1 | High7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 0.17% · top 94% of all CVEs (16 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: total
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.8.
Affected products
- affected a046d57da19f812216f393e7c535f5858f793ac3 – < 5a2fccc4b32c13ddde3676f9e15e1a9baa7d6fde
- affected a046d57da19f812216f393e7c535f5858f793ac3 – < 80d1fd39f4e37d836655e9f7ffccaf78925049bf
- affected a046d57da19f812216f393e7c535f5858f793ac3 – < 956c57daba55cf9ed25d9f2512883b8a1a927599
- affected a046d57da19f812216f393e7c535f5858f793ac3 – < 0736993bfe5c7a9c744ae3fac62d769dfdae54e1
- affected a046d57da19f812216f393e7c535f5858f793ac3 – < 935d783e5de9b64587f3adb25641dd8385e64ddb
- affected 4.11
- unaffected < 4.11
- unaffected 6.1.187 – ≤ 6.1.*
- unaffected 6.6.156 – ≤ 6.6.*
- unaffected 6.12.108 – ≤ 6.12.*
- unaffected 6.17.3 – ≤ 6.17.*
- unaffected 6.18 – ≤ *
References
References5
- https://git.kernel.org/stable/c/5a2fccc4b32c13ddde3676f9e15e1a9baa7d6fde (opens in a new tab)
- https://git.kernel.org/stable/c/80d1fd39f4e37d836655e9f7ffccaf78925049bf (opens in a new tab)
- https://git.kernel.org/stable/c/956c57daba55cf9ed25d9f2512883b8a1a927599 (opens in a new tab)
- https://git.kernel.org/stable/c/0736993bfe5c7a9c744ae3fac62d769dfdae54e1 (opens in a new tab)
- https://git.kernel.org/stable/c/935d783e5de9b64587f3adb25641dd8385e64ddb (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2025-124944 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2025-40139)Record last updated .