------------[ cut here ]------------ kernel BUG at drivers/dma-buf/dma-buf.c:99! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 7256 Comm: syz-executor.0 Not tainted 5.7.0-rc2-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:dma_buf_release+0x36b/0x440 drivers/dma-buf/dma-buf.c:99 Code: d0 00 00 00 45 31 e4 e8 b3 83 3c fd 48 89 ef e8 ab 83 3c fd e8 c6 09 ff fc 44 89 e0 5b 5d 41 5c 41 5d 41 5e c3 e8 b5 09 ff fc <0f> 0b e8 ae 09 ff fc 4c 89 e7 e8 f6 e2 00 00 e9 6a ff ff ff e8 9c RSP: 0018:ffffc90001f37e18 EFLAGS: 00010293 RAX: ffff88809888a500 RBX: 0000000000000004 RCX: ffffffff84742276 RDX: 0000000000000000 RSI: ffffffff847424fb RDI: 0000000000000005 RBP: ffff88809a717800 R08: ffff88809888a500 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: ffff8880a79f9d44 R13: ffff8880a79f9ce8 R14: ffff8880846e8040 R15: ffffffff84742190 FS: 0000000001650940(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fc6e7162710 CR3: 000000008afb1000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __fput+0x33e/0x880 fs/file_table.c:280 task_work_run+0xf4/0x1b0 kernel/task_work.c:123 tracehook_notify_resume include/linux/tracehook.h:188 [inline] exit_to_usermode_loop+0x2fa/0x360 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+0x6b1/0x7d0 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:00007ffc0c326bb0 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 24b406054282723d ]--- RIP: 0010:dma_buf_release+0x36b/0x440 drivers/dma-buf/dma-buf.c:99 Code: d0 00 00 00 45 31 e4 e8 b3 83 3c fd 48 89 ef e8 ab 83 3c fd e8 c6 09 ff fc 44 89 e0 5b 5d 41 5c 41 5d 41 5e c3 e8 b5 09 ff fc <0f> 0b e8 ae 09 ff fc 4c 89 e7 e8 f6 e2 00 00 e9 6a ff ff ff e8 9c RSP: 0018:ffffc90001f37e18 EFLAGS: 00010293 RAX: ffff88809888a500 RBX: 0000000000000004 RCX: ffffffff84742276 RDX: 0000000000000000 RSI: ffffffff847424fb RDI: 0000000000000005 RBP: ffff88809a717800 R08: ffff88809888a500 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: ffff8880a79f9d44 R13: ffff8880a79f9ce8 R14: ffff8880846e8040 R15: ffffffff84742190 FS: 0000000001650940(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f8af5489000 CR3: 000000008afb1000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400