From 026e22005acd3e0c1093dee4eb9a577d6b847197 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Mon, 13 Mar 2023 10:26:17 +0100 Subject: pkg/report: fix false positive reboot reports For context see: https://lore.kernel.org/all/CACT4Y+ZMXN=smH-0FN4Ui0zm6P-c=eEwG6fNJ9deTnc0M099UQ@mail.gmail.com/T/#t --- pkg/report/linux.go | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'pkg/report/linux.go') diff --git a/pkg/report/linux.go b/pkg/report/linux.go index e2b5ffabf..9dba87c9e 100644 --- a/pkg/report/linux.go +++ b/pkg/report/linux.go @@ -2230,7 +2230,12 @@ var linuxOopses = append([]*oops{ noStackTrace: true, }, }, - []*regexp.Regexp{}, + []*regexp.Regexp{ + // These may appear on the same line when the fuzzer reads from the console the existing + // boot message and then pass it as mount option, kernel then prints it back + // as an invalid mount option and we detect false reboot. + compile("Parsing ELF|Decompressing Linux"), + }, }, { []byte("unregister_netdevice: waiting for"), -- cgit mrf-deployment