aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/report/linux.go
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2020-08-11 08:33:51 +0200
committerDmitry Vyukov <dvyukov@google.com>2020-08-11 09:58:05 +0200
commitbacaf5fa2c2671b5763d7464cd9824ab68a70758 (patch)
tree28d918b43c272c878809b84be5eff5b1e4b24ecf /pkg/report/linux.go
parentd3694ffbb14fdf3e4df43e2ee081898749151d6c (diff)
pkg/report: fix parsing of kernel-usb-infoleak
It used to use warningStackFmt, it is wrong, this is not a WARNING. As the result it previously parsed as: KMSAN: kernel-usb-infoleak in __kmalloc
Diffstat (limited to 'pkg/report/linux.go')
-rw-r--r--pkg/report/linux.go8
1 files changed, 7 insertions, 1 deletions
diff --git a/pkg/report/linux.go b/pkg/report/linux.go
index 85b62a89b..526ce6bca 100644
--- a/pkg/report/linux.go
+++ b/pkg/report/linux.go
@@ -952,7 +952,13 @@ var linuxOopses = append([]*oops{
title: compile("BUG: KMSAN: kernel-usb-infoleak"),
report: compile("BUG: KMSAN: kernel-usb-infoleak in {{FUNC}}"),
fmt: "KMSAN: kernel-usb-infoleak in %[2]v",
- stack: warningStackFmt("usb_submit_urb", "usb_start_wait_urb", "usb_bulk_msg", "usb_interrupt_msg", "usb_control_msg"),
+ stack: &stackFmt{
+ parts: []*regexp.Regexp{
+ compile("Call Trace:"),
+ parseStackTrace,
+ },
+ skip: []string{"usb_submit_urb", "usb_start_wait_urb", "usb_bulk_msg", "usb_interrupt_msg", "usb_control_msg"},
+ },
},
{
title: compile("BUG: KMSAN:"),