csky/kprobe: reclaim insn_slot on kprobe unregistration
[ Upstream commit a2310c74 ] On kprobe registration kernel allocate one insn_slot for new kprobe, but it forget to reclaim the insn_slot on unregistration, leading to a potential leakage. Reported-by:Chen Guokai <chenguokai17@mails.ucas.ac.cn> Reviewed-by:
Masami Hiramatsu (Google) <mhiramat@kernel.org> Signed-off-by:
Liao Chang <liaochang1@huawei.com> Signed-off-by:
Guo Ren <guoren@kernel.org> Signed-off-by:
Sasha Levin <sashal@kernel.org>
Loading
Please register or sign in to comment