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