In the Linux kernel, the following vulnerability has been resolved: smc: Use _skdstget() and dstdevrcu() in in smcclcprfxset(). smcclcprfxset() is called during connect() and not under RCU nor RTNL. Using skdstget(sk)->dev could trigger UAF. Let's use _skdstget() and devdstrcu() under rcureadlock() after kernelgetsockname(). Note that the returned value of smcclcprfxset() is not used in the caller. While at it, we change the 1st arg of smcclcprfxset[46]rcu() not to touch dst there.