IPVS: ftp: loaded support on port[0] = 21 ================================================================== BUG: KASAN: slab-out-of-bounds in memcpy include/linux/string.h:377 [inline] BUG: KASAN: slab-out-of-bounds in udf_find_entry+0xa33/0x1070 fs/udf/namei.c:251 Write of size 165 at addr ffff8880a9f1e5da by task syz-executor396/8096 CPU: 1 PID: 8096 Comm: syz-executor396 Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/22/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+0x8f/0xa0 mm/kasan/report.c:412 memcpy+0x35/0x50 mm/kasan/kasan.c:303 memcpy include/linux/string.h:377 [inline] udf_find_entry+0xa33/0x1070 fs/udf/namei.c:251 udf_lookup fs/udf/namei.c:322 [inline] udf_lookup+0x156/0x270 fs/udf/namei.c:296 __lookup_hash+0x117/0x180 fs/namei.c:1547 do_unlinkat+0x295/0x660 fs/namei.c:4052 do_coredump+0x1f9c/0x2d60 fs/coredump.c:687 get_signal+0xed9/0x1f70 kernel/signal.c:2583 do_signal+0x8f/0x1670 arch/x86/kernel/signal.c:799 exit_to_usermode_loop+0x204/0x2a0 arch/x86/entry/common.c:163 prepare_exit_to_usermode arch/x86/entry/common.c:198 [inline] syscall_return_slowpath arch/x86/entry/common.c:271 [inline] do_syscall_64+0x538/0x620 arch/x86/entry/common.c:296 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7f68d25a20b6 Code: b8 ff ff ff ff eb b9 e8 c8 39 04 00 0f 1f 84 00 00 00 00 00 49 89 ca 64 8b 04 25 18 00 00 00 85 c0 75 11 b8 12 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 5a c3 90 48 83 ec 28 48 89 54 24 10 48 89 74 RSP: 002b:00007ffcba4dad98 EFLAGS: 00000246 ORIG_RAX: 0000000000000012 RAX: ffffffffffffffe5 RBX: 0000000000000006 RCX: 00007f68d25a20b6 RDX: 0000000000000027 RSI: 0000020006000001 RDI: 0000000000000006 RBP: 00007ffcba4dadb0 R08: 00007ffcba4dac30 R09: 00005555558f1380 R10: 6608000000000014 R11: 0000000000000246 R12: 0000000000000028 R13: 0000000000000006 R14: 000000000000001c R15: 00000000200004a0 Allocated by task 8096: kmem_cache_alloc_trace+0x12f/0x380 mm/slab.c:3625 kmalloc include/linux/slab.h:515 [inline] udf_find_entry+0xa82/0x1070 fs/udf/namei.c:241 udf_lookup fs/udf/namei.c:322 [inline] udf_lookup+0x156/0x270 fs/udf/namei.c:296 __lookup_hash+0x117/0x180 fs/namei.c:1547 do_unlinkat+0x295/0x660 fs/namei.c:4052 do_coredump+0x1f9c/0x2d60 fs/coredump.c:687 get_signal+0xed9/0x1f70 kernel/signal.c:2583 do_signal+0x8f/0x1670 arch/x86/kernel/signal.c:799 exit_to_usermode_loop+0x204/0x2a0 arch/x86/entry/common.c:163 prepare_exit_to_usermode arch/x86/entry/common.c:198 [inline] syscall_return_slowpath arch/x86/entry/common.c:271 [inline] do_syscall_64+0x538/0x620 arch/x86/entry/common.c:296 entry_SYSCALL_64_after_hwframe+0x49/0xbe Freed by task 5233: __cache_free mm/slab.c:3503 [inline] kfree+0xcc/0x210 mm/slab.c:3822 __do_execve_file+0x171c/0x2360 fs/exec.c:1843 do_execveat_common fs/exec.c:1879 [inline] do_execve+0x35/0x50 fs/exec.c:1896 __do_sys_execve fs/exec.c:1977 [inline] __se_sys_execve fs/exec.c:1972 [inline] __x64_sys_execve+0x7c/0xa0 fs/exec.c:1972 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe The buggy address belongs to the object at ffff8880a9f1e580 which belongs to the cache kmalloc-256 of size 256 The buggy address is located 90 bytes inside of 256-byte region [ffff8880a9f1e580, ffff8880a9f1e680) The buggy address belongs to the page: page:ffffea0002a7c780 count:1 mapcount:0 mapping:ffff88813bff07c0 index:0x0 flags: 0xfff00000000100(slab) raw: 00fff00000000100 ffffea0002a6eb48 ffff88813bff1648 ffff88813bff07c0 raw: 0000000000000000 ffff8880a9f1e080 000000010000000c 0000000000000000 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff8880a9f1e500: 00 00 00 00 00 00 00 00 fc fc fc fc fc fc fc fc ffff8880a9f1e580: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >ffff8880a9f1e600: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 06 ^ ffff8880a9f1e680: fc fc fc fc fc fc fc fc 00 00 00 00 00 00 00 00 ffff8880a9f1e700: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ==================================================================