CVE-2025-40064 smc: Fix use-after-free in __pnet_find_base_ndev().