From 25e10a043498087f9427f0698b341d051c310fc4 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Thu, 31 Jan 2019 10:57:46 +0100 Subject: executor: remove ability to detect kernel bugs This ability was never used but we maintain a bunch of code for it. syzkaller also recently learned to spoof this error code with some ptrace magic (probably intercepted control flow again and exploited executor binary). Drop all of it. --- pkg/report/linux.go | 5 ----- pkg/report/testdata/linux/report/128 | 3 --- 2 files changed, 8 deletions(-) delete mode 100644 pkg/report/testdata/linux/report/128 (limited to 'pkg/report') diff --git a/pkg/report/linux.go b/pkg/report/linux.go index c35f689bf..fcf75d488 100644 --- a/pkg/report/linux.go +++ b/pkg/report/linux.go @@ -943,11 +943,6 @@ var linuxOopses = []*oops{ fmt: "BUG: workqueue leaked lock or atomic in %[1]v", noStackTrace: true, }, - { - title: compile("BUG: executor-detected bug"), - fmt: "BUG: executor-detected bug", - noStackTrace: true, - }, { title: compile("BUG: memory leak"), fmt: MemoryLeakPrefix + "%[1]v", diff --git a/pkg/report/testdata/linux/report/128 b/pkg/report/testdata/linux/report/128 deleted file mode 100644 index bc9f2c9b6..000000000 --- a/pkg/report/testdata/linux/report/128 +++ /dev/null @@ -1,3 +0,0 @@ -TITLE: BUG: executor-detected bug - -BUG: executor-detected bug \ No newline at end of file -- cgit mrf-deployment