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 dstdevrcu().
Note that the returned value of smcclcprfx_match() is not used in the caller.