================================================================== BUG: KCSAN: data-race in prandom_seed / prandom_u32 read to 0xffff888237d28858 of 8 bytes by task 10634 on cpu 0: prandom_seed+0xeb/0x270 lib/random32.c:440 __inet_insert_ifa+0x3a6/0x600 net/ipv4/devinet.c:540 inet_rtm_newaddr+0x854/0xb40 net/ipv4/devinet.c:962 rtnetlink_rcv_msg+0x74f/0x7e0 net/core/rtnetlink.c:5993 netlink_rcv_skb+0x13e/0x240 net/netlink/af_netlink.c:2502 rtnetlink_rcv+0x18/0x20 net/core/rtnetlink.c:6011 netlink_unicast_kernel net/netlink/af_netlink.c:1319 [inline] netlink_unicast+0x58a/0x660 net/netlink/af_netlink.c:1345 netlink_sendmsg+0x661/0x750 net/netlink/af_netlink.c:1921 sock_sendmsg_nosec net/socket.c:705 [inline] sock_sendmsg net/socket.c:725 [inline] __sys_sendto+0x21e/0x2c0 net/socket.c:2040 __do_sys_sendto net/socket.c:2052 [inline] __se_sys_sendto net/socket.c:2048 [inline] __x64_sys_sendto+0x74/0x90 net/socket.c:2048 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae write to 0xffff888237d28858 of 8 bytes by task 25 on cpu 1: siprand_u32 lib/random32.c:372 [inline] prandom_u32+0x12f/0x190 lib/random32.c:387 cake_dequeue+0x18d5/0x26a0 net/sched/sch_cake.c:2099 dequeue_skb+0x159/0xa40 net/sched/sch_generic.c:292 qdisc_restart net/sched/sch_generic.c:397 [inline] __qdisc_run+0x77/0x1c0 net/sched/sch_generic.c:415 __dev_xmit_skb+0x2e6/0xdb0 net/core/dev.c:3822 __dev_queue_xmit+0x569/0xef0 net/core/dev.c:4141 dev_queue_xmit+0x13/0x20 net/core/dev.c:4209 neigh_hh_output include/net/neighbour.h:533 [inline] neigh_output include/net/neighbour.h:547 [inline] ip6_finish_output2+0x9d7/0xc20 net/ipv6/ip6_output.c:126 __ip6_finish_output net/ipv6/ip6_output.c:191 [inline] ip6_finish_output+0x446/0x4c0 net/ipv6/ip6_output.c:201 NF_HOOK_COND include/linux/netfilter.h:296 [inline] ip6_output+0x10e/0x210 net/ipv6/ip6_output.c:224 dst_output include/net/dst.h:451 [inline] ip6_local_out+0x60/0x80 net/ipv6/output_core.c:161 ip6tunnel_xmit include/net/ip6_tunnel.h:161 [inline] udp_tunnel6_xmit_skb+0x2e7/0x470 net/ipv6/ip6_udp_tunnel.c:109 send6+0x2ed/0x3b0 drivers/net/wireguard/socket.c:152 wg_socket_send_skb_to_peer+0xbb/0x120 drivers/net/wireguard/socket.c:178 wg_packet_create_data_done drivers/net/wireguard/send.c:251 [inline] wg_packet_tx_worker+0x142/0x360 drivers/net/wireguard/send.c:276 process_one_work+0x3d3/0x720 kernel/workqueue.c:2289 worker_thread+0x618/0xa70 kernel/workqueue.c:2436 kthread+0x1a9/0x1e0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 value changed: 0x8e86ae7acdae443c -> 0x904dc666785e5bc5 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 25 Comm: kworker/1:1 Not tainted 5.18.0-syzkaller-dirty #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: wg-crypt-wg0 wg_packet_tx_worker ==================================================================