Skip to contentSkip to conversation

Patch "kasan: do not sanitize kexec purgatory" has been added to the 4.9-stable tree

PATCH [email protected] 1 participant 1 message Oct 5, 2017

Subsystems (2)
lore
Share & tools
lore

[email protected]

author maintainer Applied
#0 lore raw

This is a note to let you know that I've just added the patch titled

kasan: do not sanitize kexec purgatory

to the 4.9-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
kasan-do-not-sanitize-kexec-purgatory.patch
and it can be found in the queue-4.9 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.

Quoted 1 line

From foo@baz Thu Oct 5 10:28:31 CEST 2017

From: Mike Galbraith <[email protected]>
Date: Fri, 31 Mar 2017 15:12:12 -0700
Subject: kasan: do not sanitize kexec purgatory

From: Mike Galbraith <[email protected]>

[ Upstream commit 13a6798e4a03096b11bf402a063786a7be55d426 ]

Fixes this:

kexec: Undefined symbol: __asan_load8_noabort
kexec-bzImage64: Loading purgatory failed

---
 arch/x86/purgatory/Makefile |    1 +
 1 file changed, 1 insertion(+)
arch/x86/purgatory/Makefile +1 -0
@@ -8,6 +8,7 @@ PURGATORY_OBJS = $(addprefix $(obj)/,$(p
 LDFLAGS_purgatory.ro := -e purgatory_start -r --no-undefined -nostdlib -z nodefaultlib
 targets += purgatory.ro
 
+KASAN_SANITIZE	:= n
 KCOV_INSTRUMENT := n
 
 # Default KBUILD_CFLAGS can have -pg option set when FTRACE is enabled. That

Patches currently in stable-queue which might be from [email protected] are

queue-4.9/kasan-do-not-sanitize-kexec-purgatory.patch