CVE-2025-40139
CVE.org · Published
- Record status
- Published
- Identifier year (not publication year)
- 2025
- Source publication
- Source updated
- Imported by cveboard
- Source snapshot
- cve_2026-10-24_midnight_baseline ·
CNA source text (English)
smc: Use __sk_dst_get() and dst_dev_rcu() in in smc_clc_prfx_set().
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.
Scoped product and version facts
Fix information unknown; no fixed version is derived here. Missing information does not prove that no fix exists.
Exploitation unknown; this catalogue does not assess exploitation.
Linux
- Vendor
- Linux
- Product
- Linux
- Platforms
- Unknown
- Default status
unaffected
| Version (version) | Status (status) | Version scheme (versionType) | Exclusive end (lessThan) | Inclusive end (lessThanOrEqual) | Status changes (at → status) |
|---|---|---|---|---|---|
| a046d57da19f812216f393e7c535f5858f793ac3 | affected | git | 5a2fccc4b32c13ddde3676f9e15e1a9baa7d6fde | Unavailable | None listed |
| a046d57da19f812216f393e7c535f5858f793ac3 | affected | git | 80d1fd39f4e37d836655e9f7ffccaf78925049bf | Unavailable | None listed |
| a046d57da19f812216f393e7c535f5858f793ac3 | affected | git | 956c57daba55cf9ed25d9f2512883b8a1a927599 | Unavailable | None listed |
| a046d57da19f812216f393e7c535f5858f793ac3 | affected | git | 0736993bfe5c7a9c744ae3fac62d769dfdae54e1 | Unavailable | None listed |
| a046d57da19f812216f393e7c535f5858f793ac3 | affected | git | 935d783e5de9b64587f3adb25641dd8385e64ddb | Unavailable | None listed |
Linux
- Vendor
- Linux
- Product
- Linux
- Platforms
- Unknown
- Default status
affected
| Version (version) | Status (status) | Version scheme (versionType) | Exclusive end (lessThan) | Inclusive end (lessThanOrEqual) | Status changes (at → status) |
|---|---|---|---|---|---|
| 4.11 | affected | Unavailable | Unavailable | Unavailable | None listed |
| 0 | unaffected | semver | 4.11 | Unavailable | None listed |
| 6.1.187 | unaffected | semver | Unavailable | 6.1.* | None listed |
| 6.6.156 | unaffected | semver | Unavailable | 6.6.* | None listed |
| 6.12.108 | unaffected | semver | Unavailable | 6.12.* | None listed |
| 6.17.3 | unaffected | semver | Unavailable | 6.17.* | None listed |
| 6.18 | unaffected | original_commit_for_fix | Unavailable | * | None listed |