kstrdup mm/util.c:62 [inline] kstrdup_const+0x1cc/0x240 mm/util.c:82 alloc_vfsmnt+0x1f8/0xb30 fs/namespace.c:186 vfs_create_mount+0xea/0x870 fs/namespace.c:956 do_new_mount_fc fs/namespace.c:2812 [inline] do_new_mount fs/namespace.c:2877 [inline] path_mount+0x504e/0x5d40 fs/namespace.c:3192 do_mount fs/namespace.c:3205 [inline] __do_sys_mount fs/namespace.c:3413 [inline] __se_sys_mount+0x45c/0x520 fs/namespace.c:3390 __x64_sys_mount+0x62/0x80 fs/namespace.c:3390 do_syscall_64+0x9f/0x140 arch/x86/entry/common.c:48 entry_SYSCALL_64_after_hwframe+0x44/0xa9 Uninit was created at: ===================================================== BUG: KMSAN: uninit-value in is_kernel include/linux/kallsyms.h:42 [inline] BUG: KMSAN: uninit-value in is_ksym_addr include/linux/kallsyms.h:50 [inline] BUG: KMSAN: uninit-value in kallsyms_lookup+0x1c2/0x8d0 kernel/kallsyms.c:291 CPU: 1 PID: 26528 Comm: syz-executor.4 Not tainted 5.9.0-rc4-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x21c/0x280 lib/dump_stack.c:118 kmsan_report+0xf7/0x1e0 mm/kmsan/kmsan_report.c:122 __msan_warning+0x58/0xa0 mm/kmsan/kmsan_instr.c:219 is_kernel include/linux/kallsyms.h:42 [inline] is_ksym_addr include/linux/kallsyms.h:50 [inline] kallsyms_lookup+0x1c2/0x8d0 kernel/kallsyms.c:291 __sprint_symbol+0x140/0x5b0 kernel/kallsyms.c:364 sprint_symbol+0x7c/0x90 kernel/kallsyms.c:395 symbol_string+0x197/0x4c0 lib/vsprintf.c:972 pointer+0x60c/0x1c30 lib/vsprintf.c:2224 vsnprintf+0x1b35/0x35c0 lib/vsprintf.c:2622 vscnprintf+0xbe/0x1c0 lib/vsprintf.c:2721 vprintk_store+0xf5/0x1440 kernel/printk/printk.c:1951 vprintk_emit+0x300/0x990 kernel/printk/printk.c:2018 vprintk_default+0x90/0xa0 kernel/printk/printk.c:2054 vprintk_func+0x2f7/0x300 kernel/printk/printk_safe.c:393 printk+0x18b/0x1d3 kernel/printk/printk.c:2085 stack_trace_print+0x1b1/0x1f0 kernel/stacktrace.c:32 kmsan_print_origin+0x1a0/0x1b0 mm/kmsan/kmsan_report.c:63 kmsan_internal_chain_origin+0x76/0x130 mm/kmsan/kmsan.c:303 kmsan_memcpy_memmove_metadata+0x272/0x2e0 mm/kmsan/kmsan.c:248 kmsan_memcpy_metadata+0xb/0x10 mm/kmsan/kmsan.c:268 __msan_memcpy+0x43/0x50 mm/kmsan/kmsan_instr.c:120 kstrdup mm/util.c:62 [inline] kstrdup_const+0x1cc/0x240 mm/util.c:82 alloc_vfsmnt+0x1f8/0xb30 fs/namespace.c:186 clone_mnt+0xd6/0x1a80 fs/namespace.c:1039 copy_tree+0x339/0x1ef0 fs/namespace.c:1815 propagate_one+0x853/0xd90 fs/pnode.c:261 propagate_mnt+0x207/0x1390 fs/pnode.c:308 attach_recursive_mnt+0x145e/0x40a0 fs/namespace.c:2129 graft_tree fs/namespace.c:2237 [inline] do_loopback fs/namespace.c:2365 [inline] path_mount+0x431d/0x5d40 fs/namespace.c:3186 do_mount fs/namespace.c:3205 [inline] __do_sys_mount fs/namespace.c:3413 [inline] __se_sys_mount+0x45c/0x520 fs/namespace.c:3390 __x64_sys_mount+0x62/0x80 fs/namespace.c:3390 do_syscall_64+0x9f/0x140 arch/x86/entry/common.c:48 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x45d5f9 Code: 5d b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 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 0f 83 2b b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f403a8b2c78 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00000000000212c0 RCX: 000000000045d5f9 RDX: 0000000000000000 RSI: 0000000020000140 RDI: 0000000020000080 RBP: 000000000118d030 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000005110 R11: 0000000000000246 R12: 000000000118cfec R13: 000000000169fb6f R14: 00007f403a8b39c0 R15: 000000000118cfec Uninit was created at: kmsan_save_stack_with_flags+0x3c/0x90 mm/kmsan/kmsan.c:143 kmsan_internal_alloc_meta_for_pages mm/kmsan/kmsan_shadow.c:268 [inline] kmsan_alloc_page+0xc5/0x1a0 mm/kmsan/kmsan_shadow.c:292 __alloc_pages_nodemask+0xf34/0x1120 mm/page_alloc.c:4927 alloc_pages_current+0x685/0xb50 mm/mempolicy.c:2275 alloc_pages include/linux/gfp.h:545 [inline] stack_depot_save+0x3dd/0x490 lib/stackdepot.c:301 kmsan_internal_chain_origin+0xf0/0x130 mm/kmsan/kmsan.c:313 kmsan_memcpy_memmove_metadata+0x272/0x2e0 mm/kmsan/kmsan.c:248 kmsan_memcpy_metadata+0xb/0x10 mm/kmsan/kmsan.c:268 __msan_memcpy+0x43/0x50 mm/kmsan/kmsan_instr.c:120 ima_write_template_field_data+0x1ef/0x480 security/integrity/ima/ima_template_lib.c:43 ima_eventname_init_common security/integrity/ima/ima_template_lib.c:410 [inline] ima_eventname_ng_init+0x19c/0x200 security/integrity/ima/ima_template_lib.c:429 ima_alloc_init_template+0x4e1/0xac0 security/integrity/ima/ima_api.c:70 ima_store_measurement+0x393/0xce0 security/integrity/ima/ima_api.c:324 process_measurement+0x29e0/0x3960 security/integrity/ima/ima_main.c:332 ima_bprm_check+0x14e/0x350 security/integrity/ima/ima_main.c:467 security_bprm_check+0x1aa/0x1e0 security/security.c:843 search_binary_handler fs/exec.c:1807 [inline] exec_binprm+0x2d5/0x1470 fs/exec.c:1860 bprm_execve+0xbc7/0x1030 fs/exec.c:1931 kernel_execve+0x1130/0x1160 fs/exec.c:2080 run_init_process+0x27f/0x350 init/main.c:1340 try_to_run_init_process init/main.c:1347 [inline] kernel_init+0x341/0x840 init/main.c:1456 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294 =====================================================