BUG: sleeping function called from invalid context at mm/slab.h:419 in_atomic(): 1, irqs_disabled(): 1, pid: 12615, name: syz-executor.3 3 locks held by syz-executor.3/12615: #0: (&ep->mtx){+.+.}, at: [] SYSC_epoll_ctl fs/eventpoll.c:2080 [inline] #0: (&ep->mtx){+.+.}, at: [] SyS_epoll_ctl+0x516/0x2780 fs/eventpoll.c:2002 #1: (&dev->dev_mutex){+.+.}, at: [] v4l2_m2m_fop_poll+0x91/0x110 drivers/media/v4l2-core/v4l2-mem2mem.c:802 #2: (&(&q->done_lock)->rlock){....}, at: [] v4l2_m2m_poll+0x116/0x670 drivers/media/v4l2-core/v4l2-mem2mem.c:536 irq event stamp: 486 hardirqs last enabled at (485): [] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:160 [inline] hardirqs last enabled at (485): [] _raw_spin_unlock_irqrestore+0x79/0xe0 kernel/locking/spinlock.c:192 hardirqs last disabled at (486): [] __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:108 [inline] hardirqs last disabled at (486): [] _raw_spin_lock_irqsave+0x66/0xc0 kernel/locking/spinlock.c:160 softirqs last enabled at (260): [] __do_softirq+0x68b/0x9ff kernel/softirq.c:314 softirqs last disabled at (63): [] invoke_softirq kernel/softirq.c:368 [inline] softirqs last disabled at (63): [] irq_exit+0x193/0x240 kernel/softirq.c:409 Preemption disabled at: [< (null)>] (null) CPU: 1 PID: 12615 Comm: syz-executor.3 Not tainted 4.14.258-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 ___might_sleep.cold+0x235/0x250 kernel/sched/core.c:6041 slab_pre_alloc_hook mm/slab.h:419 [inline] slab_alloc mm/slab.c:3376 [inline] kmem_cache_alloc+0x284/0x3c0 mm/slab.c:3550 ep_ptable_queue_proc+0x9e/0x370 fs/eventpoll.c:1255 poll_wait include/linux/poll.h:50 [inline] v4l2_m2m_poll+0x583/0x670 drivers/media/v4l2-core/v4l2-mem2mem.c:538 v4l2_m2m_fop_poll+0xa4/0x110 drivers/media/v4l2-core/v4l2-mem2mem.c:804 v4l2_poll+0x133/0x1d0 drivers/media/v4l2-core/v4l2-dev.c:342 ep_item_poll fs/eventpoll.c:885 [inline] ep_insert fs/eventpoll.c:1490 [inline] SYSC_epoll_ctl fs/eventpoll.c:2117 [inline] SyS_epoll_ctl+0x14af/0x2780 fs/eventpoll.c:2002 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x46/0xbb RIP: 0033:0x7f919db55e99 RSP: 002b:00007f919c4cb168 EFLAGS: 00000246 ORIG_RAX: 00000000000000e9 RAX: ffffffffffffffda RBX: 00007f919dc68f60 RCX: 00007f919db55e99 RDX: 0000000000000003 RSI: 0000000000000001 RDI: 0000000000000004 RBP: 00007f919dbafff1 R08: 0000000000000000 R09: 0000000000000000 R10: 00000000200000c0 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffc8f262bcf R14: 00007f919c4cb300 R15: 0000000000022000 audit: type=1800 audit(1639532986.230:44): pid=12629 uid=0 auid=4294967295 ses=4294967295 op="collect_data" cause="failed" comm="syz-executor.1" name="SYSV00000000" dev="hugetlbfs" ino=32768 res=0 new mount options do not match the existing superblock, will be ignored audit: type=1800 audit(1639532986.380:45): pid=12638 uid=0 auid=4294967295 ses=4294967295 op="collect_data" cause="failed" comm="syz-executor.1" name="SYSV00000000" dev="hugetlbfs" ino=65537 res=0 audit: type=1800 audit(1639532986.480:46): pid=12647 uid=0 auid=4294967295 ses=4294967295 op="collect_data" cause="failed" comm="syz-executor.4" name="SYSV00000000" dev="hugetlbfs" ino=0 res=0 new mount options do not match the existing superblock, will be ignored audit: type=1800 audit(1639532986.730:47): pid=12670 uid=0 auid=4294967295 ses=4294967295 op="collect_data" cause="failed" comm="syz-executor.4" name="SYSV00000000" dev="hugetlbfs" ino=32768 res=0 audit: type=1800 audit(1639532986.760:48): pid=12665 uid=0 auid=4294967295 ses=4294967295 op="collect_data" cause="failed" comm="syz-executor.1" name="SYSV00000000" dev="hugetlbfs" ino=98306 res=0 BUG: sleeping function called from invalid context at mm/slab.h:419 in_atomic(): 1, irqs_disabled(): 1, pid: 12682, name: syz-executor.0 3 locks held by syz-executor.0/12682: #0: (&ep->mtx){+.+.}, at: [] SYSC_epoll_ctl fs/eventpoll.c:2080 [inline] #0: (&ep->mtx){+.+.}, at: [] SyS_epoll_ctl+0x516/0x2780 fs/eventpoll.c:2002 #1: (&dev->dev_mutex){+.+.}, at: [] v4l2_m2m_fop_poll+0x91/0x110 drivers/media/v4l2-core/v4l2-mem2mem.c:802 #2: (&(&q->done_lock)->rlock){....}, at: [] v4l2_m2m_poll+0x116/0x670 drivers/media/v4l2-core/v4l2-mem2mem.c:536 irq event stamp: 288 hardirqs last enabled at (287): [] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:160 [inline] hardirqs last enabled at (287): [] _raw_spin_unlock_irqrestore+0x79/0xe0 kernel/locking/spinlock.c:192 hardirqs last disabled at (288): [] __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:108 [inline] hardirqs last disabled at (288): [] _raw_spin_lock_irqsave+0x66/0xc0 kernel/locking/spinlock.c:160 softirqs last enabled at (0): [] copy_process.part.0+0x12d0/0x71c0 kernel/fork.c:1734 softirqs last disabled at (0): [< (null)>] (null) Preemption disabled at: [< (null)>] (null) CPU: 1 PID: 12682 Comm: syz-executor.0 Tainted: G W 4.14.258-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 ___might_sleep.cold+0x235/0x250 kernel/sched/core.c:6041 slab_pre_alloc_hook mm/slab.h:419 [inline] slab_alloc mm/slab.c:3376 [inline] kmem_cache_alloc+0x284/0x3c0 mm/slab.c:3550 ep_ptable_queue_proc+0x9e/0x370 fs/eventpoll.c:1255 poll_wait include/linux/poll.h:50 [inline] v4l2_m2m_poll+0x583/0x670 drivers/media/v4l2-core/v4l2-mem2mem.c:538 v4l2_m2m_fop_poll+0xa4/0x110 drivers/media/v4l2-core/v4l2-mem2mem.c:804 v4l2_poll+0x133/0x1d0 drivers/media/v4l2-core/v4l2-dev.c:342 ep_item_poll fs/eventpoll.c:885 [inline] ep_insert fs/eventpoll.c:1490 [inline] SYSC_epoll_ctl fs/eventpoll.c:2117 [inline] SyS_epoll_ctl+0x14af/0x2780 fs/eventpoll.c:2002 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x46/0xbb RIP: 0033:0x7efdff285e99 RSP: 002b:00007efdfdbfb168 EFLAGS: 00000246 ORIG_RAX: 00000000000000e9 RAX: ffffffffffffffda RBX: 00007efdff398f60 RCX: 00007efdff285e99 RDX: 0000000000000003 RSI: 0000000000000001 RDI: 0000000000000004 RBP: 00007efdff2dfff1 R08: 0000000000000000 R09: 0000000000000000 R10: 00000000200000c0 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fffb8e2afbf R14: 00007efdfdbfb300 R15: 0000000000022000 audit: type=1800 audit(1639532987.150:49): pid=12687 uid=0 auid=4294967295 ses=4294967295 op="collect_data" cause="failed" comm="syz-executor.1" name="SYSV00000000" dev="hugetlbfs" ino=131075 res=0 audit: type=1800 audit(1639532987.210:50): pid=12683 uid=0 auid=4294967295 ses=4294967295 op="collect_data" cause="failed" comm="syz-executor.4" name="SYSV00000000" dev="hugetlbfs" ino=65537 res=0 audit: type=1800 audit(1639532987.310:51): pid=12698 uid=0 auid=4294967295 ses=4294967295 op="collect_data" cause="failed" comm="syz-executor.1" name="SYSV00000000" dev="hugetlbfs" ino=163844 res=0 audit: type=1800 audit(1639532987.620:52): pid=12722 uid=0 auid=4294967295 ses=4294967295 op="collect_data" cause="failed" comm="syz-executor.1" name="SYSV00000000" dev="hugetlbfs" ino=196613 res=0 IPVS: ftp: loaded support on port[0] = 21 BTRFS: device fsid 86ced387-95d4-44ff-86fc-c4f48fbcd474 devid 1 transid 7 /dev/loop5 hub 9-0:1.0: USB hub found hub 9-0:1.0: 8 ports detected BTRFS error (device loop5): unsupported checksum algorithm 2 BTRFS error (device loop5): superblock checksum mismatch BTRFS error (device loop5): open_ctree failed UDF-fs: error (device loop2): udf_read_tagged: read failed, block=256, location=256 UDF-fs: error (device loop2): udf_read_tagged: read failed, block=512, location=512 UDF-fs: warning (device loop2): udf_load_vrs: No anchor found UDF-fs: Scanning with blocksize 512 failed UDF-fs: error (device loop2): udf_read_tagged: read failed, block=256, location=256 UDF-fs: error (device loop2): udf_read_tagged: read failed, block=512, location=512 UDF-fs: warning (device loop2): udf_load_vrs: No anchor found UDF-fs: Scanning with blocksize 1024 failed UDF-fs: error (device loop2): udf_read_tagged: read failed, block=256, location=256 UDF-fs: error (device loop2): udf_read_tagged: read failed, block=512, location=512 UDF-fs: warning (device loop2): udf_load_vrs: No anchor found UDF-fs: Scanning with blocksize 2048 failed UDF-fs: warning (device loop2): udf_load_vrs: No VRS found UDF-fs: Scanning with blocksize 4096 failed UDF-fs: error (device loop2): udf_read_tagged: read failed, block=256, location=256 UDF-fs: error (device loop2): udf_read_tagged: read failed, block=512, location=512 UDF-fs: warning (device loop2): udf_load_vrs: No anchor found UDF-fs: Scanning with blocksize 512 failed UDF-fs: error (device loop2): udf_read_tagged: read failed, block=256, location=256 UDF-fs: error (device loop2): udf_read_tagged: read failed, block=512, location=512 UDF-fs: warning (device loop2): udf_load_vrs: No anchor found UDF-fs: Scanning with blocksize 1024 failed UDF-fs: error (device loop2): udf_read_tagged: read failed, block=256, location=256 UDF-fs: error (device loop2): udf_read_tagged: read failed, block=512, location=512 UDF-fs: warning (device loop2): udf_load_vrs: No anchor found UDF-fs: Scanning with blocksize 2048 failed UDF-fs: warning (device loop2): udf_load_vrs: No VRS found UDF-fs: Scanning with blocksize 4096 failed UDF-fs: error (device loop2): udf_read_tagged: read failed, block=256, location=256 UDF-fs: error (device loop2): udf_read_tagged: read failed, block=512, location=512 UDF-fs: warning (device loop2): udf_load_vrs: No anchor found UDF-fs: Scanning with blocksize 512 failed UDF-fs: error (device loop2): udf_read_tagged: read failed, block=256, location=256 UDF-fs: error (device loop2): udf_read_tagged: read failed, block=512, location=512 UDF-fs: warning (device loop2): udf_load_vrs: No anchor found UDF-fs: Scanning with blocksize 1024 failed UDF-fs: error (device loop2): udf_read_tagged: read failed, block=256, location=256 UDF-fs: error (device loop2): udf_read_tagged: read failed, block=512, location=512 UDF-fs: warning (device loop2): udf_load_vrs: No anchor found UDF-fs: Scanning with blocksize 2048 failed UDF-fs: warning (device loop2): udf_load_vrs: No VRS found UDF-fs: Scanning with blocksize 4096 failed UDF-fs: error (device loop2): udf_read_tagged: read failed, block=256, location=256 UDF-fs: error (device loop2): udf_read_tagged: read failed, block=512, location=512 UDF-fs: warning (device loop2): udf_load_vrs: No anchor found UDF-fs: Scanning with blocksize 512 failed UDF-fs: error (device loop2): udf_read_tagged: read failed, block=256, location=256 UDF-fs: error (device loop2): udf_read_tagged: read failed, block=512, location=512 UDF-fs: warning (device loop2): udf_load_vrs: No anchor found UDF-fs: Scanning with blocksize 1024 failed UDF-fs: error (device loop2): udf_read_tagged: read failed, block=256, location=256 UDF-fs: error (device loop2): udf_read_tagged: read failed, block=512, location=512 UDF-fs: warning (device loop2): udf_load_vrs: No anchor found UDF-fs: Scanning with blocksize 2048 failed UDF-fs: warning (device loop2): udf_load_vrs: No VRS found UDF-fs: Scanning with blocksize 4096 failed usb usb9: Requested nonsensical USBDEVFS_URB_SHORT_NOT_OK. usb usb9: Requested nonsensical USBDEVFS_URB_SHORT_NOT_OK. usb usb9: Requested nonsensical USBDEVFS_URB_SHORT_NOT_OK. usb usb9: Requested nonsensical USBDEVFS_URB_SHORT_NOT_OK.