===================================================== BUG: KMSAN: uninit-value in on_stack arch/x86/include/asm/stacktrace.h:46 [inline] BUG: KMSAN: uninit-value in update_stack_state+0x4bf/0xb40 arch/x86/kernel/unwind_frame.c:218 CPU: 1 PID: 30141 Comm: syz-executor.0 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 on_stack arch/x86/include/asm/stacktrace.h:46 [inline] update_stack_state+0x4bf/0xb40 arch/x86/kernel/unwind_frame.c:218 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_unclone include/linux/skbuff.h:1622 [inline] skb_copy_ubufs+0x2123/0x29a0 net/core/skbuff.c:1348 skb_orphan_frags_rx include/linux/skbuff.h:2764 [inline] __netif_receive_skb_core+0x6301/0x6520 net/core/dev.c:5246 __netif_receive_skb_one_core net/core/dev.c:5279 [inline] __netif_receive_skb+0x164/0x670 net/core/dev.c:5395 process_backlog+0x50d/0xba0 net/core/dev.c:6239 napi_poll+0x43b/0xfd0 net/core/dev.c:6684 net_rx_action+0x35c/0xd40 net/core/dev.c:6752 __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:__msan_instrument_asm_store+0xfd/0x120 mm/kmsan/kmsan_instr.c:78 Code: 89 df 4c 89 f6 31 d2 e8 91 f3 ff ff be ff ff ff ff 65 0f c1 35 44 2c cc 7d ff ce 75 1a e8 0b d8 14 ff 4c 89 7d e0 ff 75 e0 9d <48> 83 c4 10 5b 41 5e 41 5f 5d c3 0f 0b 48 c7 c7 f0 64 e1 91 31 c0 RSP: 0018:ffff888173392f00 EFLAGS: 00000286 RAX: ffff888172f92f48 RBX: ffff888173392f48 RCX: 0000000000000003 RDX: 0000000000000002 RSI: 0000000000000000 RDI: ffff888173392f48 RBP: ffff888173392f28 R08: ffffea000000000f R09: ffff88812fffa000 R10: 0000000000000004 R11: 0000000000000000 R12: ffff8881724989d8 R13: ffff88803c23d100 R14: 0000000000000008 R15: 0000000000000286 native_save_fl arch/x86/include/asm/irqflags.h:29 [inline] arch_local_save_flags arch/x86/include/asm/irqflags.h:79 [inline] arch_local_irq_save arch/x86/include/asm/irqflags.h:120 [inline] do_softirq+0x5d/0x150 kernel/softirq.c:333 netif_rx_ni+0x21b/0x3c0 net/core/dev.c:4830 dev_loopback_xmit+0x64c/0x730 net/core/dev.c:3846 NF_HOOK include/linux/netfilter.h:307 [inline] ip6_finish_output2+0x274a/0x2a70 net/ipv6/ip6_output.c:81 __ip6_finish_output+0x9c0/0xa90 net/ipv6/ip6_output.c:143 ip6_finish_output+0x14b/0x4b0 net/ipv6/ip6_output.c:153 NF_HOOK_COND include/linux/netfilter.h:296 [inline] ip6_output+0x68d/0x7f0 net/ipv6/ip6_output.c:176 dst_output include/net/dst.h:443 [inline] ip6_local_out+0x17b/0x1e0 net/ipv6/output_core.c:179 ip6_send_skb+0xfd/0x430 net/ipv6/ip6_output.c:1865 udp_v6_send_skb+0x14cc/0x21a0 net/ipv6/udp.c:1175 udpv6_sendmsg+0x52c0/0x55c0 net/ipv6/udp.c:1473 inet6_sendmsg+0x15b/0x1d0 net/ipv6/af_inet6.c:638 sock_sendmsg_nosec net/socket.c:652 [inline] sock_sendmsg net/socket.c:672 [inline] ____sys_sendmsg+0xc82/0x1240 net/socket.c:2352 ___sys_sendmsg net/socket.c:2406 [inline] __sys_sendmmsg+0x817/0xfd0 net/socket.c:2489 __compat_sys_sendmmsg net/compat.c:480 [inline] __do_compat_sys_sendmmsg net/compat.c:487 [inline] __se_compat_sys_sendmmsg+0xcd/0xf0 net/compat.c:484 __ia32_compat_sys_sendmmsg+0x56/0x70 net/compat.c:484 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:0xf7fb8549 Code: Bad RIP value. RSP: 002b:00000000f55b20cc EFLAGS: 00000296 ORIG_RAX: 0000000000000159 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000020004d80 RDX: 0000000000000237 RSI: 0000000004000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 Local variable ----ad@cred_has_capability created at: cred_has_capability+0x9e/0x7a0 security/selinux/hooks.c:1584 cred_has_capability+0x9e/0x7a0 security/selinux/hooks.c:1584 =====================================================