syz.7.10508: attempt to access beyond end of device nbd7: rw=0, sector=256, nr_sectors = 1 limit=0 UDF-fs: error (device nbd7): udf_read_tagged: read failed, block=256, location=256 ------------[ cut here ]------------ WARNING: CPU: 1 PID: 2415 at fs/buffer.c:1125 __getblk_slow+0x4cc/0x560 fs/buffer.c:1125 Modules linked in: CPU: 1 UID: 0 PID: 2415 Comm: syz.7.10508 Not tainted 6.16.0-syzkaller-04405-g4b290aae788e #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 RIP: 0010:__getblk_slow+0x4cc/0x560 fs/buffer.c:1125 Code: c0 8b 48 89 df e8 a4 56 bc ff 90 0f 0b e8 2c 98 74 ff 48 c7 c6 20 4e c0 8b 48 89 df e8 8d 56 bc ff 90 0f 0b e8 15 98 74 ff 90 <0f> 0b 90 8b 74 24 0c 89 ea 48 c7 c7 80 4f c0 8b 31 db e8 0d 4b 53 RSP: 0018:ffffc90005cb77f0 EFLAGS: 00010287 RAX: 0000000000004ede RBX: 0000000000000200 RCX: ffffc90031403000 RDX: 0000000000080000 RSI: ffffffff824710db RDI: 0000000000000005 RBP: 0000000000000400 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000200 R11: 0000000000000001 R12: ffff88810448b980 R13: 0000000000000200 R14: 0000000000000200 R15: ffff88810448b980 FS: 00007f82f95f46c0(0000) GS:ffff8880d6822000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00002000003b2030 CR3: 000000002ce47000 CR4: 0000000000352ef0 Call Trace: bdev_getblk+0xd4/0xe0 fs/buffer.c:1461 __bread_gfp+0x86/0x3c0 fs/buffer.c:1515 sb_bread include/linux/buffer_head.h:346 [inline] udf_read_tagged+0xae/0x740 fs/udf/misc.c:199 udf_check_anchor_block+0x89/0x4b0 fs/udf/super.c:1912 udf_scan_anchors fs/udf/super.c:1990 [inline] udf_load_vrs+0x682/0x1070 fs/udf/super.c:2033 udf_fill_super+0x791/0x1df0 fs/udf/super.c:2201 get_tree_bdev_flags+0x38c/0x620 fs/super.c:1692 vfs_get_tree+0x8b/0x340 fs/super.c:1815 do_new_mount fs/namespace.c:3805 [inline] path_mount+0x1482/0x1fd0 fs/namespace.c:4120 do_mount fs/namespace.c:4133 [inline] __do_sys_mount fs/namespace.c:4344 [inline] __se_sys_mount fs/namespace.c:4321 [inline] __x64_sys_mount+0x28d/0x310 fs/namespace.c:4321 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xcd/0x4c0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f82fbb8e9a9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f82f95f4038 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f82fbdb6240 RCX: 00007f82fbb8e9a9 RDX: 0000200000000080 RSI: 0000200000004a00 RDI: 0000200000000000 RBP: 00007f82fbc10d69 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000014 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000001 R14: 00007f82fbdb6240 R15: 00007ffc07a4bd98