------------[ cut here ]------------ kernel BUG at drivers/dma-buf/dma-buf.c:99! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 7302 Comm: syz-executor.0 Not tainted 5.6.0-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: c0 00 00 00 45 31 e4 e8 33 1e 4b fd 48 89 ef e8 2b 1e 4b fd e8 76 a8 0e fd 44 89 e0 5b 5d 41 5c 41 5d 41 5e c3 e8 65 a8 0e fd <0f> 0b e8 5e a8 0e fd 4c 89 e7 e8 86 e0 00 00 e9 6a ff ff ff e8 4c RSP: 0018:ffffc90002027e08 EFLAGS: 00010293 RAX: ffff8880a609e340 RBX: 0000000000000004 RCX: ffffffff84637a66 RDX: 0000000000000000 RSI: ffffffff84637ceb RDI: 0000000000000005 RBP: ffff8880a8429800 R08: ffff8880a609e340 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: ffff8880a79feafc R13: ffff8880a79feaa8 R14: ffff88808afa5488 R15: ffffffff84637980 FS: 0000000000df9940(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055d5665fe160 CR3: 00000000a4e55000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __fput+0x2da/0x850 fs/file_table.c:280 task_work_run+0x13f/0x1b0 kernel/task_work.c:113 tracehook_notify_resume include/linux/tracehook.h:188 [inline] exit_to_usermode_loop+0x2fa/0x360 arch/x86/entry/common.c:164 prepare_exit_to_usermode arch/x86/entry/common.c:195 [inline] syscall_return_slowpath arch/x86/entry/common.c:278 [inline] do_syscall_64+0x6b1/0x7d0 arch/x86/entry/common.c:304 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:00007ffc52ce5c80 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 30224f387ae80f33 ]--- RIP: 0010:dma_buf_release+0x36b/0x440 drivers/dma-buf/dma-buf.c:99 Code: c0 00 00 00 45 31 e4 e8 33 1e 4b fd 48 89 ef e8 2b 1e 4b fd e8 76 a8 0e fd 44 89 e0 5b 5d 41 5c 41 5d 41 5e c3 e8 65 a8 0e fd <0f> 0b e8 5e a8 0e fd 4c 89 e7 e8 86 e0 00 00 e9 6a ff ff ff e8 4c RSP: 0018:ffffc90002027e08 EFLAGS: 00010293 RAX: ffff8880a609e340 RBX: 0000000000000004 RCX: ffffffff84637a66 RDX: 0000000000000000 RSI: ffffffff84637ceb RDI: 0000000000000005 RBP: ffff8880a8429800 R08: ffff8880a609e340 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: ffff8880a79feafc R13: ffff8880a79feaa8 R14: ffff88808afa5488 R15: ffffffff84637980 FS: 0000000000df9940(0000) GS:ffff8880ae700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f27f003d148 CR3: 00000000a4e55000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400