------------[ cut here ]------------ kernel BUG at drivers/dma-buf/dma-buf.c:68! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 14428 Comm: syz-executor.2 Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/26/2022 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:ffff888058d47df0 EFLAGS: 00010293 RAX: ffff88809bdf41c0 RBX: 0000000000000004 RCX: ffffffff8406f6ec RDX: 0000000000000000 RSI: ffffffff8406f945 RDI: 0000000000000005 RBP: ffff8880b5005240 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000005 R11: 0000000000000000 R12: ffff8880b2a580fc R13: ffff8880b2a580a8 R14: ffffffff8406f600 R15: ffff8880b5b84a20 FS: 0000555556468400(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f2b53889000 CR3: 000000009af2f000 CR4: 00000000003406e0 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 tracehook_notify_resume include/linux/tracehook.h:193 [inline] exit_to_usermode_loop+0x251/0x2a0 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+0x538/0x620 arch/x86/entry/common.c:296 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7f2b5332504b Code: 0f 05 48 3d 00 f0 ff ff 77 45 c3 0f 1f 40 00 48 83 ec 18 89 7c 24 0c e8 63 fc ff ff 8b 7c 24 0c 41 89 c0 b8 03 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 35 44 89 c7 89 44 24 0c e8 a1 fc ff ff 8b 44 RSP: 002b:00007ffd98a0af60 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000004 RCX: 00007f2b5332504b RDX: 00007f2b534897a8 RSI: ffffffffffffffff RDI: 0000000000000003 RBP: 00007f2b53486980 R08: 0000000000000000 R09: 00007f2b534897b0 R10: 00007ffd98a0b060 R11: 0000000000000293 R12: 000000000012ab8f R13: 00007ffd98a0b060 R14: 00007f2b53484f80 R15: 0000000000000032 Modules linked in: ---[ end trace 1116931149ddf2bd ]--- 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:ffff888058d47df0 EFLAGS: 00010293 RAX: ffff88809bdf41c0 RBX: 0000000000000004 RCX: ffffffff8406f6ec RDX: 0000000000000000 RSI: ffffffff8406f945 RDI: 0000000000000005 RBP: ffff8880b5005240 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000005 R11: 0000000000000000 R12: ffff8880b2a580fc R13: ffff8880b2a580a8 R14: ffffffff8406f600 R15: ffff8880b5b84a20 FS: 0000555556468400(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000555555cc4708 CR3: 000000009af2f000 CR4: 00000000003406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400