[PATCH openEuler-1.0-LTS v2] kprobes: Fix possible use-after-free issue on kprobe registration