===================================================== BUG: KMSAN: uninit-value in native_apic_mem_write+0x72/0x90 arch/x86/include/asm/apic.h:105 native_apic_mem_write+0x72/0x90 arch/x86/include/asm/apic.h:105 apic_eoi arch/x86/include/asm/apic.h:398 [inline] ack_APIC_irq arch/x86/include/asm/apic.h:444 [inline] __sysvec_reschedule_ipi arch/x86/kernel/smp.c:227 [inline] sysvec_reschedule_ipi+0x35/0x120 arch/x86/kernel/smp.c:225 asm_sysvec_reschedule_ipi+0x1f/0x30 arch/x86/include/asm/idtentry.h:654 __nr_to_section include/linux/mmzone.h:1719 [inline] __pfn_to_section include/linux/mmzone.h:1827 [inline] pfn_valid include/linux/mmzone.h:1878 [inline] kmsan_virt_addr_valid arch/x86/include/asm/kmsan.h:82 [inline] virt_to_page_or_null mm/kmsan/shadow.c:75 [inline] kmsan_get_metadata+0x1a5/0x2c0 mm/kmsan/shadow.c:143 kmsan_get_shadow_origin_ptr+0x4d/0xa0 mm/kmsan/shadow.c:102 get_shadow_origin_ptr mm/kmsan/instrumentation.c:36 [inline] __msan_metadata_ptr_for_store_4+0x27/0x40 mm/kmsan/instrumentation.c:91 __skb_dst_copy include/net/dst.h:275 [inline] skb_dst_copy include/net/dst.h:283 [inline] __copy_skb_header+0x24d/0xac0 net/core/skbuff.c:1192 __skb_clone+0xa2/0xa40 net/core/skbuff.c:1243 skb_clone+0x4a9/0x670 net/core/skbuff.c:1721 neigh_probe net/core/neighbour.c:1092 [inline] neigh_timer_handler+0xf39/0x1740 net/core/neighbour.c:1177 call_timer_fn+0x8d/0x580 kernel/time/timer.c:1700 expire_timers kernel/time/timer.c:1751 [inline] __run_timers+0x94f/0x11c0 kernel/time/timer.c:2022 run_timer_softirq+0x75/0xf0 kernel/time/timer.c:2035 __do_softirq+0x211/0x818 kernel/softirq.c:571 invoke_softirq kernel/softirq.c:445 [inline] __irq_exit_rcu+0x117/0x260 kernel/softirq.c:650 irq_exit_rcu+0x12/0x20 kernel/softirq.c:662 sysvec_apic_timer_interrupt+0x9e/0xc0 arch/x86/kernel/apic/apic.c:1107 asm_sysvec_apic_timer_interrupt+0x1f/0x30 arch/x86/include/asm/idtentry.h:649 smap_save mm/kmsan/instrumentation.c:92 [inline] get_shadow_origin_ptr mm/kmsan/instrumentation.c:33 [inline] __msan_metadata_ptr_for_load_8+0xe/0x40 mm/kmsan/instrumentation.c:92 is_last_frame arch/x86/kernel/unwind_frame.c:87 [inline] is_last_task_frame+0x40/0x400 arch/x86/kernel/unwind_frame.c:156 unwind_next_frame+0x6c/0x3e0 arch/x86/kernel/unwind_frame.c:276 arch_stack_walk+0x323/0x3c0 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x11a/0x1b0 kernel/stacktrace.c:122 kmsan_save_stack_with_flags mm/kmsan/core.c:75 [inline] kmsan_internal_poison_memory+0x49/0x90 mm/kmsan/core.c:60 kmsan_slab_free+0xd1/0x130 mm/kmsan/hooks.c:89 slab_free_hook mm/slub.c:1751 [inline] slab_free_freelist_hook mm/slub.c:1807 [inline] slab_free mm/slub.c:3787 [inline] __kmem_cache_free+0x6c6/0x11b0 mm/slub.c:3800 kfree+0x1fe/0x4f0 mm/slab_common.c:1020 tomoyo_path_perm+0xaca/0xc50 security/tomoyo/file.c:842 tomoyo_inode_getattr+0x58/0x70 security/tomoyo/tomoyo.c:122 security_inode_getattr+0x156/0x240 security/security.c:1375 vfs_getattr+0x9a/0x640 fs/stat.c:161 vfs_statx+0x32b/0x9a0 fs/stat.c:236 vfs_fstatat fs/stat.c:270 [inline] __do_sys_newfstatat fs/stat.c:440 [inline] __se_sys_newfstatat+0x1ba/0xa20 fs/stat.c:434 __x64_sys_newfstatat+0x122/0x170 fs/stat.c:434 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd Uninit was created at: slab_post_alloc_hook+0x271/0xf70 mm/slab.h:766 slab_alloc_node mm/slub.c:3452 [inline] slab_alloc mm/slub.c:3460 [inline] __kmem_cache_alloc_lru mm/slub.c:3467 [inline] kmem_cache_alloc+0x586/0xb40 mm/slub.c:3476 skb_clone+0x3ec/0x670 net/core/skbuff.c:1714 neigh_probe net/core/neighbour.c:1092 [inline] neigh_timer_handler+0xf39/0x1740 net/core/neighbour.c:1177 call_timer_fn+0x8d/0x580 kernel/time/timer.c:1700 expire_timers kernel/time/timer.c:1751 [inline] __run_timers+0x94f/0x11c0 kernel/time/timer.c:2022 run_timer_softirq+0x75/0xf0 kernel/time/timer.c:2035 __do_softirq+0x211/0x818 kernel/softirq.c:571 CPU: 1 PID: 4374 Comm: udevd Not tainted 6.2.0-rc8-syzkaller-80999-g31b504f219a9 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/21/2023 =====================================================