[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <161666690060.1120877.4569379871114610764.stgit@devnote2>
Date: Thu, 25 Mar 2021 19:08:20 +0900
From: Masami Hiramatsu <mhiramat@...nel.org>
To: Peter Zijlstra <peterz@...radead.org>,
Ingo Molnar <mingo@...nel.org>
Cc: Thomas Gleixner <tglx@...utronix.de>,
Ingo Molnar <mingo@...hat.com>,
Andy Lutomirski <luto@...nel.org>,
Borislav Petkov <bp@...en8.de>, x86@...nel.org,
"H . Peter Anvin" <hpa@...or.com>,
Masami Hiramatsu <mhiramat@...nel.org>,
linux-kernel@...r.kernel.org, kernel-janitors@...r.kernel.org,
Colin Ian King <colin.king@...onical.com>,
dan.carpenter@...cle.com,
Muhammad Usama Anjum <musamaanjum@...il.com>
Subject: [PATCH -tip 0/2] x86/kprobes: Fix and cleanup can_boost()
Hi,
Here are 2 bugfixes for the x86/kprobes, [1/2] fixes an old bug which tries to find
instruction prefixes in insn->opcode (which should be never found) and misusing
insn->attr. [2/2] fixes a new bug found by Coverity in the recent commit 6256e668b7
("x86/kprobes: Use int3 instead of debug trap for single-step").
To fix the 2nd one, [2/2] also cleanup the switch-case with range cases, because
that is much more clear what is not boostable.
Thank you,
---
Masami Hiramatsu (2):
x86/kprobes: Fix to check non boostable prefixes correctly
x86/kprobes: Fix to identify indirect jmp and others using range case
arch/x86/kernel/kprobes/core.c | 57 +++++++++++++++++++++-------------------
1 file changed, 30 insertions(+), 27 deletions(-)
--
Masami Hiramatsu (Linaro) <mhiramat@...nel.org>
Powered by blists - more mailing lists