===================================================== BUG: KMSAN: uninit-value in update_stack_state+0x974/0xb40 arch/x86/kernel/unwind_frame.c:238 CPU: 0 PID: 13906 Comm: syz-executor.3 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+0x974/0xb40 arch/x86/kernel/unwind_frame.c:238 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 skb_copy_from_linear_data_offset include/linux/skbuff.h:3636 [inline] skb_copy_bits+0x2a0/0x1050 net/core/skbuff.c:2200 skb_copy+0x51e/0xb40 net/core/skbuff.c:1523 batadv_add_bcast_packet_to_list+0x2d5/0x9e0 net/batman-adv/send.c:768 batadv_interface_tx+0x270f/0x2970 net/batman-adv/soft-interface.c:351 __netdev_start_xmit include/linux/netdevice.h:4611 [inline] netdev_start_xmit include/linux/netdevice.h:4625 [inline] xmit_one+0x3cf/0x750 net/core/dev.c:3556 dev_hard_start_xmit net/core/dev.c:3572 [inline] __dev_queue_xmit+0x3aad/0x4470 net/core/dev.c:4131 dev_queue_xmit+0x4b/0x60 net/core/dev.c:4164 neigh_hh_output include/net/neighbour.h:498 [inline] neigh_output include/net/neighbour.h:507 [inline] ip6_finish_output2+0x23f1/0x2a70 net/ipv6/ip6_output.c:117 __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] NF_HOOK include/linux/netfilter.h:307 [inline] mld_sendpack+0xf6c/0x1470 net/ipv6/mcast.c:1679 mld_send_cr net/ipv6/mcast.c:1975 [inline] mld_ifc_timer_expire+0x13b8/0x1b50 net/ipv6/mcast.c:2474 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:__msan_chain_origin+0x70/0x90 mm/kmsan/kmsan_instr.c:168 Code: 7d 35 44 89 f7 e8 d0 f4 ff ff be ff ff ff ff 65 0f c1 35 43 2a cc 7d ff ce 75 1e 89 c3 e8 08 d6 14 ff 4c 89 7d e0 ff 75 e0 9d <89> d8 48 83 c4 10 5b 41 5e 41 5f 5d c3 0f 0b 48 c7 c7 f0 64 e1 91 RSP: 0018:ffff8880bbab75f8 EFLAGS: 00000246 RAX: 0000000015b2014e RBX: 0000000015b2014e RCX: 00000000059e014e RDX: 0000000000000a20 RSI: 0000000000000000 RDI: 0000000005b2014e RBP: ffff8880bbab7620 R08: 0000000000000003 R09: ffff8880bbab73ac R10: 0000000000000003 R11: ffffffff912007f5 R12: 0000000000000000 R13: ffff88803b422858 R14: 00000000059e014e R15: 0000000000000246 skb_clone+0x515/0x6b0 net/core/skbuff.c:1451 do_one_broadcast net/netlink/af_netlink.c:1436 [inline] netlink_broadcast_filtered+0xf3d/0x22f0 net/netlink/af_netlink.c:1511 netlink_broadcast+0xf6/0x110 net/netlink/af_netlink.c:1535 uevent_net_broadcast_untagged lib/kobject_uevent.c:330 [inline] kobject_uevent_net_broadcast lib/kobject_uevent.c:408 [inline] kobject_uevent_env+0x1f77/0x2cc0 lib/kobject_uevent.c:592 kobject_uevent+0x6f/0x80 lib/kobject_uevent.c:641 udc_bind_to_driver+0x902/0x930 drivers/usb/gadget/udc/core.c:1370 usb_gadget_probe_driver+0x61f/0x930 drivers/usb/gadget/udc/core.c:1423 raw_ioctl_run drivers/usb/gadget/legacy/raw_gadget.c:512 [inline] raw_ioctl+0x1c96/0x5810 drivers/usb/gadget/legacy/raw_gadget.c:1210 __do_compat_sys_ioctl fs/ioctl.c:847 [inline] __se_compat_sys_ioctl+0x55f/0x1100 fs/ioctl.c:798 __ia32_compat_sys_ioctl+0x4a/0x70 fs/ioctl.c:798 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:0xf7fe3549 Code: Bad RIP value. RSP: 002b:00000000f55dafe8 EFLAGS: 00000286 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000005501 RDX: 0000000000000000 RSI: 00000000f55dc05c RDI: 00000000090b0464 RBP: 0000000000000003 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 =====================================================