WARNING: CPU: 1 PID: 5997 at drivers/dma-buf/dma-buf.c:992 dma_buf_vunmap+0x1bb/0x220 drivers/dma-buf/dma-buf.c:992 Kernel panic - not syncing: panic_on_warn set ... CPU: 1 PID: 5997 Comm: syz-executor842 Not tainted 4.20.0-rc2+ #237 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x244/0x39d lib/dump_stack.c:113 panic+0x2ad/0x55c kernel/panic.c:188 __warn.cold.8+0x20/0x45 kernel/panic.c:540 report_bug+0x254/0x2d0 lib/bug.c:186 fixup_bug arch/x86/kernel/traps.c:178 [inline] do_error_trap+0x11b/0x200 arch/x86/kernel/traps.c:271 do_invalid_op+0x36/0x40 arch/x86/kernel/traps.c:290 invalid_op+0x14/0x20 arch/x86/entry/entry_64.S:969 RIP: 0010:dma_buf_vunmap+0x1bb/0x220 drivers/dma-buf/dma-buf.c:992 Code: 00 00 00 00 e8 56 f2 27 fd 4c 89 f7 e8 7e 1f 77 03 e8 49 f2 27 fd 48 83 c4 08 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 35 f2 27 fd <0f> 0b eb e3 e8 2c f2 27 fd 0f 0b e8 25 f2 27 fd 0f 0b e8 1e f2 27 RSP: 0018:ffff8881c21678f8 EFLAGS: 00010293 RAX: ffff8881b51a26c0 RBX: 0000000000000000 RCX: ffffffff854cfa50 RDX: 0000000000000000 RSI: ffffffff845795ab RDI: 0000000000000000 RBP: ffff8881c2167928 R08: ffff8881b51a26c0 R09: ffffed103876f546 R10: ffff8881c2167a80 R11: ffff8881c3b7aa37 R12: ffffc900094e7000 R13: ffff8881d9b75240 R14: ffff8881d9b752a8 R15: ffff8881bf9f6b80 vb2_vmalloc_detach_dmabuf+0x5a/0x80 drivers/media/common/videobuf2/videobuf2-vmalloc.c:406 __vb2_plane_dmabuf_put.isra.5+0x122/0x310 drivers/media/common/videobuf2/videobuf2-core.c:275 __vb2_buf_dmabuf_put drivers/media/common/videobuf2/videobuf2-core.c:291 [inline] __vb2_free_mem drivers/media/common/videobuf2/videobuf2-core.c:415 [inline] __vb2_queue_free+0x7f3/0xa30 drivers/media/common/videobuf2/videobuf2-core.c:458 vb2_core_queue_release+0x62/0x80 drivers/media/common/videobuf2/videobuf2-core.c:2231 vb2_queue_release+0x15/0x20 drivers/media/common/videobuf2/videobuf2-v4l2.c:837 v4l2_m2m_ctx_release+0x1e/0x35 drivers/media/v4l2-core/v4l2-mem2mem.c:930 vim2m_release+0xe6/0x150 drivers/media/platform/vim2m.c:977 v4l2_release+0x224/0x3a0 drivers/media/v4l2-core/v4l2-dev.c:456 __fput+0x385/0xa30 fs/file_table.c:278 ____fput+0x15/0x20 fs/file_table.c:309 task_work_run+0x1e8/0x2a0 kernel/task_work.c:113 tracehook_notify_resume include/linux/tracehook.h:188 [inline] exit_to_usermode_loop+0x318/0x380 arch/x86/entry/common.c:166 prepare_exit_to_usermode arch/x86/entry/common.c:197 [inline] syscall_return_slowpath arch/x86/entry/common.c:268 [inline] do_syscall_32_irqs_on arch/x86/entry/common.c:341 [inline] do_fast_syscall_32+0xcd5/0xfb2 arch/x86/entry/common.c:397 entry_SYSENTER_compat+0x70/0x7f arch/x86/entry/entry_64_compat.S:139 RIP: 0023:0xf7f4da29 Code: 85 d2 74 02 89 0a 5b 5d c3 8b 04 24 c3 8b 14 24 c3 8b 3c 24 c3 90 90 90 90 90 90 90 90 90 90 90 90 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 90 90 90 90 eb 0d 90 90 90 90 90 90 90 90 90 90 90 90 RSP: 002b:00000000ffe8f26c EFLAGS: 00000296 ORIG_RAX: 0000000000000006 RAX: 0000000000000000 RBX: 0000000000000003 RCX: 0000000000000000 RDX: 0000000000000003 RSI: 000000000000002d RDI: 00000000080fb01c RBP: 00000000ffe8f2f8 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 Kernel Offset: disabled Rebooting in 86400 seconds..