kasan: CONFIG_KASAN_INLINE enabled kasan: GPF could be caused by NULL-ptr deref or user memory access general protection fault: 0000 [#1] PREEMPT SMP KASAN Modules linked in: CPU: 0 PID: 20515 Comm: syz-executor.3 Not tainted 4.14.146 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff888058878500 task.stack: ffff8880a6318000 RIP: 0010:__read_once_size include/linux/compiler.h:183 [inline] RIP: 0010:atomic_read arch/x86/include/asm/atomic.h:27 [inline] RIP: 0010:refcount_sub_and_test+0x2b/0xf0 lib/refcount.c:179 RSP: 0018:ffff8880a631f7e0 EFLAGS: 00010202 protocol 88fb is buggy, dev hsr_slave_0 RAX: dffffc0000000000 RBX: ffff8880996a5040 RCX: ffffffff84263c10 RDX: 0000000000000004 RSI: 0000000000000020 RDI: 0000000000000001 RBP: ffff8880a631f808 R08: 00000000e0172d49 R09: ffff888058878dc8 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000020 protocol 88fb is buggy, dev hsr_slave_1 R13: 0000000000000001 R14: ffff8880996a5054 R15: 0000000000000000 FS: 0000000020000100(0000) GS:ffff8880aee00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fe0bb7db028 CR3: 000000009059b000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 Call Trace: refcount_dec_and_test+0x1b/0x20 lib/refcount.c:212 vb2_vmalloc_put+0x18/0x70 drivers/media/v4l2-core/videobuf2-vmalloc.c:68 __vb2_buf_mem_free+0x103/0x1e0 drivers/media/v4l2-core/videobuf2-core.c:240 __vb2_free_mem drivers/media/v4l2-core/videobuf2-core.c:409 [inline] __vb2_queue_free+0x634/0x7d0 drivers/media/v4l2-core/videobuf2-core.c:454 vb2_core_queue_release+0x64/0x80 drivers/media/v4l2-core/videobuf2-core.c:2043 vb2_queue_release drivers/media/v4l2-core/videobuf2-v4l2.c:669 [inline] _vb2_fop_release+0x1cf/0x2a0 drivers/media/v4l2-core/videobuf2-v4l2.c:840 vb2_fop_release+0x75/0xc0 drivers/media/v4l2-core/videobuf2-v4l2.c:854 vivid_fop_release+0x180/0x3f0 drivers/media/platform/vivid/vivid-core.c:486 v4l2_release+0xf9/0x190 drivers/media/v4l2-core/v4l2-dev.c:446 audit: type=1800 audit(2000000905.520:321): pid=20498 uid=0 auid=4294967295 ses=4294967295 subj=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 op="collect_data" cause="failed(directio)" comm="syz-executor.0" name="file0" dev="sda1" ino=17521 res=0 __fput+0x275/0x7a0 fs/file_table.c:210 ____fput+0x16/0x20 fs/file_table.c:244 task_work_run+0x114/0x190 kernel/task_work.c:113 exit_task_work include/linux/task_work.h:22 [inline] do_exit+0x7df/0x2c10 kernel/exit.c:874 do_group_exit+0x111/0x330 kernel/exit.c:977 get_signal+0x381/0x1cd0 kernel/signal.c:2409 do_signal+0x86/0x19a0 arch/x86/kernel/signal.c:814 exit_to_usermode_loop+0x15c/0x220 arch/x86/entry/common.c:160 prepare_exit_to_usermode+0x1b5/0x220 arch/x86/entry/common.c:199 retint_user+0x8/0x18 RIP: 0033:0x459a15 RSP: 002b:0000000020000000 EFLAGS: 00010217 RAX: 0000000000000000 RBX: 0000000000000005 RCX: 0000000000459a09 RDX: 0000000020000080 RSI: 0000000020000000 RDI: 0000000180080000 RBP: 000000000075bf20 R08: 0000000020000100 R09: 0000000000000000 R10: 00000000200000c0 R11: 0000000000000246 R12: 00007f40b95f16d4 R13: 00000000004bfeb7 R14: 00000000004d1d90 R15: 00000000ffffffff Code: 55 48 89 e5 41 56 41 55 41 89 fd 41 54 49 89 f4 53 48 83 ec 08 e8 76 5b 85 fe 4c 89 e2 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 <0f> b6 14 02 4c 89 e0 83 e0 07 83 c0 03 38 d0 7c 08 84 d2 0f 85 RIP: __read_once_size include/linux/compiler.h:183 [inline] RSP: ffff8880a631f7e0 RIP: atomic_read arch/x86/include/asm/atomic.h:27 [inline] RSP: ffff8880a631f7e0 RIP: refcount_sub_and_test+0x2b/0xf0 lib/refcount.c:179 RSP: ffff8880a631f7e0 protocol 88fb is buggy, dev hsr_slave_0 protocol 88fb is buggy, dev hsr_slave_1 ---[ end trace 953859a462fe6f1c ]---