UDF-fs: warning (device loop0): udf_load_vrs: No VRS found UDF-fs: Scanning with blocksize 2048 failed UDF-fs: error (device loop0): udf_read_tagged: read failed, block=256, location=256 UDF-fs: INFO Mounting volume 'LinuxUDF', timestamp 2022/11/22 14:59 (1000) ================================================================== BUG: KASAN: slab-out-of-bounds in udf_write_aext+0x780/0x860 fs/udf/inode.c:2065 Write of size 4 at addr ffff8880abb9e5f0 by task syz-executor728/8097 CPU: 1 PID: 8097 Comm: syz-executor728 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 print_address_description.cold+0x54/0x219 mm/kasan/report.c:256 kasan_report_error.cold+0x8a/0x1b9 mm/kasan/report.c:354 kasan_report mm/kasan/report.c:412 [inline] __asan_report_store_n_noabort+0x8b/0xa0 mm/kasan/report.c:449 udf_write_aext+0x780/0x860 fs/udf/inode.c:2065 udf_add_entry+0xdab/0x2a20 fs/udf/namei.c:496 udf_mkdir+0x145/0x650 fs/udf/namei.c:693 vfs_mkdir+0x508/0x7a0 fs/namei.c:3819 do_mkdirat+0x262/0x2d0 fs/namei.c:3842 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7fc51643ae67 Code: ff ff ff ff c3 66 0f 1f 44 00 00 48 c7 c0 c0 ff ff ff 64 c7 00 16 00 00 00 b8 ff ff ff ff c3 0f 1f 40 00 b8 53 00 00 00 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:00007ffddcd205a8 EFLAGS: 00000286 ORIG_RAX: 0000000000000053 RAX: ffffffffffffffda RBX: 0000555555d672c0 RCX: 00007fc51643ae67 RDX: 0000000000000000 RSI: 00000000000001ff RDI: 0000000020000040 RBP: 00000000ffffffff R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000286 R12: 0000000020000040 R13: 00000000200002c0 R14: 0000000000000000 R15: 00007ffddcd20640 Allocated by task 8097: __do_kmalloc mm/slab.c:3727 [inline] __kmalloc+0x15a/0x3c0 mm/slab.c:3736 kmalloc include/linux/slab.h:520 [inline] kzalloc include/linux/slab.h:709 [inline] udf_new_inode+0x220/0xf30 fs/udf/ialloc.c:75 udf_mkdir+0xa8/0x650 fs/udf/namei.c:686 vfs_mkdir+0x508/0x7a0 fs/namei.c:3819 do_mkdirat+0x262/0x2d0 fs/namei.c:3842 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe Freed by task 0: (stack is not available) The buggy address belongs to the object at ffff8880abb9e600 which belongs to the cache kmalloc-4096 of size 4096 The buggy address is located 16 bytes to the left of 4096-byte region [ffff8880abb9e600, ffff8880abb9f600) The buggy address belongs to the page: page:ffffea0002aee780 count:1 mapcount:0 mapping:ffff88813bff0dc0 index:0x0 compound_mapcount: 0 flags: 0xfff00000008100(slab|head) raw: 00fff00000008100 ffffea0002d45e08 ffffea000255bf88 ffff88813bff0dc0 raw: 0000000000000000 ffff8880abb9e600 0000000100000001 0000000000000000 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff8880abb9e480: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff8880abb9e500: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc >ffff8880abb9e580: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ^ ffff8880abb9e600: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff8880abb9e680: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ==================================================================