net_ratelimit: 38 callbacks suppressed GRED: Unable to relocate VQ 0x0 after dequeue, screwing up backlog ===================================================== BUG: KMSAN: uninit-value in __skb_checksum_complete+0x37f/0x540 net/core/skbuff.c:2850 CPU: 0 PID: 20329 Comm: syz-executor.2 Not tainted 5.7.0-rc4-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+0x1c9/0x220 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 __skb_checksum_complete+0x37f/0x540 net/core/skbuff.c:2850 nf_ip6_checksum+0x501/0x610 net/netfilter/utils.c:91 nf_nat_icmpv6_reply_translation+0x24b/0x10c0 net/netfilter/nf_nat_proto.c:802 nf_nat_ipv6_fn+0x394/0x4d0 net/netfilter/nf_nat_proto.c:875 nf_nat_ipv6_local_fn+0xb0/0x690 net/netfilter/nf_nat_proto.c:948 nf_hook_entry_hookfn include/linux/netfilter.h:135 [inline] nf_hook_slow+0x16e/0x400 net/netfilter/core.c:512 nf_hook include/linux/netfilter.h:262 [inline] __ip6_local_out+0x56d/0x750 net/ipv6/output_core.c:167 ip6_local_out+0xa4/0x1d0 net/ipv6/output_core.c:177 ip6_send_skb net/ipv6/ip6_output.c:1865 [inline] ip6_push_pending_frames+0x213/0x4f0 net/ipv6/ip6_output.c:1885 icmpv6_push_pending_frames+0x674/0x6b0 net/ipv6/icmp.c:304 icmp6_send+0x32a3/0x39d0 net/ipv6/icmp.c:617 icmpv6_send+0xe4/0x110 net/ipv6/ip6_icmp.c:43 ip6_link_failure+0x68/0x590 net/ipv6/route.c:2640 dst_link_failure include/net/dst.h:418 [inline] ndisc_error_report+0x106/0x1a0 net/ipv6/ndisc.c:710 neigh_invalidate+0x348/0x8d0 net/core/neighbour.c:993 neigh_timer_handler+0xb1a/0x1530 net/core/neighbour.c:1080 call_timer_fn+0x218/0x510 kernel/time/timer.c:1405 expire_timers kernel/time/timer.c:1450 [inline] __run_timers+0xcff/0x1210 kernel/time/timer.c:1774 run_timer_softirq+0x2d/0x50 kernel/time/timer.c:1787 __do_softirq+0x311/0x83d kernel/softirq.c:293 invoke_softirq kernel/softirq.c:375 [inline] irq_exit+0x230/0x280 kernel/softirq.c:416 exiting_irq+0xe/0x10 arch/x86/include/asm/apic.h:546 smp_apic_timer_interrupt+0x48/0x70 arch/x86/kernel/apic/apic.c:1143 apic_timer_interrupt+0x2e/0x40 arch/x86/entry/entry_64.S:834 RIP: 0010:_raw_spin_unlock_irqrestore+0x4b/0x70 kernel/locking/spinlock.c:192 Code: 00 8b b8 88 0c 00 00 48 8b 00 48 85 c0 75 28 48 89 df e8 e8 bd 86 f3 c6 00 00 c6 03 00 4d 85 e4 75 1c 4c 89 7d d8 ff 75 d8 9d <48> 83 c4 08 5b 41 5c 41 5e 41 5f 5d c3 e8 83 c3 86 f3 eb d1 44 89 RSP: 0018:ffffb8e455607398 EFLAGS: 00000286 ORIG_RAX: ffffffffffffff13 RAX: ffffa22c4eaeed08 RBX: ffffffffad6fbd08 RCX: 00000000009f9665 RDX: ffffa22c3eae1d08 RSI: 00000000000005c0 RDI: ffffffffad6fbd08 RBP: ffffb8e4556073c0 R08: ffffdb6c4000000f R09: ffffa22b6fffb000 R10: 0000000000000004 R11: ffffffffa1d13fa0 R12: 0000000000000000 R13: ffffffffad6fbd08 R14: 0000000000000000 R15: 0000000000000286 spin_unlock_irqrestore include/linux/spinlock.h:408 [inline] serial8250_do_startup+0x2e2a/0x35d0 drivers/tty/serial/8250/8250_port.c:2366 serial8250_startup+0xbc/0xd0 drivers/tty/serial/8250/8250_port.c:2423 uart_port_startup drivers/tty/serial/serial_core.c:222 [inline] uart_startup+0x716/0x1430 drivers/tty/serial/serial_core.c:261 uart_port_activate+0x195/0x2d0 drivers/tty/serial/serial_core.c:1799 tty_port_open+0x34e/0x630 drivers/tty/tty_port.c:689 uart_open+0xa7/0xf0 drivers/tty/serial/serial_core.c:1777 tty_open+0xe04/0x1fe0 drivers/tty/tty_io.c:2048 chrdev_open+0xc53/0xe00 fs/char_dev.c:414 do_dentry_open+0xf89/0x1820 fs/open.c:797 vfs_open+0xaf/0xe0 fs/open.c:911 do_open fs/namei.c:3229 [inline] path_openat+0x4ad1/0x5d50 fs/namei.c:3346 do_filp_open+0x2b8/0x710 fs/namei.c:3373 do_sys_openat2+0x96f/0xe30 fs/open.c:1148 do_sys_open fs/open.c:1164 [inline] __do_sys_openat fs/open.c:1178 [inline] __se_sys_openat+0x24a/0x2b0 fs/open.c:1173 __x64_sys_openat+0x56/0x70 fs/open.c:1173 do_syscall_64+0xb8/0x160 arch/x86/entry/common.c:297 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x45cb29 Code: 0d b7 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 db b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f8bcdde5c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00000000004f9ea0 RCX: 000000000045cb29 RDX: 0000000000000000 RSI: 0000000020000000 RDI: ffffffffffffff9c RBP: 000000000078bf00 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 0000000000000820 R14: 00000000004cb177 R15: 00007f8bcdde66d4 Uninit was stored to memory at: 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 csum_partial_copy+0xae/0x100 lib/checksum.c:174 skb_copy_and_csum_bits+0x227/0x1130 net/core/skbuff.c:2737 icmpv6_getfrag+0x15f/0x350 net/ipv6/icmp.c:319 __ip6_append_data+0x50d7/0x63e0 net/ipv6/ip6_output.c:1623 ip6_append_data+0x3cb/0x660 net/ipv6/ip6_output.c:1757 icmp6_send+0x306a/0x39d0 net/ipv6/icmp.c:609 icmpv6_send+0xe4/0x110 net/ipv6/ip6_icmp.c:43 ip6_link_failure+0x68/0x590 net/ipv6/route.c:2640 dst_link_failure include/net/dst.h:418 [inline] ndisc_error_report+0x106/0x1a0 net/ipv6/ndisc.c:710 neigh_invalidate+0x348/0x8d0 net/core/neighbour.c:993 neigh_timer_handler+0xb1a/0x1530 net/core/neighbour.c:1080 call_timer_fn+0x218/0x510 kernel/time/timer.c:1405 expire_timers kernel/time/timer.c:1450 [inline] __run_timers+0xcff/0x1210 kernel/time/timer.c:1774 run_timer_softirq+0x2d/0x50 kernel/time/timer.c:1787 __do_softirq+0x311/0x83d kernel/softirq.c:293 Uninit was stored to memory at: 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+0x38b/0x1b00 net/core/skbuff.c:1636 __skb_cow include/linux/skbuff.h:3171 [inline] skb_cow_head include/linux/skbuff.h:3205 [inline] geneve_build_skb+0x4c0/0xe00 drivers/net/geneve.c:754 geneve6_xmit_skb drivers/net/geneve.c:969 [inline] geneve_xmit+0x1b21/0x2c20 drivers/net/geneve.c:1001 __netdev_start_xmit include/linux/netdevice.h:4533 [inline] netdev_start_xmit include/linux/netdevice.h:4547 [inline] xmit_one net/core/dev.c:3477 [inline] dev_hard_start_xmit+0x531/0xab0 net/core/dev.c:3493 __dev_queue_xmit+0x2f8d/0x3b20 net/core/dev.c:4052 dev_queue_xmit+0x4b/0x60 net/core/dev.c:4085 batadv_send_skb_packet+0x59b/0x8c0 net/batman-adv/send.c:108 batadv_send_broadcast_skb+0x76/0x90 net/batman-adv/send.c:127 batadv_iv_ogm_send_to_if net/batman-adv/bat_iv_ogm.c:393 [inline] batadv_iv_ogm_emit net/batman-adv/bat_iv_ogm.c:419 [inline] batadv_iv_send_outstanding_bat_ogm_packet+0x97e/0xd50 net/batman-adv/bat_iv_ogm.c:1710 process_one_work+0x1555/0x1f40 kernel/workqueue.c:2268 worker_thread+0xef6/0x2450 kernel/workqueue.c:2414 kthread+0x4b5/0x4f0 kernel/kthread.c:269 ret_from_fork+0x35/0x40 arch/x86/entry/entry_64.S:353 Uninit was stored to memory at: 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+0x38b/0x1b00 net/core/skbuff.c:1636 __skb_cow include/linux/skbuff.h:3171 [inline] skb_cow_head include/linux/skbuff.h:3205 [inline] batadv_skb_head_push+0x234/0x350 net/batman-adv/soft-interface.c:74 batadv_send_skb_packet+0x1a7/0x8c0 net/batman-adv/send.c:86 batadv_send_broadcast_skb+0x76/0x90 net/batman-adv/send.c:127 batadv_iv_ogm_send_to_if net/batman-adv/bat_iv_ogm.c:393 [inline] batadv_iv_ogm_emit net/batman-adv/bat_iv_ogm.c:419 [inline] batadv_iv_send_outstanding_bat_ogm_packet+0x97e/0xd50 net/batman-adv/bat_iv_ogm.c:1710 process_one_work+0x1555/0x1f40 kernel/workqueue.c:2268 worker_thread+0xef6/0x2450 kernel/workqueue.c:2414 kthread+0x4b5/0x4f0 kernel/kthread.c:269 ret_from_fork+0x35/0x40 arch/x86/entry/entry_64.S:353 Uninit was created at: kmsan_save_stack_with_flags+0x3c/0x90 mm/kmsan/kmsan.c:144 kmsan_internal_alloc_meta_for_pages mm/kmsan/kmsan_shadow.c:269 [inline] kmsan_alloc_page+0xb9/0x180 mm/kmsan/kmsan_shadow.c:293 __alloc_pages_nodemask+0x56a2/0x5dc0 mm/page_alloc.c:4848 __alloc_pages include/linux/gfp.h:504 [inline] __alloc_pages_node include/linux/gfp.h:517 [inline] alloc_pages_node include/linux/gfp.h:531 [inline] __page_frag_cache_refill mm/page_alloc.c:4923 [inline] page_frag_alloc+0x3ae/0x910 mm/page_alloc.c:4953 __netdev_alloc_skb+0x703/0xbb0 net/core/skbuff.c:456 __netdev_alloc_skb_ip_align include/linux/skbuff.h:2852 [inline] netdev_alloc_skb_ip_align include/linux/skbuff.h:2862 [inline] batadv_iv_ogm_aggregate_new net/batman-adv/bat_iv_ogm.c:558 [inline] batadv_iv_ogm_queue_add+0x10da/0x1900 net/batman-adv/bat_iv_ogm.c:670 batadv_iv_ogm_schedule_buff net/batman-adv/bat_iv_ogm.c:833 [inline] batadv_iv_ogm_schedule+0xd4c/0x1430 net/batman-adv/bat_iv_ogm.c:869 batadv_iv_send_outstanding_bat_ogm_packet+0xbae/0xd50 net/batman-adv/bat_iv_ogm.c:1722 process_one_work+0x1555/0x1f40 kernel/workqueue.c:2268 worker_thread+0xef6/0x2450 kernel/workqueue.c:2414 kthread+0x4b5/0x4f0 kernel/kthread.c:269 ret_from_fork+0x35/0x40 arch/x86/entry/entry_64.S:353 =====================================================