bisecting fixing commit since 01364dad1d4577e27a57729d41053f661bb8a5b9 building syzkaller on e8e6c7d21dbd86f502f66737883b1a0c3ae8eeb1 testing commit 01364dad1d4577e27a57729d41053f661bb8a5b9 with gcc (GCC) 8.1.0 kernel signature: 75ce11e5f8a1114f29400e130b30a5bfb68d6c42b669a5469030c41081bb42de all runs: crashed: kernel BUG at drivers/dma-buf/dma-buf.c:LINE! testing current HEAD a41ba30d9df20fe141c92aacbb56b6b077f19716 testing commit a41ba30d9df20fe141c92aacbb56b6b077f19716 with gcc (GCC) 8.1.0 kernel signature: 77151b8ddd6139ad3e69776a6a960d9e2b780dafb6e8581aa5b75b5bd4f68c19 all runs: crashed: kernel BUG at drivers/dma-buf/dma-buf.c:LINE! revisions tested: 2, total time: 24m17.978649344s (build: 16m17.386575069s, test: 7m19.154705682s) the crash still happens on HEAD commit msg: Linux 4.14.181 crash: kernel BUG at drivers/dma-buf/dma-buf.c:LINE! IPv6: ADDRCONF(NETDEV_UP): batadv_slave_1: link is not ready batman_adv: batadv0: Interface activated: batadv_slave_1 IPv6: ADDRCONF(NETDEV_CHANGE): batadv_slave_1: link becomes ready IPv6: ADDRCONF(NETDEV_CHANGE): veth1_to_batadv: link becomes ready ------------[ cut here ]------------ kernel BUG at drivers/dma-buf/dma-buf.c:68! invalid opcode: 0000 [#1] PREEMPT SMP KASAN Modules linked in: CPU: 0 PID: 8304 Comm: syz-executor.0 Not tainted 4.14.181-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff8880958b6240 task.stack: ffff88808ef30000 RIP: 0010:dma_buf_release+0x2e0/0x560 drivers/dma-buf/dma-buf.c:68 RSP: 0018:ffff88808ef37da0 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: ffff888094d964c0 RCX: 1ffffffff0e3f68e RDX: 1ffff110129b2cc7 RSI: ffff8880a14b4540 RDI: ffff888094d96638 RBP: ffff88808ef37dd8 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: ffff88821985c9b0 R12: ffff88821985c9b0 R13: ffff8880a14b4558 R14: ffff8880a14b4540 R15: ffff8880a14b4568 FS: 0000000001250940(0000) GS:ffff8880aec00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000b70004 CR3: 00000000a870b000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __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+0x46/0xbb RIP: 0033:0x4163e1 RSP: 002b:00007ffe784feb80 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000008 RCX: 00000000004163e1 RDX: 0000000000000000 RSI: 0000000000000081 RDI: 0000000000000007 RBP: 0000000000000000 R08: 0000000000000000 R09: 01ffffffffffffff R10: 00000000007708c0 R11: 0000000000000293 R12: 000000000076bf00 R13: 00000000007708d0 R14: 0000000000000000 R15: 000000000076bf0c Code: 0f 85 2c 02 00 00 48 8b bb c0 00 00 00 e8 e9 e9 9b fd 48 89 df e8 51 93 cd fd 31 c0 48 83 c4 10 5b 41 5c 41 5d 41 5e 41 5f 5d c3 <0f> 0b e8 e9 16 95 fd 48 8d bb 38 02 00 00 48 b8 00 00 00 00 00 RIP: dma_buf_release+0x2e0/0x560 drivers/dma-buf/dma-buf.c:68 RSP: ffff88808ef37da0 ---[ end trace b433a1b5d67e255c ]---