kvm: vcpu 0: requested 128 ns lapic timer period limited to 500000 ns VFS: Found a Xenix FS (block size = 512) on device loop1 BUG: sleeping function called from invalid context at fs/buffer.c:1381 in_atomic(): 1, irqs_disabled(): 0, pid: 10436, name: syz-executor.1 3 locks held by syz-executor.1/10436: #0: (sb_writers#17){.+.+}, at: [] sb_start_write include/linux/fs.h:1551 [inline] #0: (sb_writers#17){.+.+}, at: [] mnt_want_write+0x3a/0xb0 fs/namespace.c:386 #1: (&sb->s_type->i_mutex_key#26){+.+.}, at: [] inode_lock include/linux/fs.h:719 [inline] #1: (&sb->s_type->i_mutex_key#26){+.+.}, at: [] do_truncate+0xf0/0x1a0 fs/open.c:61 #2: (pointers_lock#2){.+.+}, at: [] get_block+0x153/0x1230 fs/sysv/itree.c:217 Preemption disabled at: [< (null)>] (null) CPU: 0 PID: 10436 Comm: syz-executor.1 Not tainted 4.14.302-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 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 __getblk_gfp fs/buffer.c:1381 [inline] __bread_gfp+0x3e/0x2e0 fs/buffer.c:1428 sb_bread include/linux/buffer_head.h:343 [inline] get_branch+0x2ac/0x600 fs/sysv/itree.c:104 get_block+0x176/0x1230 fs/sysv/itree.c:218 block_truncate_page+0x2a8/0x8f0 fs/buffer.c:2944 sysv_truncate+0x1c4/0xd70 fs/sysv/itree.c:383 sysv_setattr+0x115/0x180 fs/sysv/file.c:47 notify_change+0x56b/0xd10 fs/attr.c:315 do_truncate+0xff/0x1a0 fs/open.c:63 vfs_truncate+0x456/0x680 fs/open.c:120 do_sys_truncate.part.0+0xdc/0xf0 fs/open.c:143 do_sys_truncate fs/open.c:137 [inline] SYSC_truncate fs/open.c:155 [inline] SyS_truncate+0x23/0x40 fs/open.c:153 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x5e/0xd3 RIP: 0033:0x7fa449e5a0a9 RSP: 002b:00007fa4483cc168 EFLAGS: 00000246 ORIG_RAX: 000000000000004c RAX: ffffffffffffffda RBX: 00007fa449f79f80 RCX: 00007fa449e5a0a9 RDX: 0000000000000000 RSI: 0000000000008001 RDI: 000000002000a340 RBP: 00007fa449eb5ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe6894349f R14: 00007fa4483cc300 R15: 0000000000022000 delete_channel: no stack device ‰ entered promiscuous mode F2FS-fs (loop5): Found nat_bits in checkpoint F2FS-fs (loop5): Mounted with checkpoint version = 48b305e5 audit: type=1800 audit(1672451546.511:2): pid=10584 uid=0 auid=4294967295 ses=4294967295 op="collect_data" cause="failed(directio)" comm="syz-executor.5" name="bus" dev="loop5" ino=10 res=0 attempt to access beyond end of device loop5: rw=2049, want=45104, limit=40427 NILFS (loop0): segctord starting. Construction interval = 5 seconds, CP frequency < 30 seconds netlink: 8 bytes leftover after parsing attributes in process `syz-executor.3'. audit: type=1800 audit(1672451546.871:3): pid=10652 uid=0 auid=4294967295 ses=4294967295 op="collect_data" cause="failed(directio)" comm="syz-executor.0" name="bus" dev="loop0" ino=18 res=0 netlink: 4 bytes leftover after parsing attributes in process `syz-executor.3'. audit: type=1800 audit(1672451546.881:4): pid=10652 uid=0 auid=4294967295 ses=4294967295 op="collect_data" cause="failed(directio)" comm="syz-executor.0" name="bus" dev="loop0" ino=18 res=0 xt_CT: netfilter: NOTRACK target is deprecated, use CT instead or upgrade iptables x_tables: ip6_tables: eui64 match: used from hooks INPUT/FORWARD/OUTPUT, but only valid from PREROUTING/INPUT/FORWARD F2FS-fs (loop5): Found nat_bits in checkpoint NILFS (loop0): segctord starting. Construction interval = 5 seconds, CP frequency < 30 seconds audit: type=1800 audit(1672451547.601:5): pid=10716 uid=0 auid=4294967295 ses=4294967295 op="collect_data" cause="failed(directio)" comm="syz-executor.0" name="bus" dev="loop0" ino=18 res=0 F2FS-fs (loop5): Mounted with checkpoint version = 48b305e5 audit: type=1800 audit(1672451547.631:6): pid=10716 uid=0 auid=4294967295 ses=4294967295 op="collect_data" cause="failed(directio)" comm="syz-executor.0" name="bus" dev="loop0" ino=18 res=0 audit: type=1800 audit(1672451547.651:7): pid=10655 uid=0 auid=4294967295 ses=4294967295 op="collect_data" cause="failed(directio)" comm="syz-executor.5" name="bus" dev="loop5" ino=10 res=0 NILFS (loop2): segctord starting. Construction interval = 5 seconds, CP frequency < 30 seconds audit: type=1800 audit(1672451547.831:8): pid=10736 uid=0 auid=4294967295 ses=4294967295 op="collect_data" cause="failed(directio)" comm="syz-executor.2" name="bus" dev="loop2" ino=18 res=0 bridge0: port 2(bridge_slave_1) entered disabled state bridge0: port 1(bridge_slave_0) entered disabled state audit: type=1800 audit(1672451547.841:9): pid=10736 uid=0 auid=4294967295 ses=4294967295 op="collect_data" cause="failed(directio)" comm="syz-executor.2" name="bus" dev="loop2" ino=18 res=0 attempt to access beyond end of device device bridge_slave_1 left promiscuous mode bridge0: port 2(bridge_slave_1) entered disabled state device bridge_slave_0 left promiscuous mode loop5: rw=2049, want=45104, limit=40427 bridge0: port 1(bridge_slave_0) entered disabled state NILFS (loop0): segctord starting. Construction interval = 5 seconds, CP frequency < 30 seconds audit: type=1800 audit(1672451548.461:10): pid=10779 uid=0 auid=4294967295 ses=4294967295 op="collect_data" cause="failed(directio)" comm="syz-executor.0" name="bus" dev="loop0" ino=18 res=0 audit: type=1800 audit(1672451548.461:11): pid=10779 uid=0 auid=4294967295 ses=4294967295 op="collect_data" cause="failed(directio)" comm="syz-executor.0" name="bus" dev="loop0" ino=18 res=0 NILFS (loop2): segctord starting. Construction interval = 5 seconds, CP frequency < 30 seconds F2FS-fs (loop5): Found nat_bits in checkpoint F2FS-fs (loop5): Mounted with checkpoint version = 48b305e5 NILFS (loop2): segctord starting. Construction interval = 5 seconds, CP frequency < 30 seconds attempt to access beyond end of device NILFS (loop0): segctord starting. Construction interval = 5 seconds, CP frequency < 30 seconds EXT4-fs (loop1): mounted filesystem without journal. Opts: ,errors=continue loop5: rw=2049, want=45104, limit=40427 F2FS-fs (loop5): Found nat_bits in checkpoint F2FS-fs (loop5): Mounted with checkpoint version = 48b305e5 EXT4-fs (loop4): mounted filesystem without journal. Opts: ,errors=continue EXT4-fs (loop0): mounted filesystem without journal. Opts: ,errors=continue EXT4-fs (loop1): mounted filesystem without journal. Opts: ,errors=continue attempt to access beyond end of device loop5: rw=2049, want=45104, limit=40427 EXT4-fs (loop4): mounted filesystem without journal. Opts: ,errors=continue EXT4-fs (loop0): mounted filesystem without journal. Opts: ,errors=continue EXT4-fs (loop1): mounted filesystem without journal. Opts: ,errors=continue EXT4-fs (loop4): mounted filesystem without journal. Opts: ,errors=continue EXT4-fs (loop1): mounted filesystem without journal. Opts: ,errors=continue