mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [GIT PULL] probes: Fixes for v6.7
@ 2024-01-04 15:18 Masami Hiramatsu
  2024-01-05 18:10 ` pr-tracker-bot
  0 siblings, 1 reply; 2+ messages in thread
From: Masami Hiramatsu @ 2024-01-04 15:18 UTC (permalink / raw)
  To: Linus Torvalds
  Cc: Jinghao Jia, Steven Rostedt, Masami Hiramatsu, linux-kernel

Hi Linus,

Probes fixes for 6.7-rc8:

- Kprobes/x86: Fix to emulate indirect call which size is not 5 byte.
   Current code expects the indirect call instructions are 5 bytes, but
   that is incorrect. Usually indirect call based on register is shorter
   than that, thus the emulation causes a kernel crash by accessing
   wrong instruction boundary. This uses the instruction size to
   calculate the return address correctly.


Please pull the latest probes-fixes-v6.7-rc8 tree, which can be found at:


  git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace.git
probes-fixes-v6.7-rc8

Tag SHA1: 71ce71c6c329bd3f2ba52bb0a7373f23d8da8f59
Head SHA1: f5d03da48d062966c94f0199d20be0b3a37a7982


Jinghao Jia (1):
      x86/kprobes: fix incorrect return address calculation in kprobe_emulate_call_indirect

----
 arch/x86/kernel/kprobes/core.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

-- 
Masami Hiramatsu (Google) <mhiramat@kernel.org>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-01-05 18:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-04 15:18 [GIT PULL] probes: Fixes for v6.7 Masami Hiramatsu
2024-01-05 18:10 ` pr-tracker-bot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®