From 6ce17935cb99fa11aaa2f2d1889261da6b298013 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Mon, 15 Oct 2018 18:53:00 +0200 Subject: sys/linux: prohibit FAN_OPEN_PERM and FAN_ACCESS_PERM FAN_OPEN_PERM and FAN_ACCESS_PERM require the program to reply to open requests. If that does not happen, the program will hang in an unkillable state forever. See the following bug for details: https://groups.google.com/d/msg/syzkaller-bugs/pD-vbqJu6U0/kGH30p3lBgAJ --- executor/defs.h | 10 +++++----- executor/syscalls.h | 1 + 2 files changed, 6 insertions(+), 5 deletions(-) (limited to 'executor') diff --git a/executor/defs.h b/executor/defs.h index 26996a0a0..cdd8519e6 100644 --- a/executor/defs.h +++ b/executor/defs.h @@ -60,7 +60,7 @@ #if GOARCH_386 #define GOARCH "386" -#define SYZ_REVISION "642a145ebbc67e85c1215435c6b534d306e9817c" +#define SYZ_REVISION "7d1cc6599aafad3c0b0ee7e24d0ea18a1310f4f6" #define SYZ_EXECUTOR_USES_FORK_SERVER 1 #define SYZ_EXECUTOR_USES_SHMEM 1 #define SYZ_PAGE_SIZE 4096 @@ -70,7 +70,7 @@ #if GOARCH_amd64 #define GOARCH "amd64" -#define SYZ_REVISION "4bf7088eb1e77eb4525156890f346c4c426308df" +#define SYZ_REVISION "ef47a3e33a5764e82cb1ccb694fd34a5311053b4" #define SYZ_EXECUTOR_USES_FORK_SERVER 1 #define SYZ_EXECUTOR_USES_SHMEM 1 #define SYZ_PAGE_SIZE 4096 @@ -80,7 +80,7 @@ #if GOARCH_arm #define GOARCH "arm" -#define SYZ_REVISION "87d9b5b947c05cd6232361b1c5ed052568f6d8ed" +#define SYZ_REVISION "15223c241125b3b97cca255736128daf2364eb5f" #define SYZ_EXECUTOR_USES_FORK_SERVER 1 #define SYZ_EXECUTOR_USES_SHMEM 1 #define SYZ_PAGE_SIZE 4096 @@ -90,7 +90,7 @@ #if GOARCH_arm64 #define GOARCH "arm64" -#define SYZ_REVISION "4c268588881cd3c4d4195b7ec7fb71c90732ef6c" +#define SYZ_REVISION "788811e4e0b7f2906517c1b548e5d719bb4eb681" #define SYZ_EXECUTOR_USES_FORK_SERVER 1 #define SYZ_EXECUTOR_USES_SHMEM 1 #define SYZ_PAGE_SIZE 4096 @@ -100,7 +100,7 @@ #if GOARCH_ppc64le #define GOARCH "ppc64le" -#define SYZ_REVISION "cdf0eb7c11ca182ba6df6598c596f4da9c7a489c" +#define SYZ_REVISION "3fa983482ac8a3d065ca2cd99d5fd18b973d0b9f" #define SYZ_EXECUTOR_USES_FORK_SERVER 1 #define SYZ_EXECUTOR_USES_SHMEM 1 #define SYZ_PAGE_SIZE 4096 diff --git a/executor/syscalls.h b/executor/syscalls.h index cda0b0ab2..a949540bc 100644 --- a/executor/syscalls.h +++ b/executor/syscalls.h @@ -6200,6 +6200,7 @@ const call_t syscalls[] = { {"io_cancel", 247}, {"io_destroy", 244}, {"io_getevents", 245}, + {"io_pgetevents", 399}, {"io_setup", 243}, {"io_submit", 246}, {"ioctl", 54}, -- cgit mrf-deployment