aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/report/linux.go
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2023-01-19 17:38:43 +0100
committerDmitry Vyukov <dvyukov@google.com>2023-01-20 10:38:46 +0100
commitb986d195b8a71d1f3cf3c13e47367fb369d0bfc3 (patch)
tree9ab9cd0bf44fdfeb7abdc8054fe4da55e803f81a /pkg/report/linux.go
parent34bb5f72f3214035520348815ab63e15848ea8d5 (diff)
pkg/report: detect custom VFS errors
Fixes #3621
Diffstat (limited to 'pkg/report/linux.go')
-rw-r--r--pkg/report/linux.go24
1 files changed, 24 insertions, 0 deletions
diff --git a/pkg/report/linux.go b/pkg/report/linux.go
index 0cca28424..c3345edde 100644
--- a/pkg/report/linux.go
+++ b/pkg/report/linux.go
@@ -2243,6 +2243,30 @@ var linuxOopses = append([]*oops{
[]*regexp.Regexp{},
},
{
+ // Custom vfs error printed by older versions of the kernel, see #3621.
+ []byte("VFS: Close: file count is 0"),
+ []oopsFormat{
+ {
+ title: compile("VFS: Close: file count is 0"),
+ fmt: "VFS: Close: file count is zero (use-after-free)",
+ noStackTrace: true,
+ },
+ },
+ []*regexp.Regexp{},
+ },
+ {
+ // Custom vfs error printed by older versions of the kernel, see #3621.
+ []byte("VFS: Busy inodes after unmount"),
+ []oopsFormat{
+ {
+ title: compile("VFS: Busy inodes after unmount"),
+ fmt: "VFS: Busy inodes after unmount (use-after-free)",
+ noStackTrace: true,
+ },
+ },
+ []*regexp.Regexp{},
+ },
+ {
[]byte("Internal error:"),
[]oopsFormat{
{