====================================================== WARNING: possible circular locking dependency detected 4.19.211-syzkaller #0 Not tainted ------------------------------------------------------ syz-executor.5/19144 is trying to acquire lock: 00000000657362ea (&sb->s_type->i_mutex_key#10){++++}, at: inode_lock include/linux/fs.h:748 [inline] 00000000657362ea (&sb->s_type->i_mutex_key#10){++++}, at: __generic_file_fsync+0xb0/0x1f0 fs/libfs.c:989 but task is already holding lock: 00000000a502ea1f (loop_ctl_mutex){+.+.}, at: loop_set_fd drivers/block/loop.c:956 [inline] 00000000a502ea1f (loop_ctl_mutex){+.+.}, at: lo_ioctl+0x1bb/0x20e0 drivers/block/loop.c:1576 which lock already depends on the new lock. the existing dependency chain (in reverse order) is: -> #7 (loop_ctl_mutex){+.+.}: lo_open+0x19/0xd0 drivers/block/loop.c:1771 __blkdev_get+0x372/0x1480 fs/block_dev.c:1494 blkdev_get+0xb0/0x940 fs/block_dev.c:1627 blkdev_open+0x202/0x290 fs/block_dev.c:1788 do_dentry_open+0x4aa/0x1160 fs/open.c:796 do_last fs/namei.c:3421 [inline] path_openat+0x793/0x2df0 fs/namei.c:3537 do_filp_open+0x18c/0x3f0 fs/namei.c:3567 do_sys_open+0x3b3/0x520 fs/open.c:1085 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe -> #6 (&bdev->bd_mutex){+.+.}: blkdev_put+0x30/0x520 fs/block_dev.c:1839 btrfs_close_bdev fs/btrfs/volumes.c:1033 [inline] btrfs_close_one_device fs/btrfs/volumes.c:1057 [inline] close_fs_devices.part.0+0x24d/0x8e0 fs/btrfs/volumes.c:1085 close_fs_devices fs/btrfs/volumes.c:1117 [inline] btrfs_close_devices+0x95/0x1f0 fs/btrfs/volumes.c:1103 open_ctree+0x26b/0x61e0 fs/btrfs/disk-io.c:3326 btrfs_fill_super fs/btrfs/super.c:1209 [inline] btrfs_mount_root+0x12e5/0x1830 fs/btrfs/super.c:1613 mount_fs+0xa3/0x310 fs/super.c:1261 vfs_kern_mount.part.0+0x68/0x470 fs/namespace.c:961 vfs_kern_mount+0x3c/0x60 fs/namespace.c:951 btrfs_mount+0x23a/0xaa0 fs/btrfs/super.c:1681 mount_fs+0xa3/0x310 fs/super.c:1261 vfs_kern_mount.part.0+0x68/0x470 fs/namespace.c:961 vfs_kern_mount fs/namespace.c:951 [inline] do_new_mount fs/namespace.c:2492 [inline] do_mount+0x115c/0x2f50 fs/namespace.c:2822 ksys_mount+0xcf/0x130 fs/namespace.c:3038 __do_sys_mount fs/namespace.c:3052 [inline] __se_sys_mount fs/namespace.c:3049 [inline] __x64_sys_mount+0xba/0x150 fs/namespace.c:3049 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe -> #5 (&fs_devs->device_list_mutex){+.+.}: btrfs_run_dev_stats+0xbb/0xa80 fs/btrfs/volumes.c:7111 commit_cowonly_roots+0x1ce/0xc30 fs/btrfs/transaction.c:1172 btrfs_commit_transaction+0x94a/0x2480 fs/btrfs/transaction.c:2218 btrfs_clear_free_space_tree+0x69d/0xa50 fs/btrfs/free-space-tree.c:1255 open_ctree.cold+0x30/0xc3d fs/btrfs/disk-io.c:3203 btrfs_fill_super fs/btrfs/super.c:1209 [inline] btrfs_mount_root+0x12e5/0x1830 fs/btrfs/super.c:1613 mount_fs+0xa3/0x310 fs/super.c:1261 vfs_kern_mount.part.0+0x68/0x470 fs/namespace.c:961 vfs_kern_mount+0x3c/0x60 fs/namespace.c:951 btrfs_mount+0x23a/0xaa0 fs/btrfs/super.c:1681 mount_fs+0xa3/0x310 fs/super.c:1261 vfs_kern_mount.part.0+0x68/0x470 fs/namespace.c:961 vfs_kern_mount fs/namespace.c:951 [inline] do_new_mount fs/namespace.c:2492 [inline] do_mount+0x115c/0x2f50 fs/namespace.c:2822 ksys_mount+0xcf/0x130 fs/namespace.c:3038 __do_sys_mount fs/namespace.c:3052 [inline] __se_sys_mount fs/namespace.c:3049 [inline] __x64_sys_mount+0xba/0x150 fs/namespace.c:3049 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe -> #4 (&fs_info->tree_log_mutex){+.+.}: btrfs_commit_transaction+0x8c2/0x2480 fs/btrfs/transaction.c:2176 btrfs_clear_free_space_tree+0x69d/0xa50 fs/btrfs/free-space-tree.c:1255 open_ctree.cold+0x30/0xc3d fs/btrfs/disk-io.c:3203 btrfs_fill_super fs/btrfs/super.c:1209 [inline] btrfs_mount_root+0x12e5/0x1830 fs/btrfs/super.c:1613 mount_fs+0xa3/0x310 fs/super.c:1261 vfs_kern_mount.part.0+0x68/0x470 fs/namespace.c:961 vfs_kern_mount+0x3c/0x60 fs/namespace.c:951 btrfs_mount+0x23a/0xaa0 fs/btrfs/super.c:1681 mount_fs+0xa3/0x310 fs/super.c:1261 vfs_kern_mount.part.0+0x68/0x470 fs/namespace.c:961 vfs_kern_mount fs/namespace.c:951 [inline] do_new_mount fs/namespace.c:2492 [inline] do_mount+0x115c/0x2f50 fs/namespace.c:2822 ksys_mount+0xcf/0x130 fs/namespace.c:3038 __do_sys_mount fs/namespace.c:3052 [inline] __se_sys_mount fs/namespace.c:3049 [inline] __x64_sys_mount+0xba/0x150 fs/namespace.c:3049 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe -> #3 (&fs_info->reloc_mutex){+.+.}: btrfs_commit_transaction+0x80b/0x2480 fs/btrfs/transaction.c:2120 btrfs_clear_free_space_tree+0x69d/0xa50 fs/btrfs/free-space-tree.c:1255 open_ctree.cold+0x30/0xc3d fs/btrfs/disk-io.c:3203 btrfs_fill_super fs/btrfs/super.c:1209 [inline] btrfs_mount_root+0x12e5/0x1830 fs/btrfs/super.c:1613 mount_fs+0xa3/0x310 fs/super.c:1261 vfs_kern_mount.part.0+0x68/0x470 fs/namespace.c:961 vfs_kern_mount+0x3c/0x60 fs/namespace.c:951 btrfs_mount+0x23a/0xaa0 fs/btrfs/super.c:1681 mount_fs+0xa3/0x310 fs/super.c:1261 vfs_kern_mount.part.0+0x68/0x470 fs/namespace.c:961 vfs_kern_mount fs/namespace.c:951 [inline] do_new_mount fs/namespace.c:2492 [inline] do_mount+0x115c/0x2f50 fs/namespace.c:2822 ksys_mount+0xcf/0x130 fs/namespace.c:3038 __do_sys_mount fs/namespace.c:3052 [inline] __se_sys_mount fs/namespace.c:3049 [inline] __x64_sys_mount+0xba/0x150 fs/namespace.c:3049 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe -> #2 (sb_internal#3){.+.+}: sb_start_intwrite include/linux/fs.h:1626 [inline] start_transaction+0xa37/0xf90 fs/btrfs/transaction.c:528 btrfs_dirty_inode+0xe3/0x210 fs/btrfs/inode.c:6165 btrfs_update_time+0x33b/0x3d0 fs/btrfs/inode.c:6207 update_time fs/inode.c:1675 [inline] touch_atime+0x23c/0x2a0 fs/inode.c:1746 file_accessed include/linux/fs.h:2123 [inline] btrfs_file_mmap+0x11b/0x160 fs/btrfs/file.c:2274 call_mmap include/linux/fs.h:1826 [inline] mmap_region+0xc94/0x16b0 mm/mmap.c:1757 do_mmap+0x8e8/0x1080 mm/mmap.c:1530 do_mmap_pgoff include/linux/mm.h:2329 [inline] vm_mmap_pgoff+0x197/0x200 mm/util.c:357 ksys_mmap_pgoff+0x298/0x5a0 mm/mmap.c:1580 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe -> #1 (&mm->mmap_sem){++++}: get_user_pages_unlocked+0xbd/0x400 mm/gup.c:1038 get_user_pages_fast+0x2a0/0x350 mm/gup.c:1923 iov_iter_get_pages+0x25b/0xe80 lib/iov_iter.c:1211 dio_refill_pages fs/direct-io.c:170 [inline] dio_get_page fs/direct-io.c:214 [inline] do_direct_IO fs/direct-io.c:982 [inline] do_blockdev_direct_IO fs/direct-io.c:1333 [inline] __blockdev_direct_IO+0x5b6e/0xef40 fs/direct-io.c:1419 ext4_direct_IO_write fs/ext4/inode.c:3777 [inline] ext4_direct_IO+0xae4/0x1c50 fs/ext4/inode.c:3915 generic_file_direct_write+0x208/0x4a0 mm/filemap.c:3073 __generic_file_write_iter+0x2d0/0x610 mm/filemap.c:3252 ext4_file_write_iter+0x2fe/0xf20 fs/ext4/file.c:272 call_write_iter include/linux/fs.h:1821 [inline] new_sync_write fs/read_write.c:474 [inline] __vfs_write+0x51b/0x770 fs/read_write.c:487 vfs_write+0x1f3/0x540 fs/read_write.c:549 ksys_write+0x12b/0x2a0 fs/read_write.c:599 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe -> #0 (&sb->s_type->i_mutex_key#10){++++}: down_write+0x34/0x90 kernel/locking/rwsem.c:70 inode_lock include/linux/fs.h:748 [inline] __generic_file_fsync+0xb0/0x1f0 fs/libfs.c:989 ext4_sync_file+0xa35/0x1420 fs/ext4/fsync.c:118 vfs_fsync_range fs/sync.c:197 [inline] vfs_fsync+0x127/0x1f0 fs/sync.c:211 __loop_update_dio+0x4cd/0x690 drivers/block/loop.c:209 loop_update_dio drivers/block/loop.c:636 [inline] loop_set_fd drivers/block/loop.c:1000 [inline] lo_ioctl+0xeee/0x20e0 drivers/block/loop.c:1576 __blkdev_driver_ioctl block/ioctl.c:303 [inline] blkdev_ioctl+0x5cb/0x1a80 block/ioctl.c:601 block_ioctl+0xe9/0x130 fs/block_dev.c:1906 vfs_ioctl fs/ioctl.c:46 [inline] file_ioctl fs/ioctl.c:501 [inline] do_vfs_ioctl+0xcdb/0x12e0 fs/ioctl.c:688 ksys_ioctl+0x9b/0xc0 fs/ioctl.c:705 __do_sys_ioctl fs/ioctl.c:712 [inline] __se_sys_ioctl fs/ioctl.c:710 [inline] __x64_sys_ioctl+0x6f/0xb0 fs/ioctl.c:710 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe other info that might help us debug this: Chain exists of: &sb->s_type->i_mutex_key#10 --> &bdev->bd_mutex --> loop_ctl_mutex Possible unsafe locking scenario: CPU0 CPU1 ---- ---- lock(loop_ctl_mutex); lock(&bdev->bd_mutex); lock(loop_ctl_mutex); lock(&sb->s_type->i_mutex_key#10); *** DEADLOCK *** 1 lock held by syz-executor.5/19144: #0: 00000000a502ea1f (loop_ctl_mutex){+.+.}, at: loop_set_fd drivers/block/loop.c:956 [inline] #0: 00000000a502ea1f (loop_ctl_mutex){+.+.}, at: lo_ioctl+0x1bb/0x20e0 drivers/block/loop.c:1576 stack backtrace: CPU: 1 PID: 19144 Comm: syz-executor.5 Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1fc/0x2ef lib/dump_stack.c:118 print_circular_bug.constprop.0.cold+0x2d7/0x41e kernel/locking/lockdep.c:1222 check_prev_add kernel/locking/lockdep.c:1866 [inline] check_prevs_add kernel/locking/lockdep.c:1979 [inline] validate_chain kernel/locking/lockdep.c:2420 [inline] __lock_acquire+0x30c9/0x3ff0 kernel/locking/lockdep.c:3416 lock_acquire+0x170/0x3c0 kernel/locking/lockdep.c:3908 down_write+0x34/0x90 kernel/locking/rwsem.c:70 inode_lock include/linux/fs.h:748 [inline] __generic_file_fsync+0xb0/0x1f0 fs/libfs.c:989 ext4_sync_file+0xa35/0x1420 fs/ext4/fsync.c:118 vfs_fsync_range fs/sync.c:197 [inline] vfs_fsync+0x127/0x1f0 fs/sync.c:211 __loop_update_dio+0x4cd/0x690 drivers/block/loop.c:209 loop_update_dio drivers/block/loop.c:636 [inline] loop_set_fd drivers/block/loop.c:1000 [inline] lo_ioctl+0xeee/0x20e0 drivers/block/loop.c:1576 __blkdev_driver_ioctl block/ioctl.c:303 [inline] blkdev_ioctl+0x5cb/0x1a80 block/ioctl.c:601 block_ioctl+0xe9/0x130 fs/block_dev.c:1906 vfs_ioctl fs/ioctl.c:46 [inline] file_ioctl fs/ioctl.c:501 [inline] do_vfs_ioctl+0xcdb/0x12e0 fs/ioctl.c:688 ksys_ioctl+0x9b/0xc0 fs/ioctl.c:705 __do_sys_ioctl fs/ioctl.c:712 [inline] __se_sys_ioctl fs/ioctl.c:710 [inline] __x64_sys_ioctl+0x6f/0xb0 fs/ioctl.c:710 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7f75ae3250c9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 00 00 90 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f75ac876168 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f75ae445050 RCX: 00007f75ae3250c9 RDX: 0000000000000013 RSI: 0000000000004c00 RDI: 0000000000000012 RBP: 00007f75ae380ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffcb6e5d74f R14: 00007f75ac876300 R15: 0000000000022000 XFS (loop0): Mounting V4 Filesystem XFS (loop0): Ending clean mount netlink: 'syz-executor.1': attribute type 4 has an invalid length. XFS (loop0): Quotacheck needed: Please wait. XFS (loop0): Quotacheck: Done. netlink: 8 bytes leftover after parsing attributes in process `syz-executor.3'. XFS (loop0): Unmounting Filesystem EXT4-fs (loop3): mounted filesystem without journal. Opts: ,errors=continue audit: type=1804 audit(1675167310.157:284): pid=19208 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=invalid_pcr cause=open_writers comm="syz-executor.3" name="/root/syzkaller-testdir276773669/syzkaller.sys2BV/199/file0/bus" dev="loop3" ino=18 res=1 EXT4-fs error (device loop3): ext4_mb_generate_buddy:744: group 0, block bitmap and bg descriptor inconsistent: 25 vs 150994969 free clusters audit: type=1804 audit(1675167310.187:285): pid=19208 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=invalid_pcr cause=ToMToU comm="syz-executor.3" name="/root/syzkaller-testdir276773669/syzkaller.sys2BV/199/file0/bus" dev="loop3" ino=18 res=1 netlink: 8 bytes leftover after parsing attributes in process `syz-executor.3'. EXT4-fs (loop3): Delayed block allocation failed for inode 18 at logical offset 0 with max blocks 1 with error 28 EXT4-fs (loop5): mounted filesystem without journal. Opts: ,errors=continue EXT4-fs (loop3): This should not happen!! Data will be lost audit: type=1804 audit(1675167310.447:286): pid=19219 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=invalid_pcr cause=open_writers comm="syz-executor.5" name="/root/syzkaller-testdir2060785848/syzkaller.P1dtKA/235/file0/bus" dev="loop5" ino=18 res=1 EXT4-fs (loop3): Total free blocks count 0 EXT4-fs error (device loop5): ext4_mb_generate_buddy:744: group 0, block bitmap and bg descriptor inconsistent: 25 vs 150994969 free clusters EXT4-fs (loop5): Delayed block allocation failed for inode 18 at logical offset 0 with max blocks 1 with error 28 audit: type=1804 audit(1675167310.447:287): pid=19219 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=invalid_pcr cause=ToMToU comm="syz-executor.5" name="/root/syzkaller-testdir2060785848/syzkaller.P1dtKA/235/file0/bus" dev="loop5" ino=18 res=1 EXT4-fs (loop3): Free/Dirty block details EXT4-fs (loop5): This should not happen!! Data will be lost EXT4-fs (loop5): Total free blocks count 0 EXT4-fs (loop5): Free/Dirty block details EXT4-fs (loop5): free_blocks=2415919104 EXT4-fs (loop5): dirty_blocks=320 EXT4-fs (loop5): Block reservation details EXT4-fs (loop3): free_blocks=2415919104 EXT4-fs (loop3): dirty_blocks=48 EXT4-fs (loop3): Block reservation details netlink: 8 bytes leftover after parsing attributes in process `syz-executor.5'. EXT4-fs (loop5): i_reserved_data_blocks=1 EXT4-fs (loop3): i_reserved_data_blocks=1 EXT4-fs (loop3): Delayed block allocation failed for inode 19 at logical offset 0 with max blocks 32 with error 28 EXT4-fs (loop3): This should not happen!! Data will be lost EXT4-fs (loop5): Delayed block allocation failed for inode 19 at logical offset 0 with max blocks 32 with error 28 EXT4-fs (loop5): This should not happen!! Data will be lost EXT4-fs (loop1): mounted filesystem without journal. Opts: ,errors=continue audit: type=1804 audit(1675167311.167:288): pid=19242 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=invalid_pcr cause=open_writers comm="syz-executor.1" name="/root/syzkaller-testdir1795590101/syzkaller.xoYHxI/237/file0/bus" dev="loop1" ino=18 res=1 XFS (loop0): Mounting V4 Filesystem XFS (loop0): Ending clean mount EXT4-fs (loop3): mounted filesystem without journal. Opts: ,errors=continue XFS (loop0): Quotacheck needed: Please wait. EXT4-fs error (device loop1): ext4_mb_generate_buddy:744: group 0, block bitmap and bg descriptor inconsistent: 25 vs 150994969 free clusters XFS (loop0): Quotacheck: Done. EXT4-fs (loop1): Delayed block allocation failed for inode 18 at logical offset 0 with max blocks 1 with error 28 audit: type=1804 audit(1675167311.197:289): pid=19242 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=invalid_pcr cause=ToMToU comm="syz-executor.1" name="/root/syzkaller-testdir1795590101/syzkaller.xoYHxI/237/file0/bus" dev="loop1" ino=18 res=1 EXT4-fs (loop1): This should not happen!! Data will be lost XFS (loop0): Unmounting Filesystem EXT4-fs error (device loop3): ext4_mb_generate_buddy:744: group 0, block bitmap and bg descriptor inconsistent: 25 vs 150994969 free clusters EXT4-fs (loop5): mounted filesystem without journal. Opts: ,errors=continue EXT4-fs (loop1): Total free blocks count 0 audit: type=1804 audit(1675167311.327:290): pid=19252 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=invalid_pcr cause=open_writers comm="syz-executor.3" name="/root/syzkaller-testdir276773669/syzkaller.sys2BV/200/file0/bus" dev="loop3" ino=18 res=1 netlink: 8 bytes leftover after parsing attributes in process `syz-executor.1'. EXT4-fs (loop1): Free/Dirty block details EXT4-fs (loop3): Delayed block allocation failed for inode 18 at logical offset 0 with max blocks 1 with error 28 EXT4-fs (loop1): free_blocks=2415919104 EXT4-fs (loop3): This should not happen!! Data will be lost EXT4-fs (loop1): dirty_blocks=608 EXT4-fs error (device loop5): ext4_mb_generate_buddy:744: group 0, block bitmap and bg descriptor inconsistent: 25 vs 150994969 free clusters EXT4-fs (loop3): Total free blocks count 0 EXT4-fs (loop1): Block reservation details audit: type=1804 audit(1675167311.327:291): pid=19252 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=invalid_pcr cause=ToMToU comm="syz-executor.3" name="/root/syzkaller-testdir276773669/syzkaller.sys2BV/200/file0/bus" dev="loop3" ino=18 res=1 EXT4-fs (loop1): i_reserved_data_blocks=1 EXT4-fs (loop5): Delayed block allocation failed for inode 18 at logical offset 0 with max blocks 1 with error 28 EXT4-fs (loop3): Free/Dirty block details EXT4-fs (loop3): free_blocks=2415919104 EXT4-fs (loop5): This should not happen!! Data will be lost EXT4-fs (loop3): dirty_blocks=560 EXT4-fs (loop1): Delayed block allocation failed for inode 19 at logical offset 0 with max blocks 32 with error 28 audit: type=1804 audit(1675167311.637:292): pid=19262 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=invalid_pcr cause=open_writers comm="syz-executor.5" name="/root/syzkaller-testdir2060785848/syzkaller.P1dtKA/236/file0/bus" dev="loop5" ino=18 res=1 EXT4-fs (loop5): Total free blocks count 0 EXT4-fs (loop1): This should not happen!! Data will be lost EXT4-fs (loop3): Block reservation details netlink: 8 bytes leftover after parsing attributes in process `syz-executor.5'. EXT4-fs (loop3): i_reserved_data_blocks=1 audit: type=1804 audit(1675167311.637:293): pid=19262 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=invalid_pcr cause=ToMToU comm="syz-executor.5" name="/root/syzkaller-testdir2060785848/syzkaller.P1dtKA/236/file0/bus" dev="loop5" ino=18 res=1 EXT4-fs (loop5): Free/Dirty block details EXT4-fs (loop3): Delayed block allocation failed for inode 19 at logical offset 0 with max blocks 32 with error 28 EXT4-fs (loop5): free_blocks=2415919104 EXT4-fs (loop3): This should not happen!! Data will be lost EXT4-fs (loop5): dirty_blocks=368 EXT4-fs (loop5): Block reservation details EXT4-fs (loop5): i_reserved_data_blocks=1 EXT4-fs (loop5): Delayed block allocation failed for inode 19 at logical offset 0 with max blocks 32 with error 28 EXT4-fs (loop5): This should not happen!! Data will be lost EXT4-fs (loop3): mounted filesystem without journal. Opts: ,errors=continue EXT4-fs (loop1): mounted filesystem without journal. Opts: ,errors=continue EXT4-fs error (device loop1): ext4_mb_generate_buddy:744: group 0, block bitmap and bg descriptor inconsistent: 25 vs 150994969 free clusters EXT4-fs (loop5): mounted filesystem without journal. Opts: ,errors=continue EXT4-fs error (device loop3): ext4_mb_generate_buddy:744: group 0, block bitmap and bg descriptor inconsistent: 25 vs 150994969 free clusters EXT4-fs (loop1): Delayed block allocation failed for inode 18 at logical offset 0 with max blocks 1 with error 28 EXT4-fs error (device loop5): ext4_mb_generate_buddy:744: group 0, block bitmap and bg descriptor inconsistent: 25 vs 150994969 free clusters EXT4-fs (loop3): Delayed block allocation failed for inode 18 at logical offset 0 with max blocks 1 with error 28 EXT4-fs (loop5): Delayed block allocation failed for inode 18 at logical offset 0 with max blocks 1 with error 28 EXT4-fs (loop1): This should not happen!! Data will be lost EXT4-fs (loop3): This should not happen!! Data will be lost EXT4-fs (loop5): This should not happen!! Data will be lost netlink: 8 bytes leftover after parsing attributes in process `syz-executor.1'. EXT4-fs (loop1): Total free blocks count 0 netlink: 8 bytes leftover after parsing attributes in process `syz-executor.4'. EXT4-fs (loop3): Total free blocks count 0 EXT4-fs (loop1): Free/Dirty block details EXT4-fs (loop5): Total free blocks count 0 EXT4-fs (loop3): Free/Dirty block details EXT4-fs (loop1): free_blocks=2415919104 EXT4-fs (loop5): Free/Dirty block details EXT4-fs (loop1): dirty_blocks=528 EXT4-fs (loop3): free_blocks=2415919104 EXT4-fs (loop5): free_blocks=2415919104 EXT4-fs (loop1): Block reservation details EXT4-fs (loop5): dirty_blocks=560 EXT4-fs (loop1): i_reserved_data_blocks=1 EXT4-fs (loop3): dirty_blocks=352 EXT4-fs (loop5): Block reservation details XFS (loop0): Mounting V4 Filesystem EXT4-fs (loop3): Block reservation details EXT4-fs (loop5): i_reserved_data_blocks=1 EXT4-fs (loop3): i_reserved_data_blocks=1 EXT4-fs (loop1): Delayed block allocation failed for inode 19 at logical offset 0 with max blocks 32 with error 28 XFS (loop0): Ending clean mount EXT4-fs (loop1): This should not happen!! Data will be lost XFS (loop0): Quotacheck needed: Please wait. EXT4-fs (loop3): Delayed block allocation failed for inode 19 at logical offset 0 with max blocks 32 with error 28 EXT4-fs (loop3): This should not happen!! Data will be lost XFS (loop0): Quotacheck: Done. EXT4-fs (loop5): Delayed block allocation failed for inode 19 at logical offset 0 with max blocks 32 with error 28 XFS (loop0): Unmounting Filesystem EXT4-fs (loop5): This should not happen!! Data will be lost EXT4-fs (loop1): mounted filesystem without journal. Opts: ,errors=continue EXT4-fs (loop3): mounted filesystem without journal. Opts: ,errors=continue EXT4-fs error (device loop1): ext4_mb_generate_buddy:744: group 0, block bitmap and bg descriptor inconsistent: 25 vs 150994969 free clusters EXT4-fs (loop5): mounted filesystem without journal. Opts: ,errors=continue EXT4-fs error (device loop3): ext4_mb_generate_buddy:744: group 0, block bitmap and bg descriptor inconsistent: 25 vs 150994969 free clusters EXT4-fs (loop1): Delayed block allocation failed for inode 18 at logical offset 0 with max blocks 1 with error 28 EXT4-fs (loop3): Delayed block allocation failed for inode 18 at logical offset 0 with max blocks 1 with error 28 EXT4-fs (loop1): This should not happen!! Data will be lost netlink: 8 bytes leftover after parsing attributes in process `syz-executor.1'. EXT4-fs error (device loop5): ext4_mb_generate_buddy:744: group 0, block bitmap and bg descriptor inconsistent: 25 vs 150994969 free clusters EXT4-fs (loop1): Total free blocks count 0 EXT4-fs (loop3): This should not happen!! Data will be lost netlink: 8 bytes leftover after parsing attributes in process `syz-executor.4'. EXT4-fs (loop1): Free/Dirty block details EXT4-fs (loop3): Total free blocks count 0 EXT4-fs (loop1): free_blocks=2415919104 EXT4-fs (loop1): dirty_blocks=304 EXT4-fs (loop5): Delayed block allocation failed for inode 18 at logical offset 0 with max blocks 1 with error 28 EXT4-fs (loop0): mounted filesystem without journal. Opts: ,errors=continue EXT4-fs (loop3): Free/Dirty block details EXT4-fs (loop1): Block reservation details EXT4-fs (loop3): free_blocks=2415919104 EXT4-fs (loop1): i_reserved_data_blocks=1 EXT4-fs (loop3): dirty_blocks=320 EXT4-fs (loop5): This should not happen!! Data will be lost EXT4-fs (loop3): Block reservation details EXT4-fs (loop1): Delayed block allocation failed for inode 19 at logical offset 0 with max blocks 32 with error 28 EXT4-fs (loop5): Total free blocks count 0 EXT4-fs (loop3): i_reserved_data_blocks=1 EXT4-fs (loop1): This should not happen!! Data will be lost EXT4-fs (loop5): Free/Dirty block details EXT4-fs error (device loop0): ext4_mb_generate_buddy:744: group 0, block bitmap and bg descriptor inconsistent: 25 vs 150994969 free clusters EXT4-fs (loop5): free_blocks=2415919104 EXT4-fs (loop3): Delayed block allocation failed for inode 19 at logical offset 0 with max blocks 32 with error 28 EXT4-fs (loop0): Delayed block allocation failed for inode 18 at logical offset 0 with max blocks 1 with error 28 EXT4-fs (loop5): dirty_blocks=528 EXT4-fs (loop3): This should not happen!! Data will be lost EXT4-fs (loop5): Block reservation details EXT4-fs (loop5): i_reserved_data_blocks=1 EXT4-fs (loop0): This should not happen!! Data will be lost EXT4-fs (loop0): Total free blocks count 0 EXT4-fs (loop5): Delayed block allocation failed for inode 19 at logical offset 0 with max blocks 32 with error 28 EXT4-fs (loop0): Free/Dirty block details EXT4-fs (loop0): free_blocks=2415919104 EXT4-fs (loop0): dirty_blocks=848 EXT4-fs (loop5): This should not happen!! Data will be lost EXT4-fs (loop0): Block reservation details EXT4-fs (loop0): i_reserved_data_blocks=1 EXT4-fs (loop1): mounted filesystem without journal. Opts: ,errors=continue EXT4-fs (loop3): mounted filesystem without journal. Opts: ,errors=continue EXT4-fs (loop0): Delayed block allocation failed for inode 19 at logical offset 0 with max blocks 32 with error 28 EXT4-fs (loop0): This should not happen!! Data will be lost EXT4-fs error (device loop1): ext4_mb_generate_buddy:744: group 0, block bitmap and bg descriptor inconsistent: 25 vs 150994969 free clusters EXT4-fs error (device loop3): ext4_mb_generate_buddy:744: group 0, block bitmap and bg descriptor inconsistent: 25 vs 150994969 free clusters EXT4-fs (loop1): Delayed block allocation failed for inode 18 at logical offset 0 with max blocks 1 with error 28 netlink: 8 bytes leftover after parsing attributes in process `syz-executor.3'. EXT4-fs (loop3): Delayed block allocation failed for inode 18 at logical offset 0 with max blocks 1 with error 28 EXT4-fs (loop5): mounted filesystem without journal. Opts: ,errors=continue EXT4-fs (loop1): This should not happen!! Data will be lost EXT4-fs (loop1): Total free blocks count 0 netlink: 8 bytes leftover after parsing attributes in process `syz-executor.1'. EXT4-fs (loop1): Free/Dirty block details kauditd_printk_skb: 24 callbacks suppressed audit: type=1804 audit(1675167315.398:318): pid=19425 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=invalid_pcr cause=open_writers comm="syz-executor.5" name="/root/syzkaller-testdir2060785848/syzkaller.P1dtKA/239/file0/bus" dev="loop5" ino=18 res=1 EXT4-fs (loop3): This should not happen!! Data will be lost EXT4-fs (loop1): free_blocks=2415919104 EXT4-fs (loop1): dirty_blocks=304 netlink: 8 bytes leftover after parsing attributes in process `syz-executor.4'. EXT4-fs error (device loop5): ext4_mb_generate_buddy:744: group 0, block bitmap and bg descriptor inconsistent: 25 vs 150994969 free clusters EXT4-fs (loop1): Block reservation details EXT4-fs (loop1): i_reserved_data_blocks=1 EXT4-fs (loop5): Delayed block allocation failed for inode 18 at logical offset 0 with max blocks 1 with error 28 EXT4-fs (loop3): Total free blocks count 0 EXT4-fs (loop3): Free/Dirty block details EXT4-fs (loop1): Delayed block allocation failed for inode 19 at logical offset 0 with max blocks 32 with error 28 audit: type=1804 audit(1675167315.448:319): pid=19425 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=invalid_pcr cause=ToMToU comm="syz-executor.5" name="/root/syzkaller-testdir2060785848/syzkaller.P1dtKA/239/file0/bus" dev="loop5" ino=18 res=1 EXT4-fs (loop5): This should not happen!! Data will be lost EXT4-fs (loop3): free_blocks=2415919104 EXT4-fs (loop1): This should not happen!! Data will be lost EXT4-fs (loop5): Total free blocks count 0 EXT4-fs (loop3): dirty_blocks=224 EXT4-fs (loop0): mounted filesystem without journal. Opts: ,errors=continue EXT4-fs (loop5): Free/Dirty block details EXT4-fs (loop5): free_blocks=2415919104 EXT4-fs (loop3): Block reservation details EXT4-fs (loop5): dirty_blocks=48 EXT4-fs (loop5): Block reservation details EXT4-fs (loop5): i_reserved_data_blocks=1 EXT4-fs (loop3): i_reserved_data_blocks=1 audit: type=1804 audit(1675167315.868:320): pid=19448 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=invalid_pcr cause=open_writers comm="syz-executor.0" name="/root/syzkaller-testdir404356059/syzkaller.1hg7g6/235/file0/bus" dev="loop0" ino=18 res=1 EXT4-fs (loop3): Delayed block allocation failed for inode 19 at logical offset 0 with max blocks 32 with error 28 EXT4-fs (loop3): This should not happen!! Data will be lost EXT4-fs error (device loop0): ext4_mb_generate_buddy:744: group 0, block bitmap and bg descriptor inconsistent: 25 vs 150994969 free clusters EXT4-fs (loop5): Delayed block allocation failed for inode 19 at logical offset 0 with max blocks 32 with error 28 audit: type=1804 audit(1675167315.888:321): pid=19448 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=invalid_pcr cause=ToMToU comm="syz-executor.0" name="/root/syzkaller-testdir404356059/syzkaller.1hg7g6/235/file0/bus" dev="loop0" ino=18 res=1 EXT4-fs (loop0): Delayed block allocation failed for inode 18 at logical offset 0 with max blocks 1 with error 28 EXT4-fs (loop0): This should not happen!! Data will be lost EXT4-fs (loop5): This should not happen!! Data will be lost EXT4-fs (loop0): Total free blocks count 0 EXT4-fs (loop0): Free/Dirty block details EXT4-fs (loop0): free_blocks=2415919104 EXT4-fs (loop0): dirty_blocks=784 EXT4-fs (loop0): Block reservation details audit: type=1804 audit(1675167316.198:322): pid=19462 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=invalid_pcr cause=open_writers comm="syz-executor.4" name="/root/syzkaller-testdir3313793199/syzkaller.BcPmnQ/99/bus" dev="sda1" ino=14900 res=1 EXT4-fs (loop0): i_reserved_data_blocks=1 EXT4-fs (loop1): mounted filesystem without journal. Opts: ,errors=continue audit: type=1804 audit(1675167316.228:323): pid=19462 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=invalid_pcr cause=ToMToU comm="syz-executor.4" name="/root/syzkaller-testdir3313793199/syzkaller.BcPmnQ/99/bus" dev="sda1" ino=14900 res=1 EXT4-fs (loop0): Delayed block allocation failed for inode 19 at logical offset 0 with max blocks 32 with error 28 EXT4-fs (loop0): This should not happen!! Data will be lost EXT4-fs error (device loop1): ext4_mb_generate_buddy:744: group 0, block bitmap and bg descriptor inconsistent: 25 vs 150994969 free clusters EXT4-fs (loop1): Delayed block allocation failed for inode 18 at logical offset 0 with max blocks 1 with error 28 netlink: 8 bytes leftover after parsing attributes in process `syz-executor.1'. audit: type=1804 audit(1675167316.408:324): pid=19464 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=invalid_pcr cause=open_writers comm="syz-executor.1" name="/root/syzkaller-testdir1795590101/syzkaller.xoYHxI/241/file0/bus" dev="loop1" ino=18 res=1 EXT4-fs (loop5): mounted filesystem without journal. Opts: ,errors=continue EXT4-fs (loop3): mounted filesystem without journal. Opts: ,errors=continue EXT4-fs (loop1): This should not happen!! Data will be lost EXT4-fs (loop1): Total free blocks count 0 EXT4-fs (loop1): Free/Dirty block details EXT4-fs error (device loop5): ext4_mb_generate_buddy:744: group 0, block bitmap and bg descriptor inconsistent: 25 vs 150994969 free clusters EXT4-fs error (device loop3): ext4_mb_generate_buddy:744: group 0, block bitmap and bg descriptor inconsistent: 25 vs 150994969 free clusters EXT4-fs (loop1): free_blocks=2415919104 netlink: 8 bytes leftover after parsing attributes in process `syz-executor.3'. EXT4-fs (loop5): Delayed block allocation failed for inode 18 at logical offset 0 with max blocks 1 with error 28 EXT4-fs (loop3): Delayed block allocation failed for inode 18 at logical offset 0 with max blocks 1 with error 28 EXT4-fs (loop1): dirty_blocks=512 audit: type=1804 audit(1675167316.408:325): pid=19464 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=invalid_pcr cause=ToMToU comm="syz-executor.1" name="/root/syzkaller-testdir1795590101/syzkaller.xoYHxI/241/file0/bus" dev="loop1" ino=18 res=1 EXT4-fs (loop1): Block reservation details EXT4-fs (loop3): This should not happen!! Data will be lost EXT4-fs (loop5): This should not happen!! Data will be lost EXT4-fs (loop1): i_reserved_data_blocks=1 EXT4-fs (loop0): mounted filesystem without journal. Opts: ,errors=continue EXT4-fs (loop3): Total free blocks count 0 audit: type=1804 audit(1675167316.768:326): pid=19481 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=invalid_pcr cause=open_writers comm="syz-executor.5" name="/root/syzkaller-testdir2060785848/syzkaller.P1dtKA/240/file0/bus" dev="loop5" ino=18 res=1 EXT4-fs (loop5): Total free blocks count 0 EXT4-fs (loop3): Free/Dirty block details EXT4-fs (loop3): free_blocks=2415919104 EXT4-fs (loop1): Delayed block allocation failed for inode 19 at logical offset 0 with max blocks 32 with error 28 EXT4-fs (loop3): dirty_blocks=256 EXT4-fs (loop3): Block reservation details EXT4-fs (loop1): This should not happen!! Data will be lost EXT4-fs (loop3): i_reserved_data_blocks=1 EXT4-fs (loop5): Free/Dirty block details audit: type=1804 audit(1675167316.768:328): pid=19476 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=invalid_pcr cause=open_writers comm="syz-executor.3" name="/root/syzkaller-testdir276773669/syzkaller.sys2BV/204/file0/bus" dev="loop3" ino=18 res=1 EXT4-fs (loop5): free_blocks=2415919104 EXT4-fs error (device loop0): ext4_mb_generate_buddy:744: group 0, block bitmap and bg descriptor inconsistent: 25 vs 150994969 free clusters EXT4-fs (loop3): Delayed block allocation failed for inode 19 at logical offset 0 with max blocks 32 with error 28 EXT4-fs (loop0): Delayed block allocation failed for inode 18 at logical offset 0 with max blocks 1 with error 28 EXT4-fs (loop3): This should not happen!! Data will be lost EXT4-fs (loop5): dirty_blocks=272 EXT4-fs (loop0): This should not happen!! Data will be lost EXT4-fs (loop5): Block reservation details