can: dev: can_restart: fix use after free bug (CVE-2021-47668) | HOL Guard CVE