aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAleksandr Nogikh <nogikh@google.com>2022-05-23 15:09:16 +0000
committerDmitry Vyukov <dvyukov@google.com>2022-05-24 09:04:50 +0200
commitd9a6eb8d3cd646fec124aa17e8f44c628ab4303d (patch)
tree7fb3d4908e64a978ee32cc76b573145e547180ff
parente7f9308d43198223b192f94a7030f9ebdf92e551 (diff)
pkg/report: ignore general protection faults from the userspace
-rw-r--r--pkg/report/linux.go4
-rw-r--r--pkg/report/testdata/linux/report/6499
2 files changed, 12 insertions, 1 deletions
diff --git a/pkg/report/linux.go b/pkg/report/linux.go
index e152118fa..c67e5458f 100644
--- a/pkg/report/linux.go
+++ b/pkg/report/linux.go
@@ -1883,7 +1883,9 @@ var linuxOopses = append([]*oops{
},
},
},
- []*regexp.Regexp{},
+ []*regexp.Regexp{
+ compile(`general protection fault .* error:\d+ in `),
+ },
},
{
[]byte("stack segment: "),
diff --git a/pkg/report/testdata/linux/report/649 b/pkg/report/testdata/linux/report/649
new file mode 100644
index 000000000..f77cf7b00
--- /dev/null
+++ b/pkg/report/testdata/linux/report/649
@@ -0,0 +1,9 @@
+TITLE:
+
+Warning: Permanently added '10.128.0.132' (ECDSA) to the list of known hosts.
+syzkaller login: [ 36.852785][ T3615] traps: syz-executor229[3615] general protection fault ip:7feb96eb56a1 sp:20000fd0 error:0 in syz-executor2295634012[7feb96e75000+84000]
+[ 36.881595][ T3616] traps: syz-executor229[3616] general protection fault ip:7feb96eb56a1 sp:20000fd0 error:0 in syz-executor2295634012[7feb96e75000+84000]
+[ 36.891251][ T3617] traps: syz-executor229[3617] general protection fault ip:7feb96eb56a1 sp:20000fd0 error:0 in syz-executor2295634012[7feb96e75000+84000]
+[ 36.912532][ T3619] traps: syz-executor229[3619] general protection fault ip:7feb96eb56a1 sp:20000fd0 error:0 in syz-executor2295634012[7feb96e75000+84000]
+[ 36.927415][ T3618] traps: syz-executor229[3618] general protection fault ip:7feb96eb56a1 sp:20000fd0 error:0 in syz-executor2295634012[7feb96e75000+84000]
+[ 36.932851][ T3620] traps: syz-executor229[3620] general protection fault ip:7feb96eb56a1 sp:20000fd0 error:0 in syz-executor2295634012[7feb96e75000+84000]