In the Linux kernel, the following vulnerability has been resolved:
smc: Use _skdstget() and dstdevrcu() in smcclcprfxmatch().
smcclcprfxmatch() is called from smclisten_work() and not under RCU nor RTNL.
Using skdstget(sk)->dev could trigger UAF.
Let's use _skdstget() and dstdev_rcu().
Note that the returned value of smcclcprfx_match() is not used in the caller.
{
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/40xxx/CVE-2025-40168.json",
"cna_assigner": "Linux"
}