aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/report/linux.go
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2023-03-13 10:26:17 +0100
committerDmitry Vyukov <dvyukov@google.com>2023-03-13 12:43:29 +0100
commit026e22005acd3e0c1093dee4eb9a577d6b847197 (patch)
treee48a2928ffd5a201b75d11fb374d2ffde46220ae /pkg/report/linux.go
parentc72cff6c5e280ee7bfbdb8772bce6a1953ef81fa (diff)
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
Diffstat (limited to 'pkg/report/linux.go')
-rw-r--r--pkg/report/linux.go7
1 files changed, 6 insertions, 1 deletions
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"),