aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/report/linux.go
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2018-07-12 12:38:52 +0200
committerDmitry Vyukov <dvyukov@google.com>2018-07-12 12:38:52 +0200
commit3986ce95fde3d4b5bccef19b537da090021046fc (patch)
tree942ad9281a606ba3e8815899280574b398c7b5da /pkg/report/linux.go
parent38558199915a6c6a799a1a2b679ac077d194afec (diff)
pkg/report: add report format for "lock held when returning to user space"
This report does not have stack trace, so we always detected it as corrupted.
Diffstat (limited to 'pkg/report/linux.go')
-rw-r--r--pkg/report/linux.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/pkg/report/linux.go b/pkg/report/linux.go
index f29235b69..c8e8dc523 100644
--- a/pkg/report/linux.go
+++ b/pkg/report/linux.go
@@ -819,6 +819,13 @@ var linuxOopses = []*oops{
fmt: "WARNING: locking bug in %[1]v",
stack: warningStackFmt(),
},
+
+ {
+ title: compile("WARNING: lock held when returning to user space"),
+ report: compile("WARNING: lock held when returning to user space(?:.*\\n)+?.*leaving the kernel with locks still held(?:.*\\n)+?.*at: (?:{{PC}} +)?{{FUNC}}"),
+ fmt: "WARNING: lock held when returning to user space in %[1]v",
+ noStackTrace: true,
+ },
{
title: compile("WARNING: .*mm/.*\\.c.* k?.?malloc"),
fmt: "WARNING: kmalloc bug in %[1]v",