[GIT PULL] x86/urgent for v6.2-rc2

From: Borislav Petkov
Date: Sun Jan 01 2023 - 10:07:34 EST


Hi Linus,

pls pull a couple of urgent x86 fixes for 6.2.

Thx.

---

The following changes since commit 1b929c02afd37871d5afb9d498426f83432e71c2:

Linux 6.2-rc1 (2022-12-25 13:41:39 -0800)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git tags/x86_urgent_for_v6.2_rc2

for you to fetch changes up to 63dc6325ff41ee9e570bde705ac34a39c5dbeb44:

x86/kprobes: Fix optprobe optimization check with CONFIG_RETHUNK (2022-12-27 12:51:58 +0100)

----------------------------------------------------------------
- Two fixes to correct how kprobes handles INT3 now that they're added by other
functionality like the rethunks and not only kgdb

- Remove __init section markings of two functions which are referenced by a
function in the .text section

----------------------------------------------------------------
Arnd Bergmann (1):
x86/calldepth: Fix incorrect init section references

Masami Hiramatsu (Google) (2):
x86/kprobes: Fix kprobes instruction boudary check with CONFIG_RETHUNK
x86/kprobes: Fix optprobe optimization check with CONFIG_RETHUNK

arch/x86/kernel/callthunks.c | 4 ++--
arch/x86/kernel/kprobes/core.c | 10 +++++++---
arch/x86/kernel/kprobes/opt.c | 28 ++++++++--------------------
3 files changed, 17 insertions(+), 25 deletions(-)

--
Regards/Gruss,
Boris.

https://people.kernel.org/tglx/notes-about-netiquette