================================================================== BUG: KCSAN: data-race in prandom_seed / prandom_u32 read to 0xffff888237c28850 of 8 bytes by task 783 on cpu 1: prandom_seed+0xd3/0x270 lib/random32.c:439 addrconf_dad_begin net/ipv6/addrconf.c:3975 [inline] addrconf_dad_work+0x265/0xbb0 net/ipv6/addrconf.c:4100 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 write to 0xffff888237c28850 of 8 bytes by task 1904 on cpu 0: siprand_u32 lib/random32.c:372 [inline] prandom_u32+0x11f/0x190 lib/random32.c:387 prandom_u32_max include/linux/prandom.h:96 [inline] ip_idents_reserve net/ipv4/route.c:474 [inline] __ip_select_ident+0x12d/0x190 net/ipv4/route.c:496 iptunnel_xmit+0x2f6/0x490 net/ipv4/ip_tunnel_core.c:80 udp_tunnel_xmit_skb+0x15d/0x170 net/ipv4/udp_tunnel_core.c:171 send4+0x439/0x500 drivers/net/wireguard/socket.c:85 wg_socket_send_skb_to_peer+0x92/0x120 drivers/net/wireguard/socket.c:175 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: 0x33db5fc117615ba8 -> 0x645e13f28a7f22ff Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 1904 Comm: kworker/0:3 Not tainted 5.18.0-rc7-syzkaller-00181-geaea45fc0e7b-dirty #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: wg-crypt-wg2 wg_packet_tx_worker ==================================================================