===================================================== BUG: KMSAN: uninit-value in update_stack_state+0x1ee/0xb40 arch/x86/kernel/unwind_frame.c:202 CPU: 1 PID: 10172 Comm: syz-executor.4 Not tainted 5.8.0-rc5-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:121 __msan_warning+0x58/0xa0 mm/kmsan/kmsan_instr.c:215 update_stack_state+0x1ee/0xb40 arch/x86/kernel/unwind_frame.c:202 unwind_next_frame+0x8c6/0xed0 arch/x86/kernel/unwind_frame.c:305 arch_stack_walk+0x338/0x3d0 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x117/0x1a0 kernel/stacktrace.c:123 kmsan_save_stack_with_flags mm/kmsan/kmsan.c:144 [inline] kmsan_internal_chain_origin+0xad/0x130 mm/kmsan/kmsan.c:310 kmsan_memcpy_memmove_metadata+0x272/0x2e0 mm/kmsan/kmsan.c:247 kmsan_memcpy_metadata+0xb/0x10 mm/kmsan/kmsan.c:267 __msan_memcpy+0x43/0x50 mm/kmsan/kmsan_instr.c:116 pskb_expand_head+0x3fd/0x1e30 net/core/skbuff.c:1636 __skb_pad+0x641/0x9d0 net/core/skbuff.c:1804 __skb_put_padto include/linux/skbuff.h:3218 [inline] skb_put_padto include/linux/skbuff.h:3237 [inline] send_hsr_supervision_frame+0x129c/0x15b0 net/hsr/hsr_device.c:299 hsr_announce+0x21f/0x3c0 net/hsr/hsr_device.c:330 call_timer_fn+0x226/0x550 kernel/time/timer.c:1404 expire_timers+0x4fc/0x780 kernel/time/timer.c:1449 __run_timers+0xaf4/0xd30 kernel/time/timer.c:1773 run_timer_softirq+0x2d/0x50 kernel/time/timer.c:1786 __do_softirq+0x2ea/0x7f5 kernel/softirq.c:293 asm_call_on_stack+0xf/0x20 arch/x86/entry/entry_64.S:711 __run_on_irqstack arch/x86/include/asm/irq_stack.h:23 [inline] run_on_irqstack_cond arch/x86/include/asm/irq_stack.h:50 [inline] do_softirq_own_stack+0x7c/0xa0 arch/x86/kernel/irq_64.c:77 invoke_softirq kernel/softirq.c:390 [inline] __irq_exit_rcu+0x226/0x270 kernel/softirq.c:420 irq_exit_rcu+0xe/0x10 kernel/softirq.c:432 sysvec_call_function_single+0x107/0x130 arch/x86/kernel/smp.c:243 asm_sysvec_call_function_single+0x12/0x20 arch/x86/include/asm/idtentry.h:601 RIP: 0010:kmsan_get_metadata+0x21/0x180 mm/kmsan/kmsan_shadow.c:186 Code: 2e 0f 1f 84 00 00 00 00 00 55 48 89 e5 41 57 41 56 53 41 89 d6 48 89 fb 48 83 e3 fc 85 d2 48 0f 44 df 40 f6 c7 03 48 0f 44 df <48> 89 df e8 77 e1 ff ff 84 c0 75 0c 48 89 df e8 9b e1 ff ff 84 c0 RSP: 0018:ffff8880534e3988 EFLAGS: 00000246 RAX: ffff888050abfb98 RBX: ffff8880512bfb98 RCX: 0000000050abfb98 RDX: 0000000000000001 RSI: 0000000000000140 RDI: ffff8880512bfb98 RBP: ffff8880534e39a0 R08: ffffea000000000f R09: ffff88812fffa000 R10: 0000000000000003 R11: ffff888075dd3d00 R12: ffff8880512bfb40 R13: ffff888075dd46d8 R14: 0000000000000001 R15: 0000000000000000 kmsan_get_shadow_origin_ptr+0x81/0xb0 mm/kmsan/kmsan_shadow.c:154 __msan_metadata_ptr_for_load_1+0x10/0x20 mm/kmsan/kmsan_instr.c:52 tomoyo_check_acl+0x109/0x5a0 security/tomoyo/domain.c:173 tomoyo_path_permission security/tomoyo/file.c:586 [inline] tomoyo_path_perm+0x83f/0xc60 security/tomoyo/file.c:838 tomoyo_inode_getattr+0x54/0x60 security/tomoyo/tomoyo.c:123 security_inode_getattr+0x144/0x280 security/security.c:1278 vfs_getattr fs/stat.c:121 [inline] vfs_statx_fd+0x173/0x310 fs/stat.c:151 vfs_fstat include/linux/fs.h:3313 [inline] __do_compat_sys_ia32_fstat64 arch/x86/kernel/sys_ia32.c:189 [inline] __se_compat_sys_ia32_fstat64+0xab/0x170 arch/x86/kernel/sys_ia32.c:185 __ia32_compat_sys_ia32_fstat64+0x39/0x60 arch/x86/kernel/sys_ia32.c:185 do_syscall_32_irqs_on arch/x86/entry/common.c:430 [inline] __do_fast_syscall_32+0x2af/0x480 arch/x86/entry/common.c:477 do_fast_syscall_32+0x6b/0xd0 arch/x86/entry/common.c:505 do_SYSENTER_32+0x73/0x90 arch/x86/entry/common.c:554 entry_SYSENTER_compat_after_hwframe+0x4d/0x5c RIP: 0023:0xf7eff549 Code: Bad RIP value. RSP: 002b:00000000fff74138 EFLAGS: 00000296 ORIG_RAX: 00000000000000c5 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00000000fff74160 RDX: 00000000ffffffe8 RSI: 00000000fff74160 RDI: 0000000000000000 RBP: 00000000fff7424c R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 Local variable ----xp_node@avc_has_perm_noaudit created at: avc_has_perm_noaudit+0xe3/0x8f0 security/selinux/avc.c:1136 avc_has_perm_noaudit+0xe3/0x8f0 security/selinux/avc.c:1136 =====================================================