bisecting fixing commit since e6a95d8851f1e993269b2172595107061f9371ae building syzkaller on 0159583c3bcfe4ece6b839712327cd955aabee66 testing commit e6a95d8851f1e993269b2172595107061f9371ae with gcc (GCC) 8.1.0 kernel signature: d6a7f46adce156ba5d8da1f6c1dd165c1f923c04d909abe8d03c8049e09de0d0 all runs: crashed: general protection fault in vb2_vmalloc_put testing current HEAD 01364dad1d4577e27a57729d41053f661bb8a5b9 testing commit 01364dad1d4577e27a57729d41053f661bb8a5b9 with gcc (GCC) 8.1.0 kernel signature: 40df8a84e9e28c98dcb2970f041f378c1934bd1fb938a7e2aa253974d582eb0e all runs: crashed: general protection fault in vb2_vmalloc_put revisions tested: 2, total time: 25m17.438219349s (build: 17m36.546081466s, test: 6m27.244674669s) the crash still happens on HEAD commit msg: Linux 4.14.174 crash: general protection fault in vb2_vmalloc_put 8021q: adding VLAN 0 to HW filter on device bond0 IPv6: ADDRCONF(NETDEV_UP): team0: link is not ready kasan: CONFIG_KASAN_INLINE enabled kasan: GPF could be caused by NULL-ptr deref or user memory access 8021q: adding VLAN 0 to HW filter on device team0 general protection fault: 0000 [#1] PREEMPT SMP KASAN IPv6: ADDRCONF(NETDEV_UP): veth0: link is not ready Modules linked in: CPU: 1 PID: 6828 Comm: syz-executor.1 Not tainted 4.14.174-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 IPv6: ADDRCONF(NETDEV_UP): veth1: link is not ready task: ffff88808adf2340 task.stack: ffff8880764b8000 RIP: 0010:__read_once_size include/linux/compiler.h:183 [inline] RIP: 0010:atomic_read arch/x86/include/asm/atomic.h:27 [inline] RIP: 0010:refcount_sub_and_test+0x1c/0x90 lib/refcount.c:179 RSP: 0018:ffff8880764bfbd0 EFLAGS: 00010282 RAX: dffffc0000000000 RBX: 0000000000000001 RCX: 1ffff110115be581 RDX: 0000000000000004 RSI: 0000000000000020 RDI: 0000000000000001 RBP: ffff8880764bfbe0 R08: ffff88808adf2c08 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: ffff8880a837fa00 R13: dffffc0000000000 R14: ffff8880a837fa14 R15: 0000000000000000 FS: 000000000167a940(0000) GS:ffff8880aef00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000000075c081 CR3: 00000000a5f20000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: refcount_dec_and_test+0x11/0x20 lib/refcount.c:212 vb2_vmalloc_put+0x11/0x50 drivers/media/v4l2-core/videobuf2-vmalloc.c:68 __vb2_buf_mem_free+0xf0/0x1c0 drivers/media/v4l2-core/videobuf2-core.c:240 __vb2_free_mem drivers/media/v4l2-core/videobuf2-core.c:409 [inline] __vb2_queue_free+0x57a/0x770 drivers/media/v4l2-core/videobuf2-core.c:454 vb2_core_queue_release+0x57/0x70 drivers/media/v4l2-core/videobuf2-core.c:2043 vb2_queue_release drivers/media/v4l2-core/videobuf2-v4l2.c:669 [inline] _vb2_fop_release+0x1ac/0x280 drivers/media/v4l2-core/videobuf2-v4l2.c:840 vb2_fop_release+0x66/0xd0 drivers/media/v4l2-core/videobuf2-v4l2.c:854 vivid_fop_release+0x15f/0x3a0 drivers/media/platform/vivid/vivid-core.c:486 v4l2_release+0xeb/0x1a0 drivers/media/v4l2-core/v4l2-dev.c:446 __fput+0x232/0x750 fs/file_table.c:210 ____fput+0x9/0x10 fs/file_table.c:244 task_work_run+0xe5/0x170 kernel/task_work.c:113 tracehook_notify_resume include/linux/tracehook.h:191 [inline] exit_to_usermode_loop+0x16a/0x1b0 arch/x86/entry/common.c:164 prepare_exit_to_usermode arch/x86/entry/common.c:199 [inline] syscall_return_slowpath arch/x86/entry/common.c:270 [inline] do_syscall_64+0x416/0x5b0 arch/x86/entry/common.c:297 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x412f61 RSP: 002b:00007ffe8c26d9f0 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000004 RCX: 0000000000412f61 RDX: 0000001b2bf20000 RSI: 0000000000000000 RDI: 0000000000000003 RBP: 0000000000000001 R08: ffffffffffffffff R09: ffffffffffffffff R10: 00007ffe8c26dad0 R11: 0000000000000293 R12: 0000000000760ef8 R13: 000000000000d9d8 R14: 000000000000da05 R15: 000000000075bf2c Code: 36 78 6e 05 00 0f 84 42 02 00 00 5d c3 66 90 48 b8 00 00 00 00 00 fc ff df 55 48 89 f2 48 89 e5 48 c1 ea 03 53 89 fb 48 83 ec 08 <0f> b6 14 02 48 89 f0 83 e0 07 83 c0 03 38 d0 7c 04 84 d2 75 3a RIP: __read_once_size include/linux/compiler.h:183 [inline] RSP: ffff8880764bfbd0 RIP: atomic_read arch/x86/include/asm/atomic.h:27 [inline] RSP: ffff8880764bfbd0 RIP: refcount_sub_and_test+0x1c/0x90 lib/refcount.c:179 RSP: ffff8880764bfbd0 ---[ end trace b40ece6dc1437168 ]---