bisecting fixing commit since 01364dad1d4577e27a57729d41053f661bb8a5b9 building syzkaller on e8e6c7d21dbd86f502f66737883b1a0c3ae8eeb1 testing commit 01364dad1d4577e27a57729d41053f661bb8a5b9 with gcc (GCC) 8.1.0 kernel signature: bc73aaa4bbbcadf7b97813608c06b0ad7e1eeb2ffa18a952ad94d1678ea168eb all runs: crashed: kernel BUG at drivers/dma-buf/dma-buf.c:LINE! testing current HEAD 050272a0423e68207fd2367831ae610680129062 testing commit 050272a0423e68207fd2367831ae610680129062 with gcc (GCC) 8.1.0 kernel signature: 9b2ef1d2be90dab17d578934984c810ab7969cf7fedd2f0e3f6d5ca438de7e60 all runs: crashed: kernel BUG at drivers/dma-buf/dma-buf.c:LINE! revisions tested: 2, total time: 24m52.23985478s (build: 17m43.577385242s, test: 6m17.478045623s) the crash still happens on HEAD commit msg: Linux 4.14.177 crash: kernel BUG at drivers/dma-buf/dma-buf.c:LINE! 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: 9412 Comm: syz-executor.5 Not tainted 4.14.177-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff888077ca2140 task.stack: ffff888077ca8000 RIP: 0010:dma_buf_release+0x2e0/0x560 drivers/dma-buf/dma-buf.c:68 RSP: 0018:ffff888077cafda0 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: ffff8880a0946900 RCX: 1ffffffff0e3f586 RDX: 1ffff11014128d4f RSI: ffff8880a8698540 RDI: ffff8880a0946a78 RBP: ffff888077cafdd8 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: ffff88821985a970 R12: ffff88821985a970 R13: ffff8880a8698558 R14: ffff8880a8698540 R15: ffff8880a8698568 FS: 0000000002516940(0000) GS:ffff8880aec00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000000076c000 CR3: 00000000a12d4000 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+0x42/0xb7 RIP: 0033:0x4163e1 RSP: 002b:00007ffccfc74980 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 73 9c fd 48 89 df e8 11 18 ce fd 31 c0 48 83 c4 10 5b 41 5c 41 5d 41 5e 41 5f 5d c3 <0f> 0b e8 e9 a0 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: ffff888077cafda0 ---[ end trace 36f7677604406a49 ]---