audit: type=1804 audit(1663971669.762:11): pid=9652 uid=0 auid=4294967295 ses=4294967295 op="invalid_pcr" cause="ToMToU" comm="syz-executor.0" name="/root/syzkaller-testdir2345103846/syzkaller.OqsDSs/3/file0" dev="sda1" ino=13915 res=1 BUG: unable to handle kernel NULL pointer dereference at 0000000000000020 IP: refcount_dec_and_test arch/x86/include/asm/refcount.h:75 [inline] IP: vb2_vmalloc_put+0x9/0x60 drivers/media/v4l2-core/videobuf2-vmalloc.c:68 PGD 8ffd2067 P4D 8ffd2067 PUD a5b1f067 PMD 0 Oops: 0002 [#1] PREEMPT SMP KASAN Modules linked in: CPU: 1 PID: 9683 Comm: syz-executor.4 Not tainted 4.14.294-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/26/2022 task: ffff8880a5fce300 task.stack: ffff8880b01e0000 RIP: 0010:refcount_dec_and_test arch/x86/include/asm/refcount.h:75 [inline] RIP: 0010:vb2_vmalloc_put+0x9/0x60 drivers/media/v4l2-core/videobuf2-vmalloc.c:68 audit: type=1800 audit(1663971669.762:12): pid=9654 uid=0 auid=4294967295 ses=4294967295 op="collect_data" cause="failed(directio)" comm="syz-executor.1" name="file0" dev="sda1" ino=13916 res=0 RSP: 0018:ffff8880b01e7c58 EFLAGS: 00010297 RAX: ffff8880a5fce300 RBX: ffff88808f87ec80 RCX: 1ffff11014bf9d7a RDX: 0000000000000000 RSI: ffff8880a5fcebb0 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: ffff88808f87ec94 R14: 0000000000000000 R15: ffffffff84c22c70 FS: 0000555556a92400(0000) GS:ffff8880ba500000(0000) knlGS:0000000000000000 audit: type=1804 audit(1663971669.762:13): pid=9654 uid=0 auid=4294967295 ses=4294967295 op="invalid_pcr" cause="open_writers" comm="syz-executor.1" name="/root/syzkaller-testdir182977408/syzkaller.3SMUAG/4/file0" dev="sda1" ino=13916 res=1 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000020 CR3: 000000009b17a000 CR4: 00000000003406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __vb2_buf_mem_free+0xfa/0x1d0 drivers/media/v4l2-core/videobuf2-core.c:240 audit: type=1804 audit(1663971669.762:14): pid=9654 uid=0 auid=4294967295 ses=4294967295 op="invalid_pcr" cause="ToMToU" comm="syz-executor.1" name="/root/syzkaller-testdir182977408/syzkaller.3SMUAG/4/file0" dev="sda1" ino=13916 res=1 __vb2_free_mem drivers/media/v4l2-core/videobuf2-core.c:409 [inline] __vb2_queue_free+0x60d/0x7a0 drivers/media/v4l2-core/videobuf2-core.c:454 vb2_core_queue_release+0x5b/0x70 drivers/media/v4l2-core/videobuf2-core.c:2054 vb2_queue_release drivers/media/v4l2-core/videobuf2-v4l2.c:669 [inline] _vb2_fop_release+0x1c1/0x280 drivers/media/v4l2-core/videobuf2-v4l2.c:840 vivid_fop_release+0x17d/0x6c0 drivers/media/platform/vivid/vivid-core.c:486 audit: type=1800 audit(1663971670.852:15): pid=9672 uid=0 auid=4294967295 ses=4294967295 op="collect_data" cause="failed(directio)" comm="syz-executor.1" name="file0" dev="sda1" ino=13894 res=0 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 audit: type=1804 audit(1663971670.952:16): pid=9672 uid=0 auid=4294967295 ses=4294967295 op="invalid_pcr" cause="open_writers" comm="syz-executor.1" name="/root/syzkaller-testdir182977408/syzkaller.3SMUAG/5/file0" dev="sda1" ino=13894 res=1 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:0x7f9034c3143b RSP: 002b:00007ffc280b8170 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000004 RCX: 00007f9034c3143b RDX: 00007f9034da5508 RSI: ffffffffffffffff RDI: 0000000000000003 RBP: 00007f9034da2980 R08: 0000000000000000 R09: 00007f9034da5510 R10: 00007ffc280b8270 R11: 0000000000000293 R12: 0000000000025804 audit: type=1804 audit(1663971671.042:17): pid=9670 uid=0 auid=4294967295 ses=4294967295 op="invalid_pcr" cause="ToMToU" comm="syz-executor.1" name="/root/syzkaller-testdir182977408/syzkaller.3SMUAG/5/file0" dev="sda1" ino=13894 res=1 R13: 00007ffc280b8270 R14: 00007f9034da0f80 R15: 0000000000000032 Code: e9 ca fc ff ff e8 88 d5 bc fc e9 96 fc ff ff e8 ae d7 bc fc e9 fd fe ff ff 66 audit: type=1800 audit(1663971671.042:18): pid=9673 uid=0 auid=4294967295 ses=4294967295 op="collect_data" cause="failed(directio)" comm="syz-executor.0" name="file0" dev="sda1" ino=13933 res=0 0f 1f 84 00 00 00 00 00 55 48 89 fd e8 47 1b 93 fc audit: type=1804 audit(1663971671.042:19): pid=9673 uid=0 auid=4294967295 ses=4294967295 op="invalid_pcr" cause="open_writers" comm="syz-executor.0" name="/root/syzkaller-testdir2345103846/syzkaller.OqsDSs/4/file0" dev="sda1" ino=13933 res=1 ff 4d 20 0f 88 a4 c6 5f 02 74 06 5d e9 35 1b audit: type=1804 audit(1663971671.042:20): pid=9673 uid=0 auid=4294967295 ses=4294967295 op="invalid_pcr" cause="ToMToU" comm="syz-executor.0" name="/root/syzkaller-testdir2345103846/syzkaller.OqsDSs/4/file0" dev="sda1" ino=13933 res=1 93 fc e8 30 1b RIP: refcount_dec_and_test arch/x86/include/asm/refcount.h:75 [inline] RSP: ffff8880b01e7c58 RIP: vb2_vmalloc_put+0x9/0x60 drivers/media/v4l2-core/videobuf2-vmalloc.c:68 RSP: ffff8880b01e7c58 CR2: 0000000000000020 ---[ end trace d24e08e00c1ed840 ]--- EXT4-fs (loop5): mounted filesystem without journal. Opts: ,errors=continue