================================================================== BUG: KCSAN: data-race in prandom_seed / prandom_u32 write to 0xffff888237c28848 of 8 bytes by task 1909 on cpu 0: siprand_u32 lib/random32.c:372 [inline] prandom_u32+0x10e/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 read to 0xffff888237c28848 of 8 bytes by task 1912 on cpu 1: prandom_seed+0xbb/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 value changed: 0x5f028510096cc9ce -> 0x625e7f316eef0ca0 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 1912 Comm: kworker/1:5 Not tainted 5.18.0-rc6-syzkaller-00161-gbc403203d65a-dirty #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: ipv6_addrconf addrconf_dad_work ================================================================== IPv6: ADDRCONF(NETDEV_CHANGE): batadv_slave_0: link becomes ready IPv6: ADDRCONF(NETDEV_CHANGE): veth0_to_batadv: link becomes ready