attempt to access beyond end of device attempt to access beyond end of device ------------[ cut here ]------------ loop4: rw=1, want=2138, limit=2048 loop0: rw=1, want=2138, limit=2048 WARNING: CPU: 0 PID: 8253 at fs/udf/inode.c:1979 __udf_add_aext.cold+0x41/0x76 fs/udf/inode.c:1979 attempt to access beyond end of device Kernel panic - not syncing: panic_on_warn set ... CPU: 0 PID: 8253 Comm: syz-executor201 Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/22/2022 loop4: rw=1, want=2140, limit=2048 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1fc/0x2ef lib/dump_stack.c:118 panic+0x26a/0x50e kernel/panic.c:186 attempt to access beyond end of device __warn.cold+0x20/0x5a kernel/panic.c:541 loop0: rw=1, want=2140, limit=2048 report_bug+0x262/0x2b0 lib/bug.c:183 fixup_bug arch/x86/kernel/traps.c:178 [inline] fixup_bug arch/x86/kernel/traps.c:173 [inline] do_error_trap+0x1d7/0x310 arch/x86/kernel/traps.c:296 attempt to access beyond end of device invalid_op+0x14/0x20 arch/x86/entry/entry_64.S:1038 attempt to access beyond end of device RIP: 0010:__udf_add_aext.cold+0x41/0x76 fs/udf/inode.c:1979 Code: fa e8 b9 b1 69 f9 48 c7 c7 80 85 9a 88 e8 18 e3 fa ff 0f 0b e9 a4 1b 76 fa e8 a1 b1 69 f9 48 c7 c7 80 85 9a 88 e8 00 e3 fa ff <0f> 0b 48 8b 54 24 10 b8 ff ff 37 00 48 c1 e0 2a 48 c1 ea 03 0f b6 RSP: 0018:ffff88808f9af300 EFLAGS: 00010282 loop4: rw=1, want=2142, limit=2048 RAX: 0000000000000024 RBX: ffff88808f9af768 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff814dff01 RDI: ffffed1011f35e52 RBP: ffff88808b134670 R08: 0000000000000024 R09: 0000000000000000 R10: 0000000000000005 R11: 0000000000000000 R12: 0000000000000000 R13: 00000000000001d0 R14: 0000000000000010 R15: 00000000000001e8 attempt to access beyond end of device udf_setup_indirect_aext+0x504/0x7e0 fs/udf/inode.c:1945 loop0: rw=1, want=2142, limit=2048 udf_add_aext+0x210/0x2e0 fs/udf/inode.c:2032 loop4: rw=1, want=2147, limit=2048 attempt to access beyond end of device udf_insert_aext fs/udf/inode.c:2198 [inline] udf_update_extents fs/udf/inode.c:1186 [inline] inode_getblk+0x1984/0x3b30 fs/udf/inode.c:890 attempt to access beyond end of device loop0: rw=1, want=2147, limit=2048 loop4: rw=1, want=2148, limit=2048 udf_get_block+0x1e1/0x650 fs/udf/inode.c:439 attempt to access beyond end of device __block_write_begin_int+0x46c/0x17b0 fs/buffer.c:1978 attempt to access beyond end of device loop4: rw=1, want=2151, limit=2048 __block_write_begin fs/buffer.c:2028 [inline] block_write_begin+0x58/0x2e0 fs/buffer.c:2087 attempt to access beyond end of device udf_write_begin+0x39/0xa0 fs/udf/inode.c:206 generic_perform_write+0x1f8/0x4d0 mm/filemap.c:3170 __generic_file_write_iter+0x24b/0x610 mm/filemap.c:3295 udf_file_write_iter+0x2d4/0x4e0 fs/udf/file.c:169 loop0: rw=1, want=2148, limit=2048 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 loop4: rw=1, want=2153, limit=2048 attempt to access beyond end of device vfs_write+0x1f3/0x540 fs/read_write.c:549 attempt to access beyond end of device ksys_write+0x12b/0x2a0 fs/read_write.c:599 loop0: rw=1, want=2151, limit=2048 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7f5dd866fa59 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 c0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffc5ddccbc8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 0000000020000080 RCX: 00007f5dd866fa59 RDX: 000000000000fea7 RSI: 0000000020000140 RDI: 0000000000000003 attempt to access beyond end of device RBP: 0000000000000000 R08: 00007ffc5ddccbf0 R09: 00007ffc5ddccbf0 R10: 00007ffc5ddcca90 R11: 0000000000000246 R12: 00007ffc5ddccbec R13: 00007ffc5ddccc20 R14: 00007ffc5ddccc00 R15: 0000000000000003 Kernel Offset: disabled Rebooting in 86400 seconds..