bisecting fixing commit since 54b4fa6d39551639cb10664f6ac78b01993a1d7e building syzkaller on c8d1cc20df5ca5d9ea437054720fa3cfdfa1f578 testing commit 54b4fa6d39551639cb10664f6ac78b01993a1d7e with gcc (GCC) 8.1.0 kernel signature: 21886aa5f0a8ed9dc007f5b0a1dc04bdcdbb1a28a0050d83a42a1ea3866e3b9a all runs: crashed: kernel BUG at drivers/dma-buf/dma-buf.c:LINE! testing current HEAD ad326970d25cc85128cd22d62398751ad072efff testing commit ad326970d25cc85128cd22d62398751ad072efff with gcc (GCC) 8.1.0 kernel signature: 5a675b833afa2d17d242b2c46ee4c2e95c4a64ba426287ba53173cea7626655e all runs: crashed: kernel BUG at drivers/dma-buf/dma-buf.c:LINE! revisions tested: 2, total time: 24m0.20294826s (build: 17m20.961360603s, test: 6m2.464859514s) the crash still happens on HEAD commit msg: Linux 4.19.152 crash: kernel BUG at drivers/dma-buf/dma-buf.c:LINE! IPv6: ADDRCONF(NETDEV_CHANGE): batadv_slave_0: link becomes ready IPv6: ADDRCONF(NETDEV_CHANGE): veth0_to_batadv: link becomes ready 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 CPU: 1 PID: 8137 Comm: syz-executor.4 Not tainted 4.19.152-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:dma_buf_release+0x2ec/0x570 drivers/dma-buf/dma-buf.c:68 Code: 85 36 02 00 00 48 8b bb c0 00 00 00 e8 ad 66 6f fd 48 89 df e8 15 bd a8 fd 31 c0 48 83 c4 10 5b 41 5c 41 5d 41 5e 41 5f 5d c3 <0f> 0b e8 5d 50 67 fd 48 8d bb 38 02 00 00 48 b8 00 00 00 00 00 fc RSP: 0018:ffff88809cacfdd0 EFLAGS: 00010202 RAX: 0000000000000000 RBX: ffff8880b39d7b00 RCX: 0000000000000004 RDX: 1ffff1101673af8f RSI: 0000000000000000 RDI: ffff8880b39d7c78 RBP: ffff88809cacfe08 R08: 0000000000000000 R09: 0000000000000000 R10: ffff88809cacfe18 R11: ffff8880b2a10100 R12: ffff88809eb31d3c R13: ffff8880b2a10100 R14: ffffffff87844e80 R15: ffff88823b29aa20 FS: 0000000001eb1940(0000) GS:ffff8880ba700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000b70004 CR3: 00000000a0ced000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __fput+0x249/0x7f0 fs/file_table.c:278 ____fput+0x9/0x10 fs/file_table.c:309 task_work_run+0x108/0x180 kernel/task_work.c:113 tracehook_notify_resume include/linux/tracehook.h:193 [inline] exit_to_usermode_loop+0x1a9/0x200 arch/x86/entry/common.c:167 prepare_exit_to_usermode arch/x86/entry/common.c:198 [inline] syscall_return_slowpath arch/x86/entry/common.c:271 [inline] do_syscall_64+0x413/0x4e0 arch/x86/entry/common.c:296 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x4163e1 Code: 75 14 b8 03 00 00 00 0f 05 48 3d 01 f0 ff ff 0f 83 04 1b 00 00 c3 48 83 ec 08 e8 0a fc ff ff 48 89 04 24 b8 03 00 00 00 0f 05 <48> 8b 3c 24 48 89 c2 e8 53 fc ff ff 48 89 d0 48 83 c4 08 48 3d 01 RSP: 002b:00007ffe8fd5d300 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 Modules linked in: ---[ end trace cb072ecb6999829e ]--- RIP: 0010:dma_buf_release+0x2ec/0x570 drivers/dma-buf/dma-buf.c:68 Code: 85 36 02 00 00 48 8b bb c0 00 00 00 e8 ad 66 6f fd 48 89 df e8 15 bd a8 fd 31 c0 48 83 c4 10 5b 41 5c 41 5d 41 5e 41 5f 5d c3 <0f> 0b e8 5d 50 67 fd 48 8d bb 38 02 00 00 48 b8 00 00 00 00 00 fc RSP: 0018:ffff88809cacfdd0 EFLAGS: 00010202 RAX: 0000000000000000 RBX: ffff8880b39d7b00 RCX: 0000000000000004 RDX: 1ffff1101673af8f RSI: 0000000000000000 RDI: ffff8880b39d7c78 RBP: ffff88809cacfe08 R08: 0000000000000000 R09: 0000000000000000 R10: ffff88809cacfe18 R11: ffff8880b2a10100 R12: ffff88809eb31d3c R13: ffff8880b2a10100 R14: ffffffff87844e80 R15: ffff88823b29aa20 FS: 0000000001eb1940(0000) GS:ffff8880ba700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f7a6fca9000 CR3: 00000000a0ced000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400