usb usb9: usbfs: process 24750 (syz-executor.1) did not claim interface 0 before use BUG: sleeping function called from invalid context at mm/slab.h:422 in_atomic(): 1, irqs_disabled(): 1, pid: 24751, name: syz-executor.5 3 locks held by syz-executor.5/24751: #0: 000000008bd0c228 (&ep->mtx){+.+.}, at: __do_sys_epoll_ctl fs/eventpoll.c:2075 [inline] #0: 000000008bd0c228 (&ep->mtx){+.+.}, at: __se_sys_epoll_ctl+0x5d2/0x2b90 fs/eventpoll.c:1997 #1: 000000003f33eca6 (&dev->dev_mutex){+.+.}, at: v4l2_m2m_fop_poll+0x91/0x110 drivers/media/v4l2-core/v4l2-mem2mem.c:1056 #2: 000000004eea783e (&(&q->done_lock)->rlock){....}, at: v4l2_m2m_poll+0x140/0x720 drivers/media/v4l2-core/v4l2-mem2mem.c:623 irq event stamp: 268 hardirqs last enabled at (267): [] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:160 [inline] hardirqs last enabled at (267): [] _raw_spin_unlock_irqrestore+0x79/0xe0 kernel/locking/spinlock.c:184 hardirqs last disabled at (268): [] __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:108 [inline] hardirqs last disabled at (268): [] _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: 0 PID: 24751 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 usb usb9: usbfs: process 24758 (syz-executor.1) did not claim interface 0 before use 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 usb usb9: usbfs: process 24760 (syz-executor.1) did not claim interface 0 before use do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7fd99ba60e99 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:00007fd99a3d6168 EFLAGS: 00000246 ORIG_RAX: 00000000000000e9 RAX: ffffffffffffffda RBX: 00007fd99bb73f60 RCX: 00007fd99ba60e99 RDX: 0000000000000003 RSI: 0000000000000001 RDI: 0000000000000004 RBP: 00007fd99babaff1 R08: 0000000000000000 R09: 0000000000000000 R10: 00000000200000c0 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffcc778bd4f R14: 00007fd99a3d6300 R15: 0000000000022000 kauditd_printk_skb: 57 callbacks suppressed audit: type=1804 audit(1640754101.107:1026): pid=24823 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=invalid_pcr cause=open_writers comm="syz-executor.0" name="/root/syzkaller-testdir725816425/syzkaller.Bd5GI2/554/bus" dev="sda1" ino=15469 res=1 user_cmd nlpid 1621 usb usb9: usbfs: process 24886 (syz-executor.1) did not claim interface 0 before use audit: type=1804 audit(1640754102.107:1027): pid=24893 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=invalid_pcr cause=open_writers comm="syz-executor.0" name="/root/syzkaller-testdir725816425/syzkaller.Bd5GI2/555/bus" dev="sda1" ino=15467 res=1 usb usb9: usbfs: process 24907 (syz-executor.1) did not claim interface 0 before use usb usb9: usbfs: process 24924 (syz-executor.1) did not claim interface 0 before use usb usb9: usbfs: process 24940 (syz-executor.1) did not claim interface 0 before use audit: type=1804 audit(1640754103.057:1028): pid=24947 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=invalid_pcr cause=open_writers comm="syz-executor.0" name="/root/syzkaller-testdir725816425/syzkaller.Bd5GI2/556/bus" dev="sda1" ino=15467 res=1 user_cmd nlpid 1629 audit: type=1804 audit(1640754103.087:1029): pid=24947 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=invalid_pcr cause=open_writers comm="syz-executor.0" name="/root/syzkaller-testdir725816425/syzkaller.Bd5GI2/556/bus" dev="sda1" ino=15467 res=1 audit: type=1804 audit(1640754103.087:1030): pid=24947 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=invalid_pcr cause=open_writers comm="syz-executor.0" name="/root/syzkaller-testdir725816425/syzkaller.Bd5GI2/556/bus" dev="sda1" ino=15467 res=1 NILFS (loop0): couldn't find nilfs on the device audit: type=1804 audit(1640754103.087:1031): pid=24947 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=invalid_pcr cause=open_writers comm="syz-executor.0" name="/root/syzkaller-testdir725816425/syzkaller.Bd5GI2/556/bus" dev="sda1" ino=15467 res=1 audit: type=1804 audit(1640754103.087:1032): pid=24947 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=invalid_pcr cause=open_writers comm="syz-executor.0" name="/root/syzkaller-testdir725816425/syzkaller.Bd5GI2/556/bus" dev="sda1" ino=15467 res=1 NILFS (loop0): couldn't find nilfs on the device audit: type=1804 audit(1640754103.087:1033): pid=24947 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=invalid_pcr cause=open_writers comm="syz-executor.0" name="/root/syzkaller-testdir725816425/syzkaller.Bd5GI2/556/bus" dev="sda1" ino=15467 res=1 audit: type=1804 audit(1640754103.087:1034): pid=24947 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=invalid_pcr cause=open_writers comm="syz-executor.0" name="/root/syzkaller-testdir725816425/syzkaller.Bd5GI2/556/bus" dev="sda1" ino=15467 res=1 audit: type=1804 audit(1640754103.087:1035): pid=24947 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=invalid_pcr cause=open_writers comm="syz-executor.0" name="/root/syzkaller-testdir725816425/syzkaller.Bd5GI2/556/bus" dev="sda1" ino=15467 res=1 NILFS (loop0): couldn't find nilfs on the device user_cmd nlpid 1647 user_cmd nlpid 1655 kauditd_printk_skb: 23 callbacks suppressed audit: type=1804 audit(1640754106.547:1059): pid=25213 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=invalid_pcr cause=open_writers comm="syz-executor.0" name="/root/syzkaller-testdir725816425/syzkaller.Bd5GI2/566/bus" dev="sda1" ino=15639 res=1 nf_conntrack: default automatic helper assignment has been turned off for security reasons and CT-based firewall rule not found. Use the iptables CT target to attach helpers instead. audit: type=1804 audit(1640754107.457:1060): pid=25280 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=invalid_pcr cause=open_writers comm="syz-executor.3" name="/root/syzkaller-testdir067187378/syzkaller.bn2V6X/538/bus" dev="sda1" ino=15637 res=1 audit: type=1804 audit(1640754107.577:1061): pid=25288 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=invalid_pcr cause=open_writers comm="syz-executor.0" name="/root/syzkaller-testdir725816425/syzkaller.Bd5GI2/567/bus" dev="sda1" ino=15638 res=1 audit: type=1804 audit(1640754107.697:1062): pid=25285 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=invalid_pcr cause=open_writers comm="syz-executor.0" name="/root/syzkaller-testdir725816425/syzkaller.Bd5GI2/567/bus" dev="sda1" ino=15638 res=1 audit: type=1804 audit(1640754107.937:1063): pid=25326 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=invalid_pcr cause=open_writers comm="syz-executor.0" name="/root/syzkaller-testdir725816425/syzkaller.Bd5GI2/568/bus" dev="sda1" ino=15626 res=1 audit: type=1804 audit(1640754108.037:1064): pid=25316 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=invalid_pcr cause=open_writers comm="syz-executor.0" name="/root/syzkaller-testdir725816425/syzkaller.Bd5GI2/568/bus" dev="sda1" ino=15626 res=1 audit: type=1804 audit(1640754108.367:1065): pid=25377 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=invalid_pcr cause=open_writers comm="syz-executor.3" name="/root/syzkaller-testdir067187378/syzkaller.bn2V6X/539/bus" dev="sda1" ino=15638 res=1 user_cmd nlpid 1338 user_cmd nlpid 2732563368 user_cmd nlpid 1343 user_cmd nlpid 2823850516 user_cmd nlpid 2640492427 audit: type=1804 audit(1640754109.367:1066): pid=25438 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=invalid_pcr cause=open_writers comm="syz-executor.3" name="/root/syzkaller-testdir067187378/syzkaller.bn2V6X/540/bus" dev="sda1" ino=15654 res=1