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 BUG: sleeping function called from invalid context at fs/buffer.c:1319 in_atomic(): 1, irqs_disabled(): 0, pid: 19251, name: syz-executor.2 2 locks held by syz-executor.2/19251: #0: 00000000ec660f87 (&iint->mutex){+.+.}, at: process_measurement+0x316/0x1440 security/integrity/ima/ima_main.c:224 #1: 00000000e9699c3e (pointers_lock){.+.+}, at: get_block+0x171/0x1510 fs/sysv/itree.c:217 Preemption disabled at: [<0000000000000000>] (null) CPU: 0 PID: 19251 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 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:0x7f1648a010c9 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:00007f1646f73168 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007f1648b20f80 RCX: 00007f1648a010c9 RDX: 0000000000000010 RSI: 0000000000040000 RDI: 0000000020000180 RBP: 00007f1648a5cae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe9531e65f R14: 00007f1646f73300 R15: 0000000000022000 rock: corrupted directory entry. extent=32, offset=2044, size=237 UDF-fs: warning (device loop5): udf_load_vrs: No VRS found UDF-fs: Scanning with blocksize 512 failed overlayfs: fs on './file0' does not support file handles, falling back to index=off,nfs_export=off. UDF-fs: warning (device loop5): udf_load_vrs: No VRS found attempt to access beyond end of device loop2: rw=0, want=3245519, limit=128 XFS (loop3): Mounting V4 Filesystem UDF-fs: Scanning with blocksize 1024 failed attempt to access beyond end of device loop2: rw=0, want=8769404, limit=128 UDF-fs: warning (device loop5): udf_load_vrs: No VRS found XFS (loop3): Ending clean mount attempt to access beyond end of device loop2: rw=0, want=3245513, limit=128 rock: corrupted directory entry. extent=32, offset=2044, size=237 attempt to access beyond end of device UDF-fs: Scanning with blocksize 2048 failed loop2: rw=0, want=8767868, limit=128 attempt to access beyond end of device UDF-fs: error (device loop5): udf_read_tagged: read failed, block=256, location=256 syz-executor.3 (19215) used greatest stack depth: 22600 bytes left XFS (loop3): Unmounting Filesystem loop2: rw=0, want=13269810, limit=128 UDF-fs: INFO Mounting volume 'LinuxUDF', timestamp 2022/11/22 14:59 (1000) 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(1673506766.952:108): pid=19251 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed comm="syz-executor.2" name="/" dev="loop2" ino=2 res=0 UDF-fs: warning (device loop5): udf_load_vrs: No VRS found UDF-fs: Scanning with blocksize 512 failed UDF-fs: warning (device loop5): udf_load_vrs: No VRS found UDF-fs: Scanning with blocksize 1024 failed BTRFS info (device loop0): using free space tree UDF-fs: warning (device loop5): udf_load_vrs: No VRS found BTRFS info (device loop0): has skinny extents UDF-fs: Scanning with blocksize 2048 failed VFS: Found a Xenix FS (block size = 512) on device loop2 UDF-fs: error (device loop5): udf_read_tagged: read failed, block=256, location=256 attempt to access beyond end of device loop2: rw=0, want=3245513, limit=128 UDF-fs: INFO Mounting volume 'LinuxUDF', timestamp 2022/11/22 14:59 (1000) 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 UDF-fs: warning (device loop5): udf_load_vrs: No VRS found loop2: rw=0, want=13466418, limit=128 overlayfs: fs on './file0' does not support file handles, falling back to index=off,nfs_export=off. UDF-fs: Scanning with blocksize 512 failed attempt to access beyond end of device UDF-fs: warning (device loop5): udf_load_vrs: No VRS found UDF-fs: Scanning with blocksize 1024 failed loop2: rw=0, want=8073606, limit=128 BUG: sleeping function called from invalid context at fs/buffer.c:1319 in_atomic(): 1, irqs_disabled(): 0, pid: 19314, name: syz-executor.2 2 locks held by syz-executor.2/19314: #0: 00000000f0031551 (&iint->mutex){+.+.}, at: process_measurement+0x316/0x1440 security/integrity/ima/ima_main.c:224 #1: 00000000e9699c3e (pointers_lock){.+.+}, at: get_block+0x171/0x1510 fs/sysv/itree.c:217 Preemption disabled at: [<0000000000000000>] (null) CPU: 0 PID: 19314 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:0x7f1648a010c9 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:00007f1646f73168 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007f1648b20f80 RCX: 00007f1648a010c9 RDX: 0000000000000010 RSI: 0000000000040000 RDI: 0000000020000180 RBP: 00007f1648a5cae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe9531e65f R14: 00007f1646f73300 R15: 0000000000022000 attempt to access beyond end of device UDF-fs: warning (device loop5): udf_load_vrs: No VRS found loop2: rw=0, want=3245519, limit=128 UDF-fs: Scanning with blocksize 2048 failed attempt to access beyond end of device loop2: rw=0, want=8769404, limit=128 UDF-fs: error (device loop5): udf_read_tagged: read failed, block=256, location=256 attempt to access beyond end of device loop2: rw=0, want=3245513, limit=128 VFS: Found a Xenix FS (block size = 512) on device loop0 attempt to access beyond end of device loop2: rw=0, want=8767868, limit=128 UDF-fs: INFO Mounting volume 'LinuxUDF', timestamp 2022/11/22 14:59 (1000) attempt to access beyond end of device 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 loop0: rw=0, want=3245513, limit=128 buffer_io_error: 38 callbacks suppressed Buffer I/O error on dev loop0, logical block 3245512, async page read audit: type=1804 audit(1673506768.162:109): pid=19372 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=invalid_pcr cause=ToMToU comm="syz-executor.0" name="/root/syzkaller-testdir3745607664/syzkaller.KIcrm4/383/file0" dev="loop0" ino=2 res=1 attempt to access beyond end of device loop0: rw=0, want=8767868, limit=128 Buffer I/O error on dev loop0, logical block 8767867, async page read 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 loop2: rw=0, want=8768636, limit=128 Buffer I/O error on dev loop2, logical block 8768635, async page read attempt to access beyond end of device loop2: rw=0, want=13466418, limit=128 Buffer I/O error on dev loop2, logical block 13466417, async page read UDF-fs: warning (device loop5): udf_load_vrs: No VRS found attempt to access beyond end of device attempt to access beyond end of device UDF-fs: Scanning with blocksize 512 failed loop0: rw=0, want=13269810, limit=128 loop2: rw=0, want=8073606, limit=128 Buffer I/O error on dev loop0, logical block 13269809, async page read UDF-fs: warning (device loop5): udf_load_vrs: No VRS found Buffer I/O error on dev loop2, logical block 8073605, async page read UDF-fs: Scanning with blocksize 1024 failed attempt to access beyond end of device audit: type=1800 audit(1673506768.372:110): pid=19314 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed comm="syz-executor.2" name="/" dev="loop2" ino=2 res=0 UDF-fs: warning (device loop5): udf_load_vrs: No VRS found loop0: rw=0, want=8073606, limit=128 Buffer I/O error on dev loop0, logical block 8073605, async page read attempt to access beyond end of device UDF-fs: Scanning with blocksize 2048 failed loop0: rw=0, want=3245516, limit=128 Buffer I/O error on dev loop0, logical block 3245515, async page read UDF-fs: error (device loop5): udf_read_tagged: read failed, block=256, location=256 UDF-fs: INFO Mounting volume 'LinuxUDF', timestamp 2022/11/22 14:59 (1000) attempt to access beyond end of device loop0: rw=0, want=8768636, limit=128 Buffer I/O error on dev loop0, logical block 8768635, async page read attempt to access beyond end of device loop0: rw=0, want=13466418, limit=128 attempt to access beyond end of device loop0: rw=0, want=8073606, limit=128 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 UDF-fs: warning (device loop5): udf_load_vrs: No VRS found attempt to access beyond end of device sysv_free_block: flc_count > flc_size UDF-fs: Scanning with blocksize 512 failed sysv_free_block: flc_count > flc_size UDF-fs: warning (device loop5): udf_load_vrs: No VRS found UDF-fs: Scanning with blocksize 1024 failed loop2: rw=0, want=3245513, limit=128 UDF-fs: warning (device loop5): udf_load_vrs: No VRS found UDF-fs: Scanning with blocksize 2048 failed UDF-fs: error (device loop5): udf_read_tagged: read failed, block=256, location=256 attempt to access beyond end of device UDF-fs: INFO Mounting volume 'LinuxUDF', timestamp 2022/11/22 14:59 (1000) loop2: rw=0, want=8767868, limit=128 attempt to access beyond end of device rock: corrupted directory entry. extent=32, offset=2044, size=237 loop2: rw=0, want=13269810, limit=128 attempt to access beyond end of device overlayfs: fs on './file0' does not support file handles, falling back to index=off,nfs_export=off. loop2: rw=0, want=8073606, limit=128 attempt to access beyond end of device loop2: rw=0, want=3245516, limit=128 XFS (loop3): Mounting V4 Filesystem attempt to access beyond end of device loop2: rw=0, want=8768636, limit=128 XFS (loop3): Ending clean mount 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 BUG: sleeping function called from invalid context at fs/buffer.c:1319 in_atomic(): 1, irqs_disabled(): 0, pid: 19385, name: syz-executor.2 2 locks held by syz-executor.2/19385: #0: 00000000b90f31a1 (&iint->mutex){+.+.}, at: process_measurement+0x316/0x1440 security/integrity/ima/ima_main.c:224 #1: 00000000e9699c3e (pointers_lock){.+.+}, at: get_block+0x171/0x1510 fs/sysv/itree.c:217 Preemption disabled at: [<0000000000000000>] (null) CPU: 1 PID: 19385 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:0x7f1648a010c9 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:00007f1646f73168 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007f1648b20f80 RCX: 00007f1648a010c9 RDX: 0000000000000010 RSI: 0000000000040000 RDI: 0000000020000180 RBP: 00007f1648a5cae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe9531e65f R14: 00007f1646f73300 R15: 0000000000022000 VFS: Found a Xenix FS (block size = 512) on device loop0 UDF-fs: warning (device loop5): udf_load_vrs: No VRS found attempt to access beyond end of device loop0: rw=0, want=3245513, limit=128 UDF-fs: Scanning with blocksize 512 failed attempt to access beyond end of device loop0: rw=0, want=8767868, limit=128 audit: type=1804 audit(1673506769.522:111): pid=19433 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=invalid_pcr cause=ToMToU comm="syz-executor.0" name="/root/syzkaller-testdir3745607664/syzkaller.KIcrm4/384/file0" dev="loop0" ino=2 res=1 XFS (loop3): Unmounting Filesystem attempt to access beyond end of device loop0: rw=0, want=13269810, limit=128 attempt to access beyond end of device UDF-fs: warning (device loop5): udf_load_vrs: No VRS found loop0: rw=0, want=8073606, limit=128 UDF-fs: Scanning with blocksize 1024 failed attempt to access beyond end of device UDF-fs: warning (device loop5): udf_load_vrs: No VRS found loop0: rw=0, want=3245516, limit=128 attempt to access beyond end of device UDF-fs: Scanning with blocksize 2048 failed loop0: rw=0, want=8768636, limit=128 UDF-fs: error (device loop5): udf_read_tagged: read failed, block=256, location=256 attempt to access beyond end of device device team0 entered promiscuous mode loop0: rw=0, want=13466418, limit=128 audit: type=1800 audit(1673506769.942:112): pid=19439 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="syz-executor.4" name="bus" dev="sda1" ino=14134 res=0 device team_slave_0 entered promiscuous mode UDF-fs: INFO Mounting volume 'LinuxUDF', timestamp 2022/11/22 14:59 (1000) attempt to access beyond end of device device team_slave_1 entered promiscuous mode loop0: rw=0, want=8073606, limit=128 sysv_free_block: flc_count > flc_size sysv_free_block: flc_count > flc_size audit: type=1800 audit(1673506770.172:113): pid=19441 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="syz-executor.1" name="bus" dev="sda1" ino=14181 res=0 BUG: sleeping function called from invalid context at fs/buffer.c:1319 in_atomic(): 1, irqs_disabled(): 0, pid: 19385, name: syz-executor.2 2 locks held by syz-executor.2/19385: #0: 00000000b90f31a1 (&iint->mutex){+.+.}, at: process_measurement+0x316/0x1440 security/integrity/ima/ima_main.c:224 #1: 00000000e9699c3e (pointers_lock){.+.+}, at: get_block+0x171/0x1510 fs/sysv/itree.c:217 Preemption disabled at: [<0000000000000000>] (null) CPU: 1 PID: 19385 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 audit: type=1800 audit(1673506770.352:114): pid=19468 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="syz-executor.4" name="bus" dev="sda1" ino=14213 res=0 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:0x7f1648a010c9 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:00007f1646f73168 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007f1648b20f80 RCX: 00007f1648a010c9 RDX: 0000000000000010 RSI: 0000000000040000 RDI: 0000000020000180 RBP: 00007f1648a5cae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe9531e65f R14: 00007f1646f73300 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 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 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(1673506770.902:115): pid=19472 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="syz-executor.1" name="bus" dev="sda1" ino=14324 res=0 sysv_free_block: flc_count > flc_size sysv_free_block: flc_count > flc_size sysv_free_block: flc_count > flc_size UDF-fs: warning (device loop4): udf_load_vrs: No VRS found UDF-fs: Scanning with blocksize 512 failed sysv_free_block: flc_count > flc_size UDF-fs: warning (device loop4): udf_load_vrs: No VRS found audit: type=1800 audit(1673506770.932:116): pid=19385 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 UDF-fs: Scanning with blocksize 1024 failed UDF-fs: warning (device loop4): udf_load_vrs: No VRS found UDF-fs: Scanning with blocksize 2048 failed UDF-fs: error (device loop4): udf_read_tagged: read failed, block=256, location=256 VFS: Found a Xenix FS (block size = 512) on device loop2 UDF-fs: warning (device loop5): udf_load_vrs: No VRS found attempt to access beyond end of device UDF-fs: INFO Mounting volume 'LinuxUDF', timestamp 2022/11/22 14:59 (1000) UDF-fs: Scanning with blocksize 512 failed loop2: rw=0, want=3245513, limit=128 UDF-fs: warning (device loop5): udf_load_vrs: No VRS found attempt to access beyond end of device VFS: Found a Xenix FS (block size = 512) on device loop0 UDF-fs: Scanning with blocksize 1024 failed loop2: rw=0, want=8767868, limit=128 attempt to access beyond end of device attempt to access beyond end of device UDF-fs: warning (device loop5): udf_load_vrs: No VRS found audit: type=1800 audit(1673506771.492:117): pid=19499 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="syz-executor.1" name="bus" dev="sda1" ino=14451 res=0 loop0: rw=0, want=3245513, limit=128 loop2: rw=0, want=13269810, limit=128 UDF-fs: Scanning with blocksize 2048 failed attempt to access beyond end of device attempt to access beyond end of device UDF-fs: error (device loop5): udf_read_tagged: read failed, block=256, location=256 loop2: rw=0, want=8073606, limit=128 loop0: rw=0, want=8767868, limit=128 attempt to access beyond end of device attempt to access beyond end of device UDF-fs: INFO Mounting volume 'LinuxUDF', timestamp 2022/11/22 14:59 (1000) 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 loop0: rw=0, want=13269810, limit=128 loop2: rw=0, want=13466418, limit=128 attempt to access beyond end of device audit: type=1804 audit(1673506771.552:118): pid=19512 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=invalid_pcr cause=ToMToU comm="syz-executor.0" name="/root/syzkaller-testdir3745607664/syzkaller.KIcrm4/385/file0" dev="loop0" ino=2 res=1 loop0: rw=0, want=8073606, limit=128 attempt to access beyond end of device loop2: rw=0, want=8073606, limit=128 attempt to access beyond end of device BUG: sleeping function called from invalid context at fs/buffer.c:1319 in_atomic(): 1, irqs_disabled(): 0, pid: 19489, name: syz-executor.2 loop0: rw=0, want=3245516, limit=128 2 locks held by syz-executor.2/19489: #0: 00000000c8b409b2 (&iint->mutex){+.+.}, at: process_measurement+0x316/0x1440 security/integrity/ima/ima_main.c:224 #1: 00000000e9699c3e (pointers_lock){.+.+}, at: get_block+0x171/0x1510 fs/sysv/itree.c:217 attempt to access beyond end of device Preemption disabled at: [<0000000000000000>] (null) CPU: 0 PID: 19489 Comm: syz-executor.2 Tainted: G W 4.19.211-syzkaller #0 loop0: rw=0, want=8768636, limit=128 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 attempt to access beyond end of device loop0: rw=0, want=13466418, limit=128 block_read_full_page+0x288/0xd10 fs/buffer.c:2259 attempt to access beyond end of device loop0: rw=0, want=8073606, limit=128 read_pages.isra.0+0x329/0x5d0 mm/readahead.c:133 __do_page_cache_readahead+0x5c6/0x6c0 mm/readahead.c:211 attempt to access beyond end of device 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 loop0: rw=0, want=3245513, limit=128 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 attempt to access beyond end of device 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 loop0: rw=0, want=8767868, limit=128 ima_collect_measurement+0x4c4/0x570 security/integrity/ima/ima_api.c:231 attempt to access beyond end of device loop0: rw=0, want=13269810, limit=128 process_measurement+0xddd/0x1440 security/integrity/ima/ima_main.c:284 attempt to access beyond end of device loop0: rw=0, want=8073606, limit=128 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 attempt to access beyond end of device loop0: rw=0, want=3245516, limit=128 do_filp_open+0x18c/0x3f0 fs/namei.c:3567 do_sys_open+0x3b3/0x520 fs/open.c:1085 attempt to access beyond end of device loop0: rw=0, want=8768636, limit=128 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 attempt to access beyond end of device entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7f1648a010c9 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:00007f1646f73168 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007f1648b20f80 RCX: 00007f1648a010c9 RDX: 0000000000000010 RSI: 0000000000040000 RDI: 0000000020000180 RBP: 00007f1648a5cae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe9531e65f R14: 00007f1646f73300 R15: 0000000000022000 attempt to access beyond end of device loop0: rw=0, want=13466418, limit=128 loop2: rw=0, want=3245519, limit=128 device team0 left promiscuous mode attempt to access beyond end of device device team_slave_0 left promiscuous mode attempt to access beyond end of device device team_slave_1 left promiscuous mode loop2: rw=0, want=8769404, limit=128 loop0: 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 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 audit: type=1800 audit(1673506772.572:119): pid=19504 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed comm="syz-executor.0" name="/" dev="loop0" ino=2 res=0 loop2: rw=0, want=3245513, limit=128 XFS (loop3): Mounting V4 Filesystem attempt to access beyond end of device XFS (loop3): Ending clean mount 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 XFS (loop3): Unmounting Filesystem 9pnet: Insufficient options for proto=fd VFS: Found a Xenix FS (block size = 512) on device loop2 VFS: Found a Xenix FS (block size = 512) on device loop0 attempt to access beyond end of device UDF-fs: warning (device loop5): udf_load_vrs: No VRS found loop2: rw=0, want=3245513, limit=128 attempt to access beyond end of device UDF-fs: Scanning with blocksize 512 failed attempt to access beyond end of device loop0: rw=0, want=3245513, limit=128 UDF-fs: warning (device loop5): udf_load_vrs: No VRS found loop2: rw=0, want=8767868, limit=128 buffer_io_error: 63 callbacks suppressed Buffer I/O error on dev loop0, logical block 3245512, async page read Buffer I/O error on dev loop2, logical block 8767867, async page read UDF-fs: Scanning with blocksize 1024 failed attempt to access beyond end of device loop0: rw=0, want=8767868, limit=128 UDF-fs: warning (device loop5): udf_load_vrs: No VRS found Buffer I/O error on dev loop0, logical block 8767867, async page read attempt to access beyond end of device loop2: rw=0, want=13269810, limit=128 UDF-fs: Scanning with blocksize 2048 failed attempt to access beyond end of device Buffer I/O error on dev loop2, logical block 13269809, async page read loop0: rw=0, want=13269810, limit=128 UDF-fs: error (device loop5): udf_read_tagged: read failed, block=256, location=256 Buffer I/O error on dev loop0, logical block 13269809, async page read attempt to access beyond end of device loop2: rw=0, want=8073606, limit=128 UDF-fs: INFO Mounting volume 'LinuxUDF', timestamp 2022/11/22 14:59 (1000) Buffer I/O error on dev loop2, logical block 8073605, async page read attempt to access beyond end of device attempt to access beyond end of device loop0: rw=0, want=8073606, limit=128 loop2: rw=0, want=3245516, limit=128 Buffer I/O error on dev loop0, logical block 8073605, async page read Buffer I/O error on dev loop2, logical block 3245515, async page read attempt to access beyond end of device attempt to access beyond end of device loop0: rw=0, want=3245516, limit=128 loop2: rw=0, want=8768636, limit=128 Buffer I/O error on dev loop0, logical block 3245515, async page read Buffer I/O error on dev loop2, logical block 8768635, async page read attempt to access beyond end of device attempt to access beyond end of device loop0: rw=0, want=8768636, limit=128 loop2: rw=0, want=13466418, limit=128 attempt to access beyond end of device UDF-fs: warning (device loop5): udf_load_vrs: No VRS found attempt to access beyond end of device loop0: rw=0, want=13466418, limit=128 loop2: rw=0, want=8073606, limit=128 attempt to access beyond end of device BUG: sleeping function called from invalid context at fs/buffer.c:1319 in_atomic(): 1, irqs_disabled(): 0, pid: 19559, name: syz-executor.2 2 locks held by syz-executor.2/19559: #0: 00000000b5ecaeb8 (&iint->mutex){+.+.}, at: process_measurement+0x316/0x1440 security/integrity/ima/ima_main.c:224 #1: 00000000e9699c3e (pointers_lock){.+.+}, at: get_block+0x171/0x1510 fs/sysv/itree.c:217 Preemption disabled at: [<0000000000000000>] (null) CPU: 1 PID: 19559 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 loop0: rw=0, want=8073606, limit=128 read_pages.isra.0+0x329/0x5d0 mm/readahead.c:133 attempt to access beyond end of device loop0: rw=0, want=3245513, limit=128 __do_page_cache_readahead+0x5c6/0x6c0 mm/readahead.c:211 attempt to access beyond end of device 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 loop0: rw=0, want=8767868, limit=128 generic_file_buffered_read mm/filemap.c:2115 [inline] generic_file_read_iter+0x1497/0x2b60 mm/filemap.c:2385 attempt to access beyond end of device 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 loop0: rw=0, want=13269810, limit=128 integrity_kernel_read+0x147/0x1f0 security/integrity/iint.c:200 attempt to access beyond end of device 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 loop0: rw=0, want=8073606, limit=128 ima_collect_measurement+0x4c4/0x570 security/integrity/ima/ima_api.c:231 process_measurement+0xddd/0x1440 security/integrity/ima/ima_main.c:284 attempt to access beyond end of device loop0: rw=0, want=3245516, limit=128 attempt to access beyond end of device 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 loop0: rw=0, want=8768636, limit=128 do_filp_open+0x18c/0x3f0 fs/namei.c:3567 attempt to access beyond end of device loop0: rw=0, want=13466418, limit=128 do_sys_open+0x3b3/0x520 fs/open.c:1085 attempt to access beyond end of device do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 loop0: rw=0, want=8073606, limit=128 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7f1648a010c9 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:00007f1646f73168 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007f1648b20f80 RCX: 00007f1648a010c9 RDX: 0000000000000010 RSI: 0000000000040000 RDI: 0000000020000180 RBP: 00007f1648a5cae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe9531e65f R14: 00007f1646f73300 R15: 0000000000022000 kauditd_printk_skb: 2 callbacks suppressed audit: type=1800 audit(1673506773.732:122): pid=19560 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed comm="syz-executor.0" name="/" dev="loop0" ino=2 res=0 sysv_free_block: flc_count > flc_size sysv_free_block: flc_count > flc_size UDF-fs: Scanning with blocksize 512 failed sysv_free_block: flc_count > flc_size sysv_free_block: flc_count > flc_size UDF-fs: warning (device loop5): udf_load_vrs: No VRS found sysv_free_block: flc_count > flc_size UDF-fs: Scanning with blocksize 1024 failed sysv_free_block: flc_count > flc_size UDF-fs: warning (device loop5): udf_load_vrs: No VRS found sysv_free_block: flc_count > flc_size UDF-fs: Scanning with blocksize 2048 failed sysv_free_block: flc_count > flc_size sysv_free_block: flc_count > flc_size UDF-fs: error (device loop5): udf_read_tagged: read failed, block=256, location=256 sysv_free_block: flc_count > flc_size UDF-fs: INFO Mounting volume 'LinuxUDF', timestamp 2022/11/22 14:59 (1000) 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 UDF-fs: warning (device loop5): udf_load_vrs: No VRS found UDF-fs: Scanning with blocksize 512 failed loop2: rw=0, want=13466418, limit=128 UDF-fs: warning (device loop5): udf_load_vrs: No VRS found attempt to access beyond end of device loop2: rw=0, want=8073606, limit=128 UDF-fs: Scanning with blocksize 1024 failed audit: type=1800 audit(1673506774.752:123): pid=19559 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed comm="syz-executor.2" name="/" dev="loop2" ino=2 res=0 UDF-fs: warning (device loop5): udf_load_vrs: No VRS found UDF-fs: Scanning with blocksize 2048 failed UDF-fs: error (device loop5): udf_read_tagged: read failed, block=256, location=256 UDF-fs: INFO Mounting volume 'LinuxUDF', timestamp 2022/11/22 14:59 (1000) 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 UDF-fs: warning (device loop5): udf_load_vrs: No VRS found UDF-fs: Scanning with blocksize 512 failed UDF-fs: warning (device loop5): udf_load_vrs: No VRS found attempt to access beyond end of device UDF-fs: Scanning with blocksize 1024 failed UDF-fs: warning (device loop5): udf_load_vrs: No VRS found UDF-fs: Scanning with blocksize 2048 failed loop2: rw=0, want=8767868, limit=128 UDF-fs: error (device loop5): udf_read_tagged: read failed, block=256, location=256 attempt to access beyond end of device loop2: rw=0, want=13269810, limit=128 UDF-fs: INFO Mounting volume 'LinuxUDF', timestamp 2022/11/22 14:59 (1000) 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 UDF-fs: warning (device loop5): udf_load_vrs: No VRS found attempt to access beyond end of device UDF-fs: Scanning with blocksize 512 failed loop2: rw=0, want=8073606, limit=128 UDF-fs: warning (device loop5): udf_load_vrs: No VRS found BUG: sleeping function called from invalid context at fs/buffer.c:1319 in_atomic(): 1, irqs_disabled(): 0, pid: 19666, name: syz-executor.2 2 locks held by syz-executor.2/19666: #0: 0000000068e3c6bf (&iint->mutex){+.+.}, at: process_measurement+0x316/0x1440 security/integrity/ima/ima_main.c:224 #1: 00000000e9699c3e (pointers_lock){.+.+}, at: get_block+0x171/0x1510 fs/sysv/itree.c:217 Preemption disabled at: [<0000000000000000>] (null) CPU: 0 PID: 19666 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