attempt to access beyond end of device bridge0: port 3(veth1_to_bond) entered blocking state loop5: rw=12288, want=8200, limit=11 attempt to access beyond end of device BUG: sleeping function called from invalid context at mm/slab.h:422 in_atomic(): 1, irqs_disabled(): 1, pid: 13040, name: syz-executor.2 3 locks held by syz-executor.2/13040: #0: 00000000c18e2584 (&ep->mtx){+.+.}, at: __do_sys_epoll_ctl fs/eventpoll.c:2075 [inline] #0: 00000000c18e2584 (&ep->mtx){+.+.}, at: __se_sys_epoll_ctl+0x5d2/0x2b90 fs/eventpoll.c:1997 #1: 00000000b63103af (&dev->dev_mutex){+.+.}, at: v4l2_m2m_fop_poll+0x91/0x110 drivers/media/v4l2-core/v4l2-mem2mem.c:1056 #2: 000000005aec046e (&(&q->done_lock)->rlock){....}, at: v4l2_m2m_poll+0x140/0x720 drivers/media/v4l2-core/v4l2-mem2mem.c:623 irq event stamp: 666 hardirqs last enabled at (665): [] __raw_spin_unlock_irq include/linux/spinlock_api_smp.h:168 [inline] hardirqs last enabled at (665): [] _raw_spin_unlock_irq+0x24/0x80 kernel/locking/spinlock.c:192 hardirqs last disabled at (666): [] __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:108 [inline] hardirqs last disabled at (666): [] _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: 13040 Comm: syz-executor.2 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:0x7fe5efe16e99 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:00007fe5ee76b168 EFLAGS: 00000246 ORIG_RAX: 00000000000000e9 RAX: ffffffffffffffda RBX: 00007fe5eff2a030 RCX: 00007fe5efe16e99 RDX: 0000000000000003 RSI: 0000000000000001 RDI: 0000000000000005 RBP: 00007fe5efe70ff1 R08: 0000000000000000 R09: 0000000000000000 R10: 00000000200000c0 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe341c715f R14: 00007fe5ee76b300 R15: 0000000000022000 audit: type=1800 audit(1641213004.245:370): pid=13039 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="syz-executor.3" name="bus" dev="sda1" ino=14513 res=0 audit: type=1800 audit(1641213004.245:371): pid=13039 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="syz-executor.3" name="bus" dev="sda1" ino=14513 res=0 audit: type=1804 audit(1641213004.545:372): pid=13039 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=invalid_pcr cause=open_writers comm="syz-executor.3" name="/root/syzkaller-testdir806865526/syzkaller.4eMFgX/105/bus" dev="sda1" ino=14513 res=1 loop5: rw=12288, want=12296, limit=11 attempt to access beyond end of device bridge0: port 3(veth1_to_bond) entered disabled state loop5: rw=12288, want=8200, limit=11 attempt to access beyond end of device loop5: rw=12288, want=12296, limit=11 device veth1_to_bond entered promiscuous mode bridge0: port 3(veth1_to_bond) entered blocking state bridge0: port 3(veth1_to_bond) entered forwarding state device veth1_to_bond left promiscuous mode attempt to access beyond end of device bridge0: port 3(veth1_to_bond) entered disabled state loop5: rw=12288, want=8200, limit=11 bridge0: port 3(veth1_to_bond) entered blocking state attempt to access beyond end of device bridge0: port 3(veth1_to_bond) entered disabled state device veth1_to_bond entered promiscuous mode bridge0: port 3(veth1_to_bond) entered blocking state bridge0: port 3(veth1_to_bond) entered forwarding state loop5: rw=12288, want=12296, limit=11 attempt to access beyond end of device loop5: rw=12288, want=8200, limit=11 attempt to access beyond end of device loop5: rw=12288, want=12296, limit=11 device veth1_to_bond left promiscuous mode kvm [13127]: vcpu0, guest rIP: 0xfff0 disabled perfctr wrmsr: 0xc0010004 data 0x762ba46fa95f3264 attempt to access beyond end of device bridge0: port 3(veth1_to_bond) entered disabled state loop5: rw=12288, want=8200, limit=11 audit: type=1800 audit(1641213005.376:373): pid=13135 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="syz-executor.3" name="bus" dev="sda1" ino=14449 res=0 attempt to access beyond end of device audit: type=1800 audit(1641213005.376:374): pid=13135 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="syz-executor.3" name="bus" dev="sda1" ino=14449 res=0 audit: type=1804 audit(1641213005.376:375): pid=13153 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=invalid_pcr cause=open_writers comm="syz-executor.3" name="/root/syzkaller-testdir806865526/syzkaller.4eMFgX/106/bus" dev="sda1" ino=14449 res=1 kvm [13127]: vcpu0, guest rIP: 0xfff0 disabled perfctr wrmsr: 0xc2 data 0x3ad6e37883b8e6ec netlink: 4 bytes leftover after parsing attributes in process `syz-executor.0'. loop5: rw=12288, want=12296, limit=11 attempt to access beyond end of device loop5: rw=12288, want=8200, limit=11 attempt to access beyond end of device netlink: 24 bytes leftover after parsing attributes in process `syz-executor.4'. loop5: rw=12288, want=12296, limit=11 netlink: 24 bytes leftover after parsing attributes in process `syz-executor.4'. attempt to access beyond end of device loop5: rw=12288, want=8200, limit=11 kvm [13243]: vcpu0, guest rIP: 0xfff0 disabled perfctr wrmsr: 0xc0010004 data 0x762ba46fa95f3264 attempt to access beyond end of device loop5: rw=12288, want=12296, limit=11 netlink: 24 bytes leftover after parsing attributes in process `syz-executor.4'. kvm [13243]: vcpu0, guest rIP: 0xfff0 disabled perfctr wrmsr: 0xc2 data 0x3ad6e37883b8e6ec attempt to access beyond end of device audit: type=1800 audit(1641213006.646:376): pid=13284 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="syz-executor.3" name="bus" dev="sda1" ino=14593 res=0 loop5: rw=12288, want=8200, limit=11 attempt to access beyond end of device loop5: rw=12288, want=12296, limit=11 audit: type=1800 audit(1641213006.676:377): pid=13281 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="syz-executor.3" name="bus" dev="sda1" ino=14593 res=0 audit: type=1804 audit(1641213006.736:378): pid=13283 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=invalid_pcr cause=open_writers comm="syz-executor.3" name="/root/syzkaller-testdir806865526/syzkaller.4eMFgX/107/bus" dev="sda1" ino=14593 res=1 attempt to access beyond end of device loop5: rw=12288, want=8200, limit=11 attempt to access beyond end of device loop5: rw=12288, want=12296, limit=11 attempt to access beyond end of device loop5: rw=12288, want=8200, limit=11 attempt to access beyond end of device loop5: rw=12288, want=12296, limit=11 f2fs_msg: 25 callbacks suppressed F2FS-fs (loop5): Unable to read 2th superblock attempt to access beyond end of device loop5: rw=12288, want=8200, limit=11 attempt to access beyond end of device loop5: rw=12288, want=12296, limit=11 F2FS-fs (loop5): Failed to get valid F2FS checkpoint F2FS-fs (loop5): Magic Mismatch, valid(0xf2f52010) - read(0x0) F2FS-fs (loop5): Can't find valid F2FS filesystem in 2th superblock attempt to access beyond end of device loop5: rw=12288, want=8200, limit=11 attempt to access beyond end of device loop5: rw=12288, want=12296, limit=11 F2FS-fs (loop5): Failed to get valid F2FS checkpoint overlayfs: missing 'lowerdir' F2FS-fs (loop5): Unable to read 2th superblock attempt to access beyond end of device loop5: rw=12288, want=8200, limit=11 attempt to access beyond end of device loop5: rw=12288, want=12296, limit=11 F2FS-fs (loop5): Failed to get valid F2FS checkpoint F2FS-fs (loop5): Magic Mismatch, valid(0xf2f52010) - read(0x0) F2FS-fs (loop5): Can't find valid F2FS filesystem in 2th superblock attempt to access beyond end of device loop5: rw=12288, want=8200, limit=11 overlayfs: missing 'lowerdir' attempt to access beyond end of device loop5: rw=12288, want=12296, limit=11 F2FS-fs (loop5): Failed to get valid F2FS checkpoint attempt to access beyond end of device loop5: rw=12288, want=8200, limit=11 attempt to access beyond end of device loop5: rw=12288, want=12296, limit=11 attempt to access beyond end of device loop5: rw=12288, want=8200, limit=11 attempt to access beyond end of device loop5: rw=12288, want=12296, limit=11 overlayfs: missing 'lowerdir' attempt to access beyond end of device loop5: rw=12288, want=8200, limit=11 attempt to access beyond end of device loop5: rw=12288, want=12296, limit=11 attempt to access beyond end of device loop5: rw=12288, want=8200, limit=11 attempt to access beyond end of device loop5: rw=12288, want=12296, limit=11 attempt to access beyond end of device loop5: rw=12288, want=8200, limit=11 overlayfs: missing 'lowerdir' attempt to access beyond end of device loop5: rw=12288, want=12296, limit=11 attempt to access beyond end of device loop5: rw=12288, want=8200, limit=11 attempt to access beyond end of device loop5: rw=12288, want=12296, limit=11 attempt to access beyond end of device loop5: rw=12288, want=8200, limit=11 attempt to access beyond end of device loop5: rw=12288, want=12296, limit=11 attempt to access beyond end of device loop5: rw=12288, want=8200, limit=11 attempt to access beyond end of device loop5: rw=12288, want=12296, limit=11 overlayfs: missing 'lowerdir' attempt to access beyond end of device loop5: rw=12288, want=8200, limit=11 attempt to access beyond end of device loop5: rw=12288, want=12296, limit=11 attempt to access beyond end of device loop5: rw=12288, want=8200, limit=11 attempt to access beyond end of device loop5: rw=12288, want=12296, limit=11 attempt to access beyond end of device loop5: rw=12288, want=8200, limit=11 attempt to access beyond end of device loop5: rw=12288, want=12296, limit=11 attempt to access beyond end of device loop5: rw=12288, want=8200, limit=11 attempt to access beyond end of device loop5: rw=12288, want=12296, limit=11 attempt to access beyond end of device loop5: rw=12288, want=8200, limit=11 attempt to access beyond end of device loop5: rw=12288, want=12296, limit=11 attempt to access beyond end of device loop5: rw=12288, want=8200, limit=11 attempt to access beyond end of device loop5: rw=12288, want=12296, limit=11 f2fs_msg: 35 callbacks suppressed F2FS-fs (loop5): Unable to read 2th superblock attempt to access beyond end of device loop5: rw=12288, want=8200, limit=11 attempt to access beyond end of device loop5: rw=12288, want=12296, limit=11 F2FS-fs (loop5): Failed to get valid F2FS checkpoint F2FS-fs (loop5): Magic Mismatch, valid(0xf2f52010) - read(0x0) F2FS-fs (loop5): Can't find valid F2FS filesystem in 2th superblock attempt to access beyond end of device loop5: rw=12288, want=8200, limit=11 attempt to access beyond end of device loop5: rw=12288, want=12296, limit=11 F2FS-fs (loop5): Failed to get valid F2FS checkpoint F2FS-fs (loop5): Unable to read 2th superblock attempt to access beyond end of device loop5: rw=12288, want=8200, limit=11 attempt to access beyond end of device loop5: rw=12288, want=12296, limit=11 F2FS-fs (loop5): Failed to get valid F2FS checkpoint F2FS-fs (loop5): Magic Mismatch, valid(0xf2f52010) - read(0x0) F2FS-fs (loop5): Can't find valid F2FS filesystem in 2th superblock attempt to access beyond end of device loop5: rw=12288, want=8200, limit=11 attempt to access beyond end of device loop5: rw=12288, want=12296, limit=11 F2FS-fs (loop5): Failed to get valid F2FS checkpoint