BUG: sleeping function called from invalid context at mm/slab.h:422 in_atomic(): 1, irqs_disabled(): 1, pid: 12104, name: syz-executor.5 3 locks held by syz-executor.5/12104: #0: 00000000d1c83976 (&ep->mtx){+.+.}, at: __do_sys_epoll_ctl fs/eventpoll.c:2075 [inline] #0: 00000000d1c83976 (&ep->mtx){+.+.}, at: __se_sys_epoll_ctl+0x5d2/0x2b90 fs/eventpoll.c:1997 #1: 00000000dc56f60b (&dev->dev_mutex){+.+.}, at: v4l2_m2m_fop_poll+0x91/0x110 drivers/media/v4l2-core/v4l2-mem2mem.c:1056 #2: 00000000c34c36e3 (&(&q->done_lock)->rlock){....}, at: v4l2_m2m_poll+0x140/0x720 drivers/media/v4l2-core/v4l2-mem2mem.c:623 irq event stamp: 266 hardirqs last enabled at (265): [] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:160 [inline] hardirqs last enabled at (265): [] _raw_spin_unlock_irqrestore+0x79/0xe0 kernel/locking/spinlock.c:184 hardirqs last disabled at (266): [] __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:108 [inline] hardirqs last disabled at (266): [] _raw_spin_lock_irqsave+0x66/0xc0 kernel/locking/spinlock.c:152 softirqs last enabled at (0): [] copy_process.part.0+0x15b9/0x8260 kernel/fork.c:1856 softirqs last disabled at (0): [<0000000000000000>] (null) Preemption disabled at: [<0000000000000000>] (null) CPU: 1 PID: 12104 Comm: syz-executor.5 Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1fc/0x2ef lib/dump_stack.c:118 ___might_sleep.cold+0x235/0x250 kernel/sched/core.c:6192 slab_pre_alloc_hook mm/slab.h:422 [inline] slab_alloc mm/slab.c:3383 [inline] kmem_cache_alloc+0x26d/0x370 mm/slab.c:3557 ep_ptable_queue_proc+0xaf/0x390 fs/eventpoll.c:1242 poll_wait include/linux/poll.h:51 [inline] v4l2_m2m_poll+0x633/0x720 drivers/media/v4l2-core/v4l2-mem2mem.c:625 v4l2_m2m_fop_poll+0xa4/0x110 drivers/media/v4l2-core/v4l2-mem2mem.c:1058 v4l2_poll+0x146/0x1f0 drivers/media/v4l2-core/v4l2-dev.c:350 vfs_poll include/linux/poll.h:90 [inline] ep_item_poll+0x14a/0x3e0 fs/eventpoll.c:890 ep_insert fs/eventpoll.c:1479 [inline] __do_sys_epoll_ctl fs/eventpoll.c:2112 [inline] __se_sys_epoll_ctl+0x1b04/0x2b90 fs/eventpoll.c:1997 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7f8f08901e99 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f8f07277168 EFLAGS: 00000246 ORIG_RAX: 00000000000000e9 RAX: ffffffffffffffda RBX: 00007f8f08a14f60 RCX: 00007f8f08901e99 RDX: 0000000000000003 RSI: 0000000000000001 RDI: 0000000000000004 RBP: 00007f8f0895bff1 R08: 0000000000000000 R09: 0000000000000000 R10: 00000000200000c0 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffda3cb784f R14: 00007f8f07277300 R15: 0000000000022000 TCP: request_sock_TCPv6: Possible SYN flooding on port 20002. Sending cookies. Check SNMP counters. Cannot find add_set index 0 as target could not allocate digest TFM handle blake2s-160 Cannot find add_set index 0 as target Cannot find add_set index 0 as target TCP: request_sock_TCPv6: Possible SYN flooding on port 20002. Sending cookies. Check SNMP counters. TCP: request_sock_TCPv6: Possible SYN flooding on port 20002. Sending cookies. Check SNMP counters. Cannot find add_set index 0 as target TCP: request_sock_TCPv6: Possible SYN flooding on port 20002. Sending cookies. Check SNMP counters. TCP: request_sock_TCPv6: Possible SYN flooding on port 20002. Sending cookies. Check SNMP counters. TCP: request_sock_TCPv6: Possible SYN flooding on port 20002. Sending cookies. Check SNMP counters. TCP: request_sock_TCPv6: Possible SYN flooding on port 20002. Sending cookies. Check SNMP counters. hid-generic 0000:0000:0000.0001: unknown main item tag 0x0 hid-generic 0000:0000:0000.0001: hidraw0: HID v0.00 Device [syz0] on syz1 hid-generic 0000:0000:0000.0002: unknown main item tag 0x0 overlayfs: missing 'lowerdir' hid-generic 0000:0000:0000.0002: hidraw0: HID v0.00 Device [syz0] on syz1 hid-generic 0000:0000:0000.0003: unknown main item tag 0x0 hid-generic 0000:0000:0000.0003: hidraw0: HID v0.00 Device [syz0] on syz1 Cannot find del_set index 0 as target hid-generic 0000:0000:0000.0004: unknown main item tag 0x0 hid-generic 0000:0000:0000.0004: hidraw0: HID v0.00 Device [syz0] on syz1 capability: warning: `syz-executor.4' uses 32-bit capabilities (legacy support in use) Option ' ' to dns_resolver key: bad/missing value kauditd_printk_skb: 4 callbacks suppressed audit: type=1800 audit(1639497550.994:17): pid=12526 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed comm="syz-executor.0" name="SYSV00000000" dev="hugetlbfs" ino=32769 res=0 [drm:drm_mode_legacy_fb_format] *ERROR* bad bpp, assuming x8r8g8b8 pixel format MPI: mpi too large (211624 bits) dccp_invalid_packet: P.type (REQUEST) not Data || [Data]Ack, while P.X == 0 input: syz0 as /devices/virtual/input/input16 netlink: 4 bytes leftover after parsing attributes in process `syz-executor.0'. netlink: 'syz-executor.4': attribute type 10 has an invalid length. team0: Device veth0_macvtap is up. Set it down before adding it as a team port audit: type=1804 audit(1639497554.795:18): pid=12780 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=invalid_pcr cause=open_writers comm="syz-executor.0" name="/root/syzkaller-testdir685514956/syzkaller.WrtJYB/139/bus" dev="sda1" ino=14377 res=1 audit: type=1804 audit(1639497554.795:19): pid=12780 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=invalid_pcr cause=open_writers comm="syz-executor.0" name="/root/syzkaller-testdir685514956/syzkaller.WrtJYB/139/bus" dev="sda1" ino=14377 res=1 CUSE: unknown device info "" CUSE: unknown device info "* 2ՖI?" CUSE: unknown device info "&*e/4nhIJ[5M9{/d-skj/XPQ(ڡmtCohp)"_t}#(92|6\Qհe5]2Dni!8v[D`zkHu,g5_x!b 2$AOa׌z" CUSE: unknown device info "V" CUSE: DEVNAME unspecified audit: type=1804 audit(1639497555.105:20): pid=12798 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=invalid_pcr cause=open_writers comm="syz-executor.0" name="/root/syzkaller-testdir685514956/syzkaller.WrtJYB/140/bus" dev="sda1" ino=14384 res=1