------------[ cut here ]------------ WARNING: CPU: 0 PID: 31994 at drivers/dma-buf/dma-buf.c:1039 dma_buf_vunmap+0x181/0x1f0 drivers/dma-buf/dma-buf.c:1039 Kernel panic - not syncing: panic_on_warn set ... CPU: 0 PID: 31994 Comm: syz-executor.2 Not tainted 4.14.264-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0x1b2/0x281 lib/dump_stack.c:58 panic+0x1f9/0x42d kernel/panic.c:183 __warn.cold+0x20/0x44 kernel/panic.c:547 report_bug+0x208/0x250 lib/bug.c:183 fixup_bug arch/x86/kernel/traps.c:177 [inline] fixup_bug arch/x86/kernel/traps.c:172 [inline] do_error_trap+0x195/0x2d0 arch/x86/kernel/traps.c:295 invalid_op+0x1b/0x40 arch/x86/entry/entry_64.S:964 RIP: 0010:dma_buf_vunmap+0x181/0x1f0 drivers/dma-buf/dma-buf.c:1039 RSP: 0018:ffff8880a1ebfc80 EFLAGS: 00010297 RAX: ffff8880b331a580 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffc9001337d000 RDI: 0000000000000000 RBP: ffffc9001337d000 R08: 0000000000000000 R09: 0000000000040550 R10: ffff8880b331ae30 R11: ffff8880b331a580 R12: ffffc9001337d000 R13: ffff8880abf000e8 R14: ffff88807e1ff180 R15: 0000000000000000 vb2_vmalloc_detach_dmabuf+0x57/0x80 drivers/media/v4l2-core/videobuf2-vmalloc.c:407 __vb2_plane_dmabuf_put+0x10b/0x2e0 drivers/media/v4l2-core/videobuf2-core.c:273 __vb2_buf_dmabuf_put drivers/media/v4l2-core/videobuf2-core.c:289 [inline] __vb2_free_mem drivers/media/v4l2-core/videobuf2-core.c:411 [inline] __vb2_queue_free+0x5e4/0x7a0 drivers/media/v4l2-core/videobuf2-core.c:454 vb2_core_queue_release+0x5b/0x70 drivers/media/v4l2-core/videobuf2-core.c:2054 v4l2_m2m_ctx_release+0x26/0x30 drivers/media/v4l2-core/v4l2-mem2mem.c:674 vim2m_release+0xd4/0x120 drivers/media/platform/vim2m.c:959 v4l2_release+0xf4/0x190 drivers/media/v4l2-core/v4l2-dev.c:446 __fput+0x25f/0x7a0 fs/file_table.c:210 task_work_run+0x11f/0x190 kernel/task_work.c:113 tracehook_notify_resume include/linux/tracehook.h:191 [inline] exit_to_usermode_loop+0x1ad/0x200 arch/x86/entry/common.c:164 prepare_exit_to_usermode arch/x86/entry/common.c:199 [inline] syscall_return_slowpath arch/x86/entry/common.c:270 [inline] do_syscall_64+0x4a3/0x640 arch/x86/entry/common.c:297 entry_SYSCALL_64_after_hwframe+0x46/0xbb RIP: 0033:0x7fb6aa970c9b RSP: 002b:00007fffc8f05be0 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000004 RCX: 00007fb6aa970c9b RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000003 RBP: 00007fb6aaad2960 R08: 0000000000000000 R09: 00007fb6aaad5ac8 R10: 0000000000000000 R11: 0000000000000293 R12: 000000000036fc7a R13: 00007fffc8f05ce0 R14: 00007fb6aaad1100 R15: 0000000000000032 Kernel Offset: disabled Rebooting in 86400 seconds..