Files
linux/kernel
Josh Poimboeuf 72c774aa9d objtool, panic: Disable SMAP in __stack_chk_fail()
__stack_chk_fail() can be called from uaccess-enabled code.  Make sure
uaccess gets disabled before calling panic().

Fixes the following warning:

  kernel/trace/trace_branch.o: error: objtool: ftrace_likely_update+0x1ea: call to __stack_chk_fail() with UACCESS enabled

Signed-off-by: Josh Poimboeuf <jpoimboe@kernel.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Cc: Kees Cook <keescook@chromium.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Link: https://lore.kernel.org/r/a3e97e0119e1b04c725a8aa05f7bc83d98e657eb.1742852847.git.jpoimboe@kernel.org
2025-03-25 23:00:15 +01:00
..
2025-01-25 08:22:26 +00:00
2025-03-17 11:23:38 +01:00
2025-02-26 12:10:48 +01:00
2025-02-10 16:56:58 -08:00
2024-11-03 01:28:06 -05:00
2024-09-27 08:18:43 -07:00
2024-11-03 01:28:06 -05:00
2025-02-12 12:12:27 +01:00