From e58c419b6b84dece123a22f9a6b6824e54e83c3d Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Mon, 3 Jan 2022 20:42:20 +0100 Subject: pkg/report: repair parsing of KMSAN kernel-usb-infoleak --- pkg/report/linux.go | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'pkg/report/linux.go') diff --git a/pkg/report/linux.go b/pkg/report/linux.go index 7ae8a59ce..5ea3e9619 100644 --- a/pkg/report/linux.go +++ b/pkg/report/linux.go @@ -1257,11 +1257,16 @@ var linuxOopses = append([]*oops{ fmt: "KMSAN: kernel-usb-infoleak in %[2]v", stack: &stackFmt{ parts: []*regexp.Regexp{ + parseStackTrace, + }, + parts2: []*regexp.Regexp{ + // For backwards compatibility - KMSAN used to include the Call Trace line. linuxCallTrace, parseStackTrace, }, skip: []string{"usb_submit_urb", "usb_start_wait_urb", "usb_bulk_msg", "usb_interrupt_msg", "usb_control_msg"}, }, + noStackTrace: true, }, { title: compile("BUG: KMSAN:"), -- cgit mrf-deployment