bisecting fixing commit since ae83d0b416db002fe95601e7f97f64b59514d936 building syzkaller on 347a5dc3c7886bfe3ce784eabc5ee30100f13e0a testing commit ae83d0b416db002fe95601e7f97f64b59514d936 with gcc (GCC) 8.1.0 kernel signature: 97d57a0da7f8ece0d9b03835f031edbe0042824a419d88a02214e1decb787acc all runs: crashed: kernel BUG at drivers/dma-buf/dma-buf.c:LINE! testing current HEAD b85051e755b0e9d6dd8f17ef1da083851b83287d testing commit b85051e755b0e9d6dd8f17ef1da083851b83287d with gcc (GCC) 8.1.0 kernel signature: e4eeba678687ca318ea2ae3d03170cabfdf58ad5c08f4e3dc2d96adbbf111f5a all runs: crashed: kernel BUG at drivers/dma-buf/dma-buf.c:LINE! revisions tested: 2, total time: 20m19.116895764s (build: 12m56.43360541s, test: 6m58.643585781s) the crash still happens on HEAD commit msg: Merge tag 'fixes-for-5.7-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux crash: kernel BUG at drivers/dma-buf/dma-buf.c:LINE! ------------[ cut here ]------------ kernel BUG at drivers/dma-buf/dma-buf.c:99! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 9352 Comm: syz-executor.2 Not tainted 5.7.0-rc6-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:dma_buf_release+0x311/0x3f0 drivers/dma-buf/dma-buf.c:99 Code: 00 0f 85 98 00 00 00 48 8b bb d0 00 00 00 e8 e6 8c 86 fd 48 89 df e8 de 8c 86 fd 31 c0 48 83 c4 08 5b 5d 41 5c 41 5d 41 5e c3 <0f> 0b e8 28 be 00 00 eb 84 0f 0b e8 7f d9 86 fd e9 64 fd ff ff e8 RSP: 0018:ffffc9000602fe10 EFLAGS: 00010202 RAX: 0000000000000000 RBX: ffff8880a1b2f000 RCX: 0000000000000000 RDX: 0000000000000004 RSI: ffff8880a8ccb7c0 RDI: ffff8880a1b2f198 RBP: ffff8880a8ccb844 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000008 R11: ffff888075d25a40 R12: ffff888075d25a40 R13: 0000000000080007 R14: ffffffff87ef34e0 R15: ffff88821bb6c7e0 FS: 0000000001ce1940(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000ca2672 CR3: 000000008ecd8000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __fput+0x2a4/0x7a0 fs/file_table.c:280 task_work_run+0xc2/0x160 kernel/task_work.c:123 tracehook_notify_resume include/linux/tracehook.h:188 [inline] exit_to_usermode_loop+0x23d/0x2d0 arch/x86/entry/common.c:165 prepare_exit_to_usermode arch/x86/entry/common.c:196 [inline] syscall_return_slowpath arch/x86/entry/common.c:279 [inline] do_syscall_64+0x52a/0x620 arch/x86/entry/common.c:305 entry_SYSCALL_64_after_hwframe+0x49/0xb3 RIP: 0033:0x416421 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:00007ffe35cc9040 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000008 RCX: 0000000000416421 RDX: 0000000000000000 RSI: 0000000000000081 RDI: 0000000000000007 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 00000000007908c0 R11: 0000000000000293 R12: 00000000007908d0 R13: 0000000000000000 R14: ffffffffffffffff R15: 000000000078bf0c Modules linked in: ---[ end trace cfe8d9eade2cc6f5 ]--- RIP: 0010:dma_buf_release+0x311/0x3f0 drivers/dma-buf/dma-buf.c:99 Code: 00 0f 85 98 00 00 00 48 8b bb d0 00 00 00 e8 e6 8c 86 fd 48 89 df e8 de 8c 86 fd 31 c0 48 83 c4 08 5b 5d 41 5c 41 5d 41 5e c3 <0f> 0b e8 28 be 00 00 eb 84 0f 0b e8 7f d9 86 fd e9 64 fd ff ff e8 RSP: 0018:ffffc9000602fe10 EFLAGS: 00010202 RAX: 0000000000000000 RBX: ffff8880a1b2f000 RCX: 0000000000000000 RDX: 0000000000000004 RSI: ffff8880a8ccb7c0 RDI: ffff8880a1b2f198 RBP: ffff8880a8ccb844 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000008 R11: ffff888075d25a40 R12: ffff888075d25a40 R13: 0000000000080007 R14: ffffffff87ef34e0 R15: ffff88821bb6c7e0 FS: 0000000001ce1940(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055d5a7905160 CR3: 000000008ecd8000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400