------------[ cut here ]------------ kernel BUG at drivers/dma-buf/dma-buf.c:68! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 17960 Comm: syz-executor.0 Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:dma_buf_release+0x345/0x630 drivers/dma-buf/dma-buf.c:68 Code: e4 e8 9f 29 52 fd 48 89 ef e8 e7 3a 91 fd e8 42 8c 5b fd 44 89 e0 48 83 c4 10 5b 5d 41 5c 41 5d 41 5e 41 5f c3 e8 2b 8c 5b fd <0f> 0b e8 24 8c 5b fd e8 9f a4 49 fd 48 8d bd 38 02 00 00 48 b8 00 RSP: 0018:ffff888097217a08 EFLAGS: 00010293 RAX: ffff8880a55fa540 RBX: 0000000000000004 RCX: ffffffff8406f6ec RDX: 0000000000000000 RSI: ffffffff8406f945 RDI: 0000000000000005 RBP: ffff8880949684c0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000005 R11: 0000000000000000 R12: ffff888091383a7c R13: ffff888091383a28 R14: ffffffff8406f600 R15: ffff8880b59c5820 FS: 00007fb319917700(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f515b161923 CR3: 00000000a9d55000 CR4: 00000000003406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __fput+0x2ce/0x890 fs/file_table.c:278 task_work_run+0x148/0x1c0 kernel/task_work.c:113 exit_task_work include/linux/task_work.h:22 [inline] do_exit+0xbf3/0x2be0 kernel/exit.c:870 do_group_exit+0x125/0x310 kernel/exit.c:967 get_signal+0x3f2/0x1f70 kernel/signal.c:2589 do_signal+0x8f/0x1670 arch/x86/kernel/signal.c:799 exit_to_usermode_loop+0x204/0x2a0 arch/x86/entry/common.c:163 prepare_exit_to_usermode arch/x86/entry/common.c:198 [inline] syscall_return_slowpath+0x3f0/0x4a0 arch/x86/entry/common.c:271 ret_from_fork+0x15/0x30 arch/x86/entry/entry_64.S:407 RIP: 0033:0x7fb31afe5471 Code: Bad RIP value. RSP: 002b:00007fb3199172f0 EFLAGS: 00000206 ORIG_RAX: 0000000000000038 RAX: 0000000000000000 RBX: 00007fb319917700 RCX: 00007fb31afe5471 RDX: 00007fb3199179d0 RSI: 00007fb3199172f0 RDI: 00000000003d0f00 RBP: 00007ffc01babec0 R08: 00007fb319917700 R09: 00007fb319917700 R10: 00007fb3199179d0 R11: 0000000000000206 R12: 00007ffc01babd2e R13: 00007ffc01babd2f R14: 00007fb319917300 R15: 0000000000022000 Modules linked in: ---[ end trace 0b8ea020afed8ba7 ]--- RIP: 0010:dma_buf_release+0x345/0x630 drivers/dma-buf/dma-buf.c:68 Code: e4 e8 9f 29 52 fd 48 89 ef e8 e7 3a 91 fd e8 42 8c 5b fd 44 89 e0 48 83 c4 10 5b 5d 41 5c 41 5d 41 5e 41 5f c3 e8 2b 8c 5b fd <0f> 0b e8 24 8c 5b fd e8 9f a4 49 fd 48 8d bd 38 02 00 00 48 b8 00 RSP: 0018:ffff888097217a08 EFLAGS: 00010293 RAX: ffff8880a55fa540 RBX: 0000000000000004 RCX: ffffffff8406f6ec RDX: 0000000000000000 RSI: ffffffff8406f945 RDI: 0000000000000005 RBP: ffff8880949684c0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000005 R11: 0000000000000000 R12: ffff888091383a7c R13: ffff888091383a28 R14: ffffffff8406f600 R15: ffff8880b59c5820 FS: 00007fb319917700(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c0272db000 CR3: 000000008f9ae000 CR4: 00000000003426f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400