syzbot


KCSAN: data-race in udp_tunnel6_xmit_skb / udp_tunnel6_xmit_skb (5)

Status: auto-obsoleted due to no activity on 2023/06/13 21:35
Subsystems: net
[Documentation on labels]
First crash: 362d, last: 362d
Similar bugs (5)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in udp_tunnel6_xmit_skb / udp_tunnel6_xmit_skb net 1 1358d 1358d 0/26 auto-closed as invalid on 2020/09/20 18:11
upstream KCSAN: data-race in udp_tunnel6_xmit_skb / udp_tunnel6_xmit_skb (3) net 2 1184d 1209d 0/26 auto-closed as invalid on 2021/03/14 11:17
upstream KCSAN: data-race in udp_tunnel6_xmit_skb / udp_tunnel6_xmit_skb (4) net 48 404d 895d 0/26 auto-obsoleted due to no activity on 2023/05/02 11:32
upstream KCSAN: data-race in udp_tunnel6_xmit_skb / udp_tunnel6_xmit_skb (6) net 2 295d 319d 0/26 auto-obsoleted due to no activity on 2023/08/19 13:30
upstream KCSAN: data-race in udp_tunnel6_xmit_skb / udp_tunnel6_xmit_skb (2) net 1 1273d 1241d 0/26 auto-closed as invalid on 2020/12/25 11:33

Sample crash report:
==================================================================
BUG: KCSAN: data-race in udp_tunnel6_xmit_skb / udp_tunnel6_xmit_skb

read-write to 0xffff8881352eb160 of 8 bytes by task 3163 on cpu 1:
 iptunnel_xmit_stats include/net/ip_tunnels.h:489 [inline]
 ip6tunnel_xmit include/net/ip6_tunnel.h:166 [inline]
 udp_tunnel6_xmit_skb+0x440/0x4b0 net/ipv6/ip6_udp_tunnel.c:109
 send6+0x2ec/0x3a0 drivers/net/wireguard/socket.c:152
 wg_socket_send_skb_to_peer+0xbd/0x130 drivers/net/wireguard/socket.c:178
 wg_packet_create_data_done drivers/net/wireguard/send.c:251 [inline]
 wg_packet_tx_worker+0x128/0x320 drivers/net/wireguard/send.c:276
 process_one_work+0x3e6/0x750 kernel/workqueue.c:2405
 worker_thread+0x5f2/0xa10 kernel/workqueue.c:2552
 kthread+0x1d7/0x210 kernel/kthread.c:379
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308

read-write to 0xffff8881352eb160 of 8 bytes by task 3169 on cpu 0:
 iptunnel_xmit_stats include/net/ip_tunnels.h:489 [inline]
 ip6tunnel_xmit include/net/ip6_tunnel.h:166 [inline]
 udp_tunnel6_xmit_skb+0x440/0x4b0 net/ipv6/ip6_udp_tunnel.c:109
 send6+0x2ec/0x3a0 drivers/net/wireguard/socket.c:152
 wg_socket_send_skb_to_peer+0xbd/0x130 drivers/net/wireguard/socket.c:178
 wg_packet_create_data_done drivers/net/wireguard/send.c:251 [inline]
 wg_packet_tx_worker+0x128/0x320 drivers/net/wireguard/send.c:276
 process_one_work+0x3e6/0x750 kernel/workqueue.c:2405
 worker_thread+0x5f2/0xa10 kernel/workqueue.c:2552
 kthread+0x1d7/0x210 kernel/kthread.c:379
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308

value changed: 0x000000000000009b -> 0x000000000000009c

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 3169 Comm: kworker/0:6 Tainted: G        W          6.4.0-rc1-syzkaller-00011-g1dc3731daf1f #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023
Workqueue: wg-crypt-wg0 wg_packet_tx_worker
==================================================================

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/05/09 21:26 upstream 1dc3731daf1f 30aa2a7e .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in udp_tunnel6_xmit_skb / udp_tunnel6_xmit_skb
* Struck through repros no longer work on HEAD.