exfat: Deprecated parameter 'namecase' exFAT-fs (loop3): failed to load upcase table (idx : 0x00010000, chksum : 0x5441951d, utbl_chksum : 0xe619d30d) ================================================================== BUG: KASAN: stack-out-of-bounds in exfat_nls_to_ucs2+0x732/0x800 fs/exfat/nls.c:619 Read of size 1 at addr ffffc90003ca7ce0 by task syz.3.17/4351 CPU: 0 UID: 0 PID: 4351 Comm: syz.3.17 Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025 Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x5a/0x90 lib/dump_stack.c:120 print_address_description mm/kasan/report.c:378 [inline] print_report+0xcd/0x630 mm/kasan/report.c:482 kasan_report+0xe0/0x110 mm/kasan/report.c:595 exfat_nls_to_ucs2+0x732/0x800 fs/exfat/nls.c:619 exfat_ioctl_set_volume_label+0x18a/0x1c0 fs/exfat/file.c:524 exfat_ioctl+0x857/0x1390 fs/exfat/file.c:554 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:597 [inline] __se_sys_ioctl fs/ioctl.c:583 [inline] __x64_sys_ioctl+0x134/0x1c0 fs/ioctl.c:583 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x6d/0x310 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fd732b8eec9 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:00007fd733a8a038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007fd732de5fa0 RCX: 00007fd732b8eec9 RDX: 00002000000001c0 RSI: 0000000041009432 RDI: 0000000000000004 RBP: 00007fd732c11f91 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fd732de6038 R14: 00007fd732de5fa0 R15: 00007ffce0ec7b18 The buggy address belongs to stack of task syz.3.17/4351 and is located at offset 960 in frame: exfat_ioctl_set_volume_label+0x0/0x1c0 fs/exfat/file.c:507 This frame has 3 objects: [32, 36) 'lossy' [48, 568) 'uniname' [704, 960) 'label' The buggy address belongs to a 8-page vmalloc region starting at 0xffffc90003ca0000 allocated at kernel_clone+0xcc/0x830 kernel/fork.c:2605 The buggy address belongs to the physical page: page: refcount:1 mapcount:0 mapping:0000000000000000 index:0xffff888000000000 pfn:0x7297d memcg:ffff88801e323902 flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000000000 0000000000000000 dead000000000122 0000000000000000 raw: ffff888000000000 0000000000000000 00000001ffffffff ffff88801e323902 page dumped because: kasan: bad access detected page_owner tracks the page as allocated page last allocated via order 0, migratetype Unmovable, gfp_mask 0x2dc2(GFP_KERNEL|__GFP_HIGHMEM|__GFP_ZERO|__GFP_NOWARN), pid 325, tgid 325 (kworker/u8:5), ts 90315574052, free_ts 90264073151 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x168/0x1d0 mm/page_alloc.c:1851 prep_new_page mm/page_alloc.c:1859 [inline] get_page_from_freelist+0xf32/0x2fd0 mm/page_alloc.c:3858 __alloc_frozen_pages_noprof+0x20c/0x470 mm/page_alloc.c:5148 alloc_pages_mpol+0x135/0x400 mm/mempolicy.c:2416 alloc_frozen_pages_noprof mm/mempolicy.c:2487 [inline] alloc_pages_noprof+0xe9/0x2a0 mm/mempolicy.c:2507 vm_area_alloc_pages mm/vmalloc.c:3642 [inline] __vmalloc_area_node mm/vmalloc.c:3720 [inline] __vmalloc_node_range_noprof+0x51b/0x1000 mm/vmalloc.c:3893 __vmalloc_node_noprof+0x89/0x100 mm/vmalloc.c:3956 alloc_thread_stack_node kernel/fork.c:311 [inline] dup_task_struct kernel/fork.c:881 [inline] copy_process+0x2357/0x6210 kernel/fork.c:2004 kernel_clone+0xcc/0x830 kernel/fork.c:2605 user_mode_thread+0xb9/0x100 kernel/fork.c:2683 call_usermodehelper_exec_sync kernel/umh.c:132 [inline] call_usermodehelper_exec_work+0x57/0x140 kernel/umh.c:163 process_one_work+0x81f/0x16b0 kernel/workqueue.c:3236 process_scheduled_works kernel/workqueue.c:3319 [inline] worker_thread+0x6dd/0x11e0 kernel/workqueue.c:3400 kthread+0x35d/0x6a0 kernel/kthread.c:463 ret_from_fork+0x2bb/0x340 arch/x86/kernel/process.c:148 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 page last free pid 15 tgid 15 stack trace: reset_page_owner include/linux/page_owner.h:25 [inline] free_pages_prepare mm/page_alloc.c:1395 [inline] __free_frozen_pages+0x811/0x1130 mm/page_alloc.c:2895 rcu_do_batch kernel/rcu/tree.c:2605 [inline] rcu_core+0xb22/0x1460 kernel/rcu/tree.c:2861 handle_softirqs+0x1b8/0x670 kernel/softirq.c:579 run_ksoftirqd kernel/softirq.c:968 [inline] run_ksoftirqd+0x2e/0x40 kernel/softirq.c:960 smpboot_thread_fn+0x2e9/0x850 kernel/smpboot.c:160 kthread+0x35d/0x6a0 kernel/kthread.c:463 ret_from_fork+0x2bb/0x340 arch/x86/kernel/process.c:148 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 Memory state around the buggy address: ffffc90003ca7b80: f2 f2 f2 f2 f2 f2 f2 f2 f2 f2 f2 f2 00 00 00 00 ffffc90003ca7c00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >ffffc90003ca7c80: 00 00 00 00 00 00 00 00 00 00 00 00 f3 f3 f3 f3 ^ ffffc90003ca7d00: f3 f3 f3 f3 00 00 00 00 00 00 00 00 00 00 00 00 ffffc90003ca7d80: 00 00 00 00 00 00 f1 f1 f1 f1 f1 f1 00 00 00 f2 ==================================================================