===================================================== BUG: KMSAN: uninit-value in update_stack_state+0x974/0xb40 arch/x86/kernel/unwind_frame.c:238 CPU: 1 PID: 1631 Comm: kworker/u4:19 Not tainted 5.8.0-rc5-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: krdsd rds_connect_worker 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 kstrdup+0x140/0x1a0 mm/util.c:62 security_netlbl_sid_to_secattr+0x29b/0x620 security/selinux/ss/services.c:3708 selinux_netlbl_inet_conn_request+0x158/0x610 security/selinux/netlabel.c:333 selinux_inet_conn_request+0x640/0x6e0 security/selinux/hooks.c:5372 security_inet_conn_request+0x10c/0x210 security/security.c:2215 tcp_conn_request+0x1e00/0x4c30 net/ipv4/tcp_input.c:6676 tcp_v4_conn_request+0x201/0x290 net/ipv4/tcp_ipv4.c:1473 tcp_v6_conn_request+0xeb/0x330 net/ipv6/tcp_ipv6.c:1157 tcp_rcv_state_process+0x2de/0x45b0 net/ipv4/tcp_input.c:6213 tcp_v4_do_rcv+0xbfc/0xff0 net/ipv4/tcp_ipv4.c:1663 tcp_v4_rcv+0x4ad1/0x5c10 net/ipv4/tcp_ipv4.c:2011 ip_protocol_deliver_rcu+0x572/0xc50 net/ipv4/ip_input.c:204 ip_local_deliver_finish net/ipv4/ip_input.c:231 [inline] NF_HOOK include/linux/netfilter.h:307 [inline] ip_local_deliver+0x727/0x8d0 net/ipv4/ip_input.c:252 dst_input include/net/dst.h:449 [inline] ip_rcv_finish net/ipv4/ip_input.c:428 [inline] NF_HOOK include/linux/netfilter.h:307 [inline] ip_rcv+0x795/0x810 net/ipv4/ip_input.c:539 __netif_receive_skb_one_core net/core/dev.c:5281 [inline] __netif_receive_skb+0x265/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:ffff88812565eec0 EFLAGS: 00000282 RAX: ffff88812525ef08 RBX: ffff88812565ef08 RCX: 0000000000000003 RDX: 0000000000000002 RSI: 0000000000000000 RDI: ffff88812565ef08 RBP: ffff88812565eee8 R08: ffffea000000000f R09: ffff88812fffa000 R10: 0000000000000004 R11: ffff888126368000 R12: ffff8881263689d8 R13: 0000000000000200 R14: 0000000000000008 R15: 0000000000000282 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 kernel/softirq.c:333 [inline] __local_bh_enable_ip+0xf7/0x1d0 kernel/softirq.c:190 local_bh_enable+0x36/0x40 include/linux/bottom_half.h:32 rcu_read_unlock_bh include/linux/rcupdate.h:723 [inline] ip_finish_output2+0x2459/0x2930 net/ipv4/ip_output.c:229 __ip_finish_output+0xeb5/0xfd0 net/ipv4/ip_output.c:306 ip_finish_output+0x14b/0x4b0 net/ipv4/ip_output.c:316 NF_HOOK_COND include/linux/netfilter.h:296 [inline] ip_output+0x5f2/0x6e0 net/ipv4/ip_output.c:430 dst_output include/net/dst.h:443 [inline] ip_local_out net/ipv4/ip_output.c:125 [inline] __ip_queue_xmit+0x1eac/0x23c0 net/ipv4/ip_output.c:530 ip_queue_xmit+0xcc/0xf0 include/net/ip.h:237 __tcp_transmit_skb+0x4b9e/0x5d70 net/ipv4/tcp_output.c:1240 tcp_transmit_skb net/ipv4/tcp_output.c:1256 [inline] tcp_connect+0x153f/0x3bb0 net/ipv4/tcp_output.c:3673 tcp_v4_connect+0x2532/0x26c0 net/ipv4/tcp_ipv4.c:311 __inet_stream_connect+0x14fe/0x16f0 net/ipv4/af_inet.c:658 inet_stream_connect+0x101/0x180 net/ipv4/af_inet.c:722 rds_tcp_conn_path_connect+0x93d/0xcc0 net/rds/tcp_connect.c:172 rds_connect_worker+0x36b/0x550 net/rds/threads.c:176 process_one_work+0x1688/0x2140 kernel/workqueue.c:2269 worker_thread+0x10bc/0x2730 kernel/workqueue.c:2415 kthread+0x551/0x590 kernel/kthread.c:292 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:293 Local variable ----acpar@ipt_do_table created at: ipt_do_table+0xc1/0x2cb0 net/ipv4/netfilter/ip_tables.c:239 ipt_do_table+0xc1/0x2cb0 net/ipv4/netfilter/ip_tables.c:239 =====================================================