[PATCH 5.10 034/138] kprobes: Fix possible use-after-free issue on kprobe registration