Buffer I/O error on dev loop3, logical block 13466417, async page read attempt to access beyond end of device loop3: rw=0, want=8073606, limit=128 Buffer I/O error on dev loop3, logical block 8073605, async page read BUG: sleeping function called from invalid context at fs/buffer.c:1319 in_atomic(): 1, irqs_disabled(): 0, pid: 12327, name: syz-executor.3 2 locks held by syz-executor.3/12327: #0: 00000000827b72d0 (&iint->mutex){+.+.}, at: process_measurement+0x316/0x1440 security/integrity/ima/ima_main.c:224 #1: 00000000aafda8c7 (pointers_lock#2){.+.+}, at: get_block+0x171/0x1510 fs/sysv/itree.c:217 Preemption disabled at: [<0000000000000000>] (null) CPU: 0 PID: 12327 Comm: syz-executor.3 Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 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 __getblk_gfp fs/buffer.c:1319 [inline] __bread_gfp+0x3f/0x300 fs/buffer.c:1366 sb_bread include/linux/buffer_head.h:309 [inline] get_branch+0x2cd/0x640 fs/sysv/itree.c:104 get_block+0x194/0x1510 fs/sysv/itree.c:218 block_read_full_page+0x288/0xd10 fs/buffer.c:2259 read_pages.isra.0+0x329/0x5d0 mm/readahead.c:133 __do_page_cache_readahead+0x5c6/0x6c0 mm/readahead.c:211 ra_submit mm/internal.h:66 [inline] ondemand_readahead.isra.0+0x575/0xd40 mm/readahead.c:493 page_cache_sync_readahead mm/readahead.c:528 [inline] page_cache_sync_readahead+0x275/0x520 mm/readahead.c:510 generic_file_buffered_read mm/filemap.c:2115 [inline] generic_file_read_iter+0x1497/0x2b60 mm/filemap.c:2385 call_read_iter include/linux/fs.h:1815 [inline] new_sync_read fs/read_write.c:406 [inline] __vfs_read+0x518/0x750 fs/read_write.c:418 integrity_kernel_read+0x147/0x1f0 security/integrity/iint.c:200 ima_calc_file_hash_tfm security/integrity/ima/ima_crypto.c:364 [inline] ima_calc_file_shash security/integrity/ima/ima_crypto.c:393 [inline] ima_calc_file_hash+0x4b2/0x8a0 security/integrity/ima/ima_crypto.c:450 ima_collect_measurement+0x4c4/0x570 security/integrity/ima/ima_api.c:231 process_measurement+0xddd/0x1440 security/integrity/ima/ima_main.c:284 ima_file_check+0xb9/0x100 security/integrity/ima/ima_main.c:391 do_last fs/namei.c:3425 [inline] path_openat+0x7e4/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 RIP: 0033:0x7fa5f4d5a0c9 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:00007fa5f3248168 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007fa5f4e7a2c0 RCX: 00007fa5f4d5a0c9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000080 RBP: 00007fa5f4db5ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe32394c1f R14: 00007fa5f3248300 R15: 0000000000022000 attempt to access beyond end of device EXT4-fs error (device loop0): ext4_mb_generate_buddy:744: group 0, block bitmap and bg descriptor inconsistent: 25 vs 150994969 free clusters loop3: rw=0, want=3245519, limit=128 EXT4-fs (loop0): Delayed block allocation failed for inode 18 at logical offset 0 with max blocks 1 with error 28 Buffer I/O error on dev loop3, logical block 3245518, async page read EXT4-fs (loop0): 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=16 EXT4-fs (loop0): Block reservation details EXT4-fs (loop0): i_reserved_data_blocks=1 attempt to access beyond end of device loop3: rw=0, want=8769404, limit=128 Buffer I/O error on dev loop3, logical block 8769403, async page read attempt to access beyond end of device loop3: rw=0, want=3245513, limit=128 attempt to access beyond end of device loop3: rw=0, want=8767868, limit=128 attempt to access beyond end of device loop3: rw=0, want=13269810, limit=128 attempt to access beyond end of device loop3: rw=0, want=8073606, limit=128 attempt to access beyond end of device loop3: rw=0, want=3245516, limit=128 attempt to access beyond end of device loop3: rw=0, want=8768636, limit=128 attempt to access beyond end of device loop3: rw=0, want=13466418, limit=128 attempt to access beyond end of device loop3: rw=0, want=8073606, limit=128 VFS: Found a Xenix FS (block size = 512) on device loop3 EXT4-fs (loop5): mounted filesystem without journal. Opts: ,errors=continue mac80211_hwsim hwsim11 €Š²Ù¨LµFÙ¹ò: renamed from wlan1 block nbd5: shutting down sockets EXT4-fs (loop0): Unrecognized mount option "./bus" or missing value IPVS: ftp: loaded support on port[0] = 21 block nbd5: Device being setup by another task block nbd5: Device being setup by another task IPVS: ftp: loaded support on port[0] = 21 IPVS: ftp: loaded support on port[0] = 21 kauditd_printk_skb: 102 callbacks suppressed audit: type=1800 audit(1673276946.874:268): pid=12713 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="syz-executor.0" name="bus" dev="sda1" ino=14711 res=0 IPVS: ftp: loaded support on port[0] = 21 audit: type=1800 audit(1673276946.904:269): pid=12713 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="syz-executor.0" name="bus" dev="sda1" ino=14711 res=0 REISERFS (device loop5): found reiserfs format "3.6" with non-standard journal REISERFS (device loop5): using ordered data mode reiserfs: using flush barriers REISERFS (device loop5): journal params: device loop5, size 512, journal first block 18, max trans len 256, max batch 225, max commit age 30, max trans age 30 audit: type=1800 audit(1673276947.804:270): pid=12796 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="syz-executor.0" name="bus" dev="sda1" ino=14711 res=0 REISERFS (device loop5): checking transaction log (loop5) REISERFS (device loop5): Using r5 hash to sort names REISERFS warning (device loop5): jdm-13090 reiserfs_new_inode: ACLs aren't enabled in the fs, but vfs thinks they are! audit: type=1800 audit(1673276947.824:271): pid=12788 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="syz-executor.0" name="bus" dev="sda1" ino=14711 res=0 REISERFS (device loop5): Created .reiserfs_priv - reserved for xattr storage. REISERFS warning (device loop5): super-6502 reiserfs_getopt: unknown mount option "ÿî§<< G4š¶mRŸ±â½ÆuÆÌëê0º‰wÆ2ÝËàíù†¶Žæ" audit: type=1800 audit(1673276948.564:272): pid=12832 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="syz-executor.0" name="bus" dev="sda1" ino=14730 res=0 IPVS: ftp: loaded support on port[0] = 21 IPVS: ftp: loaded support on port[0] = 21 IPVS: ftp: loaded support on port[0] = 21 audit: type=1800 audit(1673276948.564:273): pid=12832 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="syz-executor.0" name="bus" dev="sda1" ino=14730 res=0 REISERFS (device loop5): found reiserfs format "3.6" with non-standard journal REISERFS (device loop5): using ordered data mode reiserfs: using flush barriers REISERFS (device loop5): journal params: device loop5, size 512, journal first block 18, max trans len 256, max batch 225, max commit age 30, max trans age 30 REISERFS (device loop5): checking transaction log (loop5) REISERFS (device loop5): Using r5 hash to sort names REISERFS warning (device loop5): jdm-13090 reiserfs_new_inode: ACLs aren't enabled in the fs, but vfs thinks they are! REISERFS (device loop5): Created .reiserfs_priv - reserved for xattr storage. rock: corrupted directory entry. extent=32, offset=2044, size=237 REISERFS warning (device loop5): super-6502 reiserfs_getopt: unknown mount option "ÿî§<< G4š¶mRŸ±â½ÆuÆÌëê0º‰wÆ2ÝËàíù†¶Žæ" REISERFS warning (device loop5): super-6502 reiserfs_getopt: unknown mount option "ÿî§<< G4š¶mRŸ±â½ÆuÆÌëê0º‰wÆ2ÝËàíù†¶Žæ" IPVS: ftp: loaded support on port[0] = 21 rock: corrupted directory entry. extent=32, offset=2044, size=237 REISERFS (device loop5): found reiserfs format "3.6" with non-standard journal audit: type=1804 audit(1673276949.934:274): pid=12993 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=invalid_pcr cause=open_writers comm="syz-executor.3" name="/root/syzkaller-testdir2691571339/syzkaller.p9QKhm/1278/cgroup.controllers" dev="sda1" ino=14685 res=1 REISERFS (device loop5): using ordered data mode reiserfs: using flush barriers REISERFS (device loop5): journal params: device loop5, size 512, journal first block 18, max trans len 256, max batch 225, max commit age 30, max trans age 30 REISERFS (device loop5): checking transaction log (loop5) REISERFS (device loop5): Using r5 hash to sort names REISERFS warning (device loop5): jdm-13090 reiserfs_new_inode: ACLs aren't enabled in the fs, but vfs thinks they are! REISERFS (device loop5): Created .reiserfs_priv - reserved for xattr storage. IPVS: ftp: loaded support on port[0] = 21 rock: corrupted directory entry. extent=32, offset=2044, size=237 Started in network mode Own node identity 00000000000000000000000000000001, cluster identity 4711 New replicast peer: fe80:0000:0000:0000:0000:0000:0000:0000 audit: type=1800 audit(1673276950.954:275): pid=13073 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="syz-executor.0" name="bus" dev="sda1" ino=14745 res=0 Enabled bearer , priority 10 audit: type=1800 audit(1673276950.974:276): pid=13073 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="syz-executor.0" name="bus" dev="sda1" ino=14745 res=0 usb usb9: usbfs: interface 0 claimed by hub while 'syz-executor.0' sets config #0 audit: type=1800 audit(1673276951.424:277): pid=13112 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="syz-executor.0" name="bus" dev="sda1" ino=14679 res=0 usb usb9: usbfs: interface 0 claimed by hub while 'syz-executor.0' sets config #0 Enabling of bearer rejected, already enabled kauditd_printk_skb: 3 callbacks suppressed audit: type=1804 audit(1673276951.994:281): pid=13089 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=invalid_pcr cause=open_writers comm="syz-executor.3" name="/root/syzkaller-testdir2691571339/syzkaller.p9QKhm/1280/cgroup.controllers" dev="sda1" ino=14747 res=1 32-bit node address hash set to 1000000