Buffer I/O error on dev loop2, logical block 13466417, async page read attempt to access beyond end of device loop2: rw=0, want=8073606, limit=128 sysv_free_block: flc_count > flc_size Buffer I/O error on dev loop2, logical block 8073605, async page read BUG: sleeping function called from invalid context at fs/buffer.c:1319 sysv_free_block: flc_count > flc_size in_atomic(): 1, irqs_disabled(): 0, pid: 17808, name: syz-executor.2 2 locks held by syz-executor.2/17808: sysv_free_block: flc_count > flc_size #0: 000000002c5da838 (&iint->mutex){+.+.}, at: process_measurement+0x316/0x1440 security/integrity/ima/ima_main.c:224 #1: 000000006c7d04d9 (pointers_lock#2){.+.+}, at: get_block+0x171/0x1510 fs/sysv/itree.c:217 Preemption disabled at: [<0000000000000000>] (null) CPU: 1 PID: 17808 Comm: syz-executor.2 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 IPVS: length: 15 != 8 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 IPVS: length: 15 != 8 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:0x7f1d823580c9 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:00007f1d808ca168 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f1d82477f80 RCX: 00007f1d823580c9 RDX: 0000000000000000 RSI: 0000000020000000 RDI: ffffffffffffff9c RBP: 00007f1d823b3ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fffd384ec8f R14: 00007f1d808ca300 R15: 0000000000022000 VFS: Found a Xenix FS (block size = 512) on device loop4 sysv_free_block: flc_count > flc_size sysv_free_block: flc_count > flc_size sysv_free_block: flc_count > flc_size sysv_free_block: flc_count > flc_size sysv_free_block: flc_count > flc_size sysv_free_block: flc_count > flc_size sysv_free_block: flc_count > flc_size sysv_free_block: flc_count > flc_size sysv_free_block: flc_count > flc_size sysv_free_block: flc_count > flc_size BTRFS info (device loop3): unrecognized mount option 'inode_cacPe' attempt to access beyond end of device loop2: rw=0, want=3245519, limit=128 BTRFS error (device loop3): open_ctree failed Buffer I/O error on dev loop2, logical block 3245518, async page read attempt to access beyond end of device loop2: rw=0, want=8769404, limit=128 Buffer I/O error on dev loop2, logical block 8769403, async page read attempt to access beyond end of device loop2: rw=0, want=3245513, limit=128 attempt to access beyond end of device loop2: rw=0, want=8767868, limit=128 attempt to access beyond end of device loop2: rw=0, want=13269810, limit=128 attempt to access beyond end of device loop2: rw=0, want=8073606, limit=128 attempt to access beyond end of device loop2: rw=0, want=3245516, limit=128 attempt to access beyond end of device loop2: rw=0, want=8768636, limit=128 attempt to access beyond end of device loop2: rw=0, want=13466418, limit=128 attempt to access beyond end of device loop2: rw=0, want=8073606, limit=128 audit: type=1800 audit(1673032561.281:165): pid=17808 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed comm="syz-executor.2" name="/" dev="loop2" ino=2 res=0 IPVS: length: 15 != 8 VFS: Found a Xenix FS (block size = 512) on device loop2 VFS: Found a Xenix FS (block size = 512) on device loop4 sysv_free_block: flc_count > flc_size sysv_free_block: flc_count > flc_size sysv_free_block: flc_count > flc_size sysv_free_block: flc_count > flc_size nla_parse: 66 callbacks suppressed netlink: 4 bytes leftover after parsing attributes in process `syz-executor.2'. sysv_free_block: flc_count > flc_size netlink: 4 bytes leftover after parsing attributes in process `syz-executor.2'. netlink: 12 bytes leftover after parsing attributes in process `syz-executor.2'. sysv_free_block: flc_count > flc_size sysv_free_block: flc_count > flc_size sysv_free_block: flc_count > flc_size sysv_free_block: flc_count > flc_size VFS: Found a Xenix FS (block size = 512) on device loop2 sysv_free_block: flc_count > flc_size netlink: 4 bytes leftover after parsing attributes in process `syz-executor.2'. netlink: 4 bytes leftover after parsing attributes in process `syz-executor.2'. VFS: Found a Xenix FS (block size = 512) on device loop4 VFS: Found a Xenix FS (block size = 512) on device loop2 sysv_free_block: flc_count > flc_size sysv_free_block: flc_count > flc_size sysv_free_block: flc_count > flc_size sysv_free_block: flc_count > flc_size sysv_free_block: flc_count > flc_size sysv_free_block: flc_count > flc_size sysv_free_block: flc_count > flc_size BTRFS info (device loop3): unrecognized mount option 'inode_cacPe' sysv_free_block: flc_count > flc_size BTRFS error (device loop3): open_ctree failed sysv_free_block: flc_count > flc_size sysv_free_block: flc_count > flc_size IPVS: length: 15 != 8 netlink: 4 bytes leftover after parsing attributes in process `syz-executor.2'. netlink: 4 bytes leftover after parsing attributes in process `syz-executor.2'. VFS: Found a Xenix FS (block size = 512) on device loop4 VFS: Found a Xenix FS (block size = 512) on device loop2 sysv_free_block: flc_count > flc_size sysv_free_block: flc_count > flc_size sysv_free_block: flc_count > flc_size sysv_free_block: flc_count > flc_size VFS: Found a Xenix FS (block size = 512) on device loop2 sysv_free_block: flc_count > flc_size sysv_free_block: flc_count > flc_size sysv_free_block: flc_count > flc_size sysv_free_block: flc_count > flc_size sysv_free_block: flc_count > flc_size sysv_free_block: flc_count > flc_size BTRFS info (device loop3): unrecognized mount option 'inode_cacPe' BTRFS error (device loop3): open_ctree failed VFS: Found a Xenix FS (block size = 512) on device loop2 VFS: Found a Xenix FS (block size = 512) on device loop4 sysv_free_block: flc_count > flc_size sysv_free_block: flc_count > flc_size sysv_free_block: flc_count > flc_size sysv_free_block: flc_count > flc_size sysv_free_block: flc_count > flc_size sysv_free_block: flc_count > flc_size sysv_free_block: flc_count > flc_size sysv_free_block: flc_count > flc_size sysv_free_block: flc_count > flc_size sysv_free_block: flc_count > flc_size IPVS: length: 15 != 8 VFS: Found a Xenix FS (block size = 512) on device loop2 VFS: Found a Xenix FS (block size = 512) on device loop4 VFS: Found a Xenix FS (block size = 512) on device loop2 sysv_free_block: flc_count > flc_size sysv_free_block: flc_count > flc_size BTRFS info (device loop3): unrecognized mount option 'inode_cacPe' sysv_free_block: flc_count > flc_size BTRFS error (device loop3): open_ctree failed sysv_free_block: flc_count > flc_size sysv_free_block: flc_count > flc_size sysv_free_block: flc_count > flc_size sysv_free_block: flc_count > flc_size sysv_free_block: flc_count > flc_size sysv_free_block: flc_count > flc_size sysv_free_block: flc_count > flc_size VFS: Found a Xenix FS (block size = 512) on device loop2 attempt to access beyond end of device VFS: Found a Xenix FS (block size = 512) on device loop4 loop2: rw=0, want=3245513, limit=128 sysv_free_block: flc_count > flc_size sysv_free_block: flc_count > flc_size attempt to access beyond end of device loop2: rw=0, want=8767868, limit=128 attempt to access beyond end of device sysv_free_block: flc_count > flc_size loop2: rw=0, want=13269810, limit=128 attempt to access beyond end of device sysv_free_block: flc_count > flc_size loop2: rw=0, want=8073606, limit=128 sysv_free_block: flc_count > flc_size attempt to access beyond end of device loop2: rw=0, want=3245516, limit=128 attempt to access beyond end of device loop2: rw=0, want=8768636, limit=128 attempt to access beyond end of device loop2: rw=0, want=13466418, limit=128 attempt to access beyond end of device loop2: rw=0, want=8073606, limit=128 IPVS: length: 15 != 8 BUG: sleeping function called from invalid context at fs/buffer.c:1319 sysv_free_block: flc_count > flc_size in_atomic(): 1, irqs_disabled(): 0, pid: 18124, name: syz-executor.2 2 locks held by syz-executor.2/18124: #0: 0000000003ef5a45 (&iint->mutex){+.+.}, at: process_measurement+0x316/0x1440 security/integrity/ima/ima_main.c:224 #1: 000000006c7d04d9 (pointers_lock#2){.+.+}, at: get_block+0x171/0x1510 fs/sysv/itree.c:217 Preemption disabled at: [<0000000000000000>] (null) sysv_free_block: flc_count > flc_size CPU: 0 PID: 18124 Comm: syz-executor.2 Tainted: G W 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 sysv_free_block: flc_count > flc_size __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 sysv_free_block: flc_count > flc_size sysv_free_block: flc_count > flc_size 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:0x7f1d823580c9 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:00007f1d808ca168 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007f1d82477f80 RCX: 00007f1d823580c9 RDX: 0000000000000000 RSI: 000000000000007e RDI: 0000000020000180 RBP: 00007f1d823b3ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fffd384ec8f R14: 00007f1d808ca300 R15: 0000000000022000 attempt to access beyond end of device loop2: rw=0, want=3245519, limit=128 attempt to access beyond end of device loop2: rw=0, want=8769404, limit=128 attempt to access beyond end of device loop2: rw=0, want=3245513, limit=128 attempt to access beyond end of device loop2: rw=0, want=8767868, limit=128 attempt to access beyond end of device loop2: rw=0, want=13269810, limit=128 attempt to access beyond end of device loop2: rw=0, want=8073606, limit=128 attempt to access beyond end of device loop2: rw=0, want=3245516, limit=128 attempt to access beyond end of device loop2: rw=0, want=8768636, limit=128 attempt to access beyond end of device loop2: rw=0, want=13466418, limit=128 attempt to access beyond end of device loop2: rw=0, want=8073606, limit=128 audit: type=1800 audit(1673032564.342:166): pid=18124 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed comm="syz-executor.2" name="/" dev="loop2" ino=2 res=0 BTRFS info (device loop3): unrecognized mount option 'inode_cacPe' BTRFS error (device loop3): open_ctree failed VFS: Found a Xenix FS (block size = 512) on device loop4 VFS: Found a Xenix FS (block size = 512) on device loop2 IPVS: length: 15 != 8 IPVS: length: 15 != 8 VFS: Found a Xenix FS (block size = 512) on device loop4 VFS: Found a Xenix FS (block size = 512) on device loop2 sysv_free_block: flc_count > flc_size sysv_free_block: flc_count > flc_size sysv_free_block: flc_count > flc_size sysv_free_block: flc_count > flc_size sysv_free_block: flc_count > flc_size sysv_free_block: flc_count > flc_size sysv_free_block: flc_count > flc_size sysv_free_block: flc_count > flc_size sysv_free_block: flc_count > flc_size VFS: Found a Xenix FS (block size = 512) on device loop2 sysv_free_block: flc_count > flc_size BTRFS info (device loop3): unrecognized mount option 'inode_cacPe' BTRFS error (device loop3): open_ctree failed VFS: Found a Xenix FS (block size = 512) on device loop2 IPVS: length: 15 != 8 audit: type=1804 audit(1673032565.472:167): pid=18255 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=invalid_pcr cause=open_writers comm="syz-executor.0" name="/root/syzkaller-testdir2272028556/syzkaller.E8glAc/171/cgroup.controllers" dev="sda1" ino=14059 res=1 audit: type=1804 audit(1673032565.472:168): pid=18255 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=invalid_pcr cause=open_writers comm="syz-executor.0" name="/root/syzkaller-testdir2272028556/syzkaller.E8glAc/171/cgroup.controllers" dev="sda1" ino=14059 res=1 VFS: Found a Xenix FS (block size = 512) on device loop2 9pnet: Insufficient options for proto=fd audit: type=1804 audit(1673032565.672:169): pid=18286 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=invalid_pcr cause=open_writers comm="syz-executor.0" name="/root/syzkaller-testdir2272028556/syzkaller.E8glAc/172/cgroup.controllers" dev="sda1" ino=13998 res=1 VFS: Found a Xenix FS (block size = 512) on device loop4 sysv_free_block: flc_count > flc_size sysv_free_block: flc_count > flc_size VFS: Found a Xenix FS (block size = 512) on device loop2 9pnet: Insufficient options for proto=fd sysv_free_block: flc_count > flc_size sysv_free_block: flc_count > flc_size sysv_free_block: flc_count > flc_size sysv_free_block: flc_count > flc_size sysv_free_block: flc_count > flc_size sysv_free_block: flc_count > flc_size ieee802154 phy0 wpan0: encryption failed: -22 ieee802154 phy1 wpan1: encryption failed: -22 sysv_free_block: flc_count > flc_size sysv_free_block: flc_count > flc_size BTRFS info (device loop3): unrecognized mount option 'inode_cacPe' BTRFS error (device loop3): open_ctree failed IPVS: length: 15 != 8 VFS: Found a Xenix FS (block size = 512) on device loop4 VFS: Found a Xenix FS (block size = 512) on device loop2 9pnet: Insufficient options for proto=fd attempt to access beyond end of device loop2: rw=0, want=3245513, limit=128 sysv_free_block: flc_count > flc_size sysv_free_block: flc_count > flc_size buffer_io_error: 26 callbacks suppressed Buffer I/O error on dev loop2, logical block 3245512, async page read sysv_free_block: flc_count > flc_size sysv_free_block: flc_count > flc_size sysv_free_block: flc_count > flc_size sysv_free_block: flc_count > flc_size sysv_free_block: flc_count > flc_size attempt to access beyond end of device sysv_free_block: flc_count > flc_size loop2: rw=0, want=8767868, limit=128 sysv_free_block: flc_count > flc_size Buffer I/O error on dev loop2, logical block 8767867, async page read sysv_free_block: flc_count > flc_size attempt to access beyond end of device loop2: rw=0, want=13269810, limit=128 Buffer I/O error on dev loop2, logical block 13269809, async page read VFS: Found a Xenix FS (block size = 512) on device loop4 attempt to access beyond end of device sysv_free_block: flc_count > flc_size loop2: rw=0, want=8073606, limit=128 sysv_free_block: flc_count > flc_size Buffer I/O error on dev loop2, logical block 8073605, async page read sysv_free_block: flc_count > flc_size attempt to access beyond end of device loop2: rw=0, want=3245516, limit=128 Buffer I/O error on dev loop2, logical block 3245515, async page read attempt to access beyond end of device sysv_free_block: flc_count > flc_size loop2: rw=0, want=8768636, limit=128 Buffer I/O error on dev loop2, logical block 8768635, async page read sysv_free_block: flc_count > flc_size attempt to access beyond end of device sysv_free_block: flc_count > flc_size loop2: rw=0, want=13466418, limit=128 sysv_free_block: flc_count > flc_size Buffer I/O error on dev loop2, logical block 13466417, async page read sysv_free_block: flc_count > flc_size sysv_free_block: flc_count > flc_size attempt to access beyond end of device sysv_free_block: flc_count > flc_size loop2: rw=0, want=8073606, limit=128 Buffer I/O error on dev loop2, 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: 18347, name: syz-executor.2 2 locks held by syz-executor.2/18347: #0: 00000000800eeeeb (&iint->mutex){+.+.}, at: process_measurement+0x316/0x1440 security/integrity/ima/ima_main.c:224 #1: 000000006c7d04d9 (pointers_lock#2){.+.+}, at: get_block+0x171/0x1510 fs/sysv/itree.c:217 Preemption disabled at: [<0000000000000000>] (null) CPU: 1 PID: 18347 Comm: syz-executor.2 Tainted: G W 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:0x7f1d823580c9 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:00007f1d808ca168 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007f1d82477f80 RCX: 00007f1d823580c9 RDX: 0000000000000000 RSI: 000000000000007e RDI: 0000000020000180 RBP: 00007f1d823b3ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fffd384ec8f R14: 00007f1d808ca300 R15: 0000000000022000 VFS: Found a Xenix FS (block size = 512) on device loop4 BTRFS info (device loop3): unrecognized mount option 'inode_cacPe' sysv_free_block: flc_count > flc_size BTRFS error (device loop3): open_ctree failed sysv_free_block: flc_count > flc_size sysv_free_block: flc_count > flc_size sysv_free_block: flc_count > flc_size sysv_free_block: flc_count > flc_size sysv_free_block: flc_count > flc_size sysv_free_block: flc_count > flc_size sysv_free_block: flc_count > flc_size sysv_free_block: flc_count > flc_size sysv_free_block: flc_count > flc_size attempt to access beyond end of device loop2: rw=0, want=3245519, limit=128 Buffer I/O error on dev loop2, logical block 3245518, async page read attempt to access beyond end of device loop2: rw=0, want=8769404, limit=128 Buffer I/O error on dev loop2, logical block 8769403, async page read VFS: Found a Xenix FS (block size = 512) on device loop4 sysv_free_block: flc_count > flc_size attempt to access beyond end of device sysv_free_block: flc_count > flc_size loop2: rw=0, want=3245513, limit=128 sysv_free_block: flc_count > flc_size attempt to access beyond end of device sysv_free_block: flc_count > flc_size loop2: rw=0, want=8767868, limit=128 attempt to access beyond end of device sysv_free_block: flc_count > flc_size loop2: rw=0, want=13269810, limit=128 sysv_free_block: flc_count > flc_size attempt to access beyond end of device sysv_free_block: flc_count > flc_size loop2: rw=0, want=8073606, limit=128 attempt to access beyond end of device sysv_free_block: flc_count > flc_size sysv_free_block: flc_count > flc_size sysv_free_block: flc_count > flc_size loop2: rw=0, want=3245516, limit=128 IPVS: length: 15 != 8 attempt to access beyond end of device loop2: rw=0, want=8768636, limit=128 attempt to access beyond end of device loop2: rw=0, want=13466418, limit=128 attempt to access beyond end of device VFS: Found a Xenix FS (block size = 512) on device loop4 loop2: rw=0, want=8073606, limit=128 sysv_free_block: flc_count > flc_size audit: type=1800 audit(1673032568.102:170): pid=18347 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed comm="syz-executor.2" name="/" dev="loop2" ino=2 res=0 sysv_free_block: flc_count > flc_size sysv_free_block: flc_count > flc_size sysv_free_block: flc_count > flc_size sysv_free_block: flc_count > flc_size sysv_free_block: flc_count > flc_size sysv_free_block: flc_count > flc_size sysv_free_block: flc_count > flc_size sysv_free_block: flc_count > flc_size VFS: Found a Xenix FS (block size = 512) on device loop2 sysv_free_block: flc_count > flc_size VFS: Found a Xenix FS (block size = 512) on device loop4 VFS: Found a Xenix FS (block size = 512) on device loop2 attempt to access beyond end of device loop2: rw=0, want=3245513, limit=128 attempt to access beyond end of device loop2: rw=0, want=8767868, limit=128 VFS: Found a Xenix FS (block size = 512) on device loop4 attempt to access beyond end of device loop2: rw=0, want=13269810, limit=128 attempt to access beyond end of device BTRFS info (device loop3): unrecognized mount option 'inode_cacPe' loop2: rw=0, want=8073606, limit=128 BTRFS error (device loop3): open_ctree failed attempt to access beyond end of device loop2: rw=0, want=3245516, limit=128 attempt to access beyond end of device loop2: rw=0, want=8768636, limit=128 attempt to access beyond end of device loop2: rw=0, want=13466418, limit=128 attempt to access beyond end of device loop2: rw=0, want=8073606, limit=128 VFS: Found a Xenix FS (block size = 512) on device loop4 BUG: sleeping function called from invalid context at fs/buffer.c:1319 in_atomic(): 1, irqs_disabled(): 0, pid: 18464, name: syz-executor.2 2 locks held by syz-executor.2/18464: #0: 0000000010c2763a (&iint->mutex){+.+.}, at: process_measurement+0x316/0x1440 security/integrity/ima/ima_main.c:224 #1: 000000006c7d04d9 (pointers_lock#2){.+.+}, at: get_block+0x171/0x1510 fs/sysv/itree.c:217 Preemption disabled at: [<0000000000000000>] (null) CPU: 1 PID: 18464 Comm: syz-executor.2 Tainted: G W 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:0x7f1d823580c9 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:00007f1d808ca168 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007f1d82477f80 RCX: 00007f1d823580c9 RDX: 0000000000000000 RSI: 000000000000007e RDI: 0000000020000180 RBP: 00007f1d823b3ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fffd384ec8f R14: 00007f1d808ca300 R15: 0000000000022000 attempt to access beyond end of device loop2: rw=0, want=3245519, limit=128 attempt to access beyond end of device loop2: rw=0, want=8769404, limit=128 attempt to access beyond end of device loop2: rw=0, want=3245513, limit=128 attempt to access beyond end of device loop2: rw=0, want=8767868, limit=128 attempt to access beyond end of device loop2: rw=0, want=13269810, limit=128 VFS: Found a Xenix FS (block size = 512) on device loop4 attempt to access beyond end of device IPVS: length: 15 != 8 sysv_free_block: flc_count > flc_size loop2: rw=0, want=8073606, limit=128 attempt to access beyond end of device sysv_free_block: flc_count > flc_size loop2: rw=0, want=3245516, limit=128 sysv_free_block: flc_count > flc_size attempt to access beyond end of device sysv_free_block: flc_count > flc_size loop2: rw=0, want=8768636, limit=128 sysv_free_block: flc_count > flc_size sysv_free_block: flc_count > flc_size attempt to access beyond end of device sysv_free_block: flc_count > flc_size loop2: rw=0, want=13466418, limit=128 sysv_free_block: flc_count > flc_size sysv_free_block: flc_count > flc_size attempt to access beyond end of device sysv_free_block: flc_count > flc_size loop2: rw=0, want=8073606, limit=128 audit: type=1800 audit(1673032569.862:171): pid=18464 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed comm="syz-executor.2" name="/" dev="loop2" ino=2 res=0 VFS: Found a Xenix FS (block size = 512) on device loop4 sysv_free_block: flc_count > flc_size sysv_free_block: flc_count > flc_size VFS: Found a Xenix FS (block size = 512) on device loop2 sysv_free_block: flc_count > flc_size sysv_free_block: flc_count > flc_size sysv_free_block: flc_count > flc_size sysv_free_block: flc_count > flc_size sysv_free_block: flc_count > flc_size sysv_free_block: flc_count > flc_size sysv_free_block: flc_count > flc_size BTRFS info (device loop3): unrecognized mount option 'inode_cacPe' sysv_free_block: flc_count > flc_size VFS: Found a Xenix FS (block size = 512) on device loop2 BTRFS error (device loop3): open_ctree failed netlink: 'syz-executor.2': attribute type 10 has an invalid length.