BUG: sleeping function called from invalid context at mm/slab.h:419 audit: type=1800 audit(1640080317.375:56): pid=15651 uid=0 auid=4294967295 ses=4294967295 op="collect_data" cause="failed(directio)" comm="syz-executor.1" name="file0" dev="loop1" ino=342 res=0 in_atomic(): 1, irqs_disabled(): 1, pid: 15654, name: syz-executor.5 3 locks held by syz-executor.5/15654: #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: 242 hardirqs last enabled at (241): [] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:160 [inline] hardirqs last enabled at (241): [] _raw_spin_unlock_irqrestore+0x79/0xe0 kernel/locking/spinlock.c:192 hardirqs last disabled at (242): [] __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:108 [inline] hardirqs last disabled at (242): [] _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: 15654 Comm: syz-executor.5 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:0x7f630dd69e99 RSP: 002b:00007f630c6df168 EFLAGS: 00000246 ORIG_RAX: 00000000000000e9 RAX: ffffffffffffffda RBX: 00007f630de7cf60 RCX: 00007f630dd69e99 RDX: 0000000000000003 RSI: 0000000000000001 RDI: 0000000000000004 RBP: 00007f630ddc3ff1 R08: 0000000000000000 R09: 0000000000000000 R10: 00000000200000c0 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe3e01a88f R14: 00007f630c6df300 R15: 0000000000022000 sd 0:0:1:0: [sg0] tag#5867 FAILED Result: hostbyte=DID_ABORT driverbyte=DRIVER_OK sd 0:0:1:0: [sg0] tag#5867 CDB: opcode=0xe5 (vendor) sd 0:0:1:0: [sg0] tag#5867 CDB[00]: e5 f4 32 73 2f 4e 09 6d 26 e2 c7 35 d1 35 12 1c sd 0:0:1:0: [sg0] tag#5867 CDB[10]: 92 1b da 40 b8 58 5b a8 d4 7d 34 f3 90 4c f1 2d sd 0:0:1:0: [sg0] tag#5867 CDB[20]: ba BUG: sleeping function called from invalid context at mm/slab.h:419 in_atomic(): 1, irqs_disabled(): 1, pid: 15720, name: syz-executor.0 3 locks held by syz-executor.0/15720: #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: 232 hardirqs last enabled at (231): [] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:160 [inline] hardirqs last enabled at (231): [] _raw_spin_unlock_irqrestore+0x79/0xe0 kernel/locking/spinlock.c:192 hardirqs last disabled at (232): [] __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:108 [inline] hardirqs last disabled at (232): [] _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: 0 PID: 15720 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:0x7f08ad093e99 RSP: 002b:00007f08aba09168 EFLAGS: 00000246 ORIG_RAX: 00000000000000e9 RAX: ffffffffffffffda RBX: 00007f08ad1a6f60 RCX: 00007f08ad093e99 RDX: 0000000000000003 RSI: 0000000000000001 RDI: 0000000000000004 RBP: 00007f08ad0edff1 R08: 0000000000000000 R09: 0000000000000000 R10: 00000000200000c0 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffd07707ccf R14: 00007f08aba09300 R15: 0000000000022000 unregister_netdevice: waiting for ip6gre0 to become free. Usage count = -1 audit: type=1800 audit(1640080318.665:57): pid=15724 uid=0 auid=4294967295 ses=4294967295 op="collect_data" cause="failed(directio)" comm="syz-executor.1" name="file0" dev="sda1" ino=14733 res=0 sd 0:0:1:0: [sg0] tag#5867 FAILED Result: hostbyte=DID_ABORT driverbyte=DRIVER_OK sd 0:0:1:0: [sg0] tag#5867 CDB: opcode=0xe5 (vendor) sd 0:0:1:0: [sg0] tag#5867 CDB[00]: e5 f4 32 73 2f 4e 09 6d 26 e2 c7 35 d1 35 12 1c sd 0:0:1:0: [sg0] tag#5867 CDB[10]: 92 1b da 40 b8 58 5b a8 d4 7d 34 f3 90 4c f1 2d sd 0:0:1:0: [sg0] tag#5867 CDB[20]: ba syz-executor.2 calls setitimer() with new_value NULL pointer. Misfeature support will be removed audit: type=1800 audit(1640080319.385:58): pid=15758 uid=0 auid=4294967295 ses=4294967295 op="collect_data" cause="failed(directio)" comm="syz-executor.1" name="file0" dev="loop1" ino=343 res=0 netlink: 8 bytes leftover after parsing attributes in process `syz-executor.0'. sd 0:0:1:0: [sg0] tag#5867 FAILED Result: hostbyte=DID_ABORT driverbyte=DRIVER_OK sd 0:0:1:0: [sg0] tag#5867 CDB: opcode=0xe5 (vendor) sd 0:0:1:0: [sg0] tag#5867 CDB[00]: e5 f4 32 73 2f 4e 09 6d 26 e2 c7 35 d1 35 12 1c sd 0:0:1:0: [sg0] tag#5867 CDB[10]: 92 1b da 40 b8 58 5b a8 d4 7d 34 f3 90 4c f1 2d sd 0:0:1:0: [sg0] tag#5867 CDB[20]: ba netlink: 8 bytes leftover after parsing attributes in process `syz-executor.0'. audit: type=1800 audit(1640080320.335:59): pid=15809 uid=0 auid=4294967295 ses=4294967295 op="collect_data" cause="failed(directio)" comm="syz-executor.1" name="file0" dev="loop1" ino=344 res=0 netlink: 8 bytes leftover after parsing attributes in process `syz-executor.4'. sd 0:0:1:0: [sg0] tag#5867 FAILED Result: hostbyte=DID_ABORT driverbyte=DRIVER_OK sd 0:0:1:0: [sg0] tag#5867 CDB: opcode=0xe5 (vendor) sd 0:0:1:0: [sg0] tag#5867 CDB[00]: e5 f4 32 73 2f 4e 09 6d 26 e2 c7 35 d1 35 12 1c sd 0:0:1:0: [sg0] tag#5867 CDB[10]: 92 1b da 40 b8 58 5b a8 d4 7d 34 f3 90 4c f1 2d sd 0:0:1:0: [sg0] tag#5867 CDB[20]: ba NILFS (loop2): broken superblock, retrying with spare superblock (blocksize = 1024) NILFS (loop2): broken superblock, retrying with spare superblock (blocksize = 4096) netlink: 8 bytes leftover after parsing attributes in process `syz-executor.0'. NILFS (loop2): mounting unchecked fs netlink: 8 bytes leftover after parsing attributes in process `syz-executor.4'. NILFS (loop2): recovery complete NILFS (loop2): segctord starting. Construction interval = 5 seconds, CP frequency < 30 seconds NILFS (loop2): broken superblock, retrying with spare superblock (blocksize = 1024) NILFS (loop2): broken superblock, retrying with spare superblock (blocksize = 4096) netlink: 8 bytes leftover after parsing attributes in process `syz-executor.0'. NILFS (loop2): mounting unchecked fs netlink: 8 bytes leftover after parsing attributes in process `syz-executor.4'. NILFS (loop2): recovery complete NILFS (loop2): segctord starting. Construction interval = 5 seconds, CP frequency < 30 seconds NILFS (loop2): broken superblock, retrying with spare superblock (blocksize = 1024) NILFS (loop2): broken superblock, retrying with spare superblock (blocksize = 4096) NILFS (loop2): mounting unchecked fs NILFS (loop2): recovery complete NILFS (loop2): segctord starting. Construction interval = 5 seconds, CP frequency < 30 seconds NILFS (loop2): broken superblock, retrying with spare superblock (blocksize = 1024) NILFS (loop2): broken superblock, retrying with spare superblock (blocksize = 4096) NILFS (loop2): mounting unchecked fs NILFS (loop2): recovery complete NILFS (loop2): segctord starting. Construction interval = 5 seconds, CP frequency < 30 seconds bridge0: port 4(bond0) entered blocking state bridge0: port 4(bond0) entered disabled state device bond0 entered promiscuous mode device bond_slave_0 entered promiscuous mode device bond_slave_1 entered promiscuous mode bridge0: port 4(bond0) entered blocking state bridge0: port 4(bond0) entered forwarding state device bond0 left promiscuous mode device bond_slave_0 left promiscuous mode device bond_slave_1 left promiscuous mode bridge0: port 4(bond0) entered disabled state bridge0: port 4(bond0) entered blocking state bridge0: port 4(bond0) entered disabled state device bond0 entered promiscuous mode device bond_slave_0 entered promiscuous mode device bond_slave_1 entered promiscuous mode bridge0: port 4(bond0) entered blocking state bridge0: port 4(bond0) entered forwarding state device bond0 left promiscuous mode device bond_slave_0 left promiscuous mode device bond_slave_1 left promiscuous mode bridge0: port 4(bond0) entered disabled state bridge0: port 3(bond0) entered blocking state bridge0: port 3(bond0) entered disabled state device bond0 entered promiscuous mode device bond_slave_0 entered promiscuous mode device bond_slave_1 entered promiscuous mode bridge0: port 3(bond0) entered blocking state bridge0: port 3(bond0) entered forwarding state bridge0: port 3(bond0) entered blocking state bridge0: port 3(bond0) entered disabled state device bond0 entered promiscuous mode device bond_slave_0 entered promiscuous mode device bond_slave_1 entered promiscuous mode bridge0: port 3(bond0) entered blocking state bridge0: port 3(bond0) entered forwarding state device bond0 left promiscuous mode device bond_slave_0 left promiscuous mode device bond_slave_1 left promiscuous mode bridge0: port 3(bond0) entered disabled state device bond0 left promiscuous mode device bond_slave_0 left promiscuous mode device bond_slave_1 left promiscuous mode bridge0: port 3(bond0) entered disabled state bridge0: port 4(bond0) entered blocking state bridge0: port 4(bond0) entered disabled state device bond0 entered promiscuous mode device bond_slave_0 entered promiscuous mode device bond_slave_1 entered promiscuous mode bridge0: port 4(bond0) entered blocking state bridge0: port 4(bond0) entered forwarding state bridge0: port 3(bond0) entered blocking state bridge0: port 3(bond0) entered disabled state device bond0 entered promiscuous mode device bond_slave_0 entered promiscuous mode device bond_slave_1 entered promiscuous mode bridge0: port 3(bond0) entered blocking state bridge0: port 3(bond0) entered forwarding state bridge0: port 3(bond0) entered blocking state bridge0: port 3(bond0) entered disabled state device bond0 entered promiscuous mode device bond_slave_0 entered promiscuous mode device bond_slave_1 entered promiscuous mode bridge0: port 3(bond0) entered blocking state bridge0: port 3(bond0) entered forwarding state device bond0 left promiscuous mode device bond_slave_0 left promiscuous mode device bond_slave_1 left promiscuous mode bridge0: port 4(bond0) entered disabled state device bond0 left promiscuous mode FAT-fs (loop5): bogus number of reserved sectors device bond_slave_0 left promiscuous mode FAT-fs (loop5): Can't find a valid FAT filesystem device bond_slave_1 left promiscuous mode bridge0: port 3(bond0) entered disabled state device bond0 left promiscuous mode device bond_slave_0 left promiscuous mode device bond_slave_1 left promiscuous mode bridge0: port 3(bond0) entered disabled state bridge0: port 4(bond0) entered blocking state bridge0: port 4(bond0) entered disabled state snd_dummy snd_dummy.0: control 3:0:117440512:syz1:0 is already present device bond0 entered promiscuous mode device bond_slave_0 entered promiscuous mode device bond_slave_1 entered promiscuous mode bridge0: port 4(bond0) entered blocking state bridge0: port 4(bond0) entered forwarding state device bond0 left promiscuous mode device bond_slave_0 left promiscuous mode device bond_slave_1 left promiscuous mode bridge0: port 4(bond0) entered disabled state bridge0: port 3(bond0) entered blocking state bridge0: port 3(bond0) entered disabled state device bond0 entered promiscuous mode device bond_slave_0 entered promiscuous mode device bond_slave_1 entered promiscuous mode bridge0: port 3(bond0) entered blocking state bridge0: port 3(bond0) entered forwarding state device bond0 left promiscuous mode device bond_slave_0 left promiscuous mode device bond_slave_1 left promiscuous mode bridge0: port 3(bond0) entered disabled state snd_dummy snd_dummy.0: control 3:0:117440512:syz1:0 is already present bridge0: port 3(bond0) entered blocking state bridge0: port 3(bond0) entered disabled state device bond0 entered promiscuous mode device bond_slave_0 entered promiscuous mode device bond_slave_1 entered promiscuous mode bridge0: port 3(bond0) entered blocking state bridge0: port 3(bond0) entered forwarding state device bond0 left promiscuous mode device bond_slave_0 left promiscuous mode device bond_slave_1 left promiscuous mode bridge0: port 3(bond0) entered disabled state