syzbot


KCSAN: data-race in __neigh_event_send / ip6_dst_lookup_tail (4)

Status: auto-closed as invalid on 2022/05/29 17:16
Subsystems: net
[Documentation on labels]
First crash: 747d, last: 730d
Similar bugs (5)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in __neigh_event_send / ip6_dst_lookup_tail (6) net 13 393d 532d 0/26 auto-obsoleted due to no activity on 2023/05/01 12:30
upstream KCSAN: data-race in __neigh_event_send / ip6_dst_lookup_tail (3) net 4 820d 895d 0/26 auto-closed as invalid on 2022/02/28 22:53
upstream KCSAN: data-race in __neigh_event_send / ip6_dst_lookup_tail (5) net 2 618d 625d 0/26 auto-closed as invalid on 2022/09/18 05:49
upstream KCSAN: data-race in __neigh_event_send / ip6_dst_lookup_tail (2) net 1 1130d 1130d 0/26 auto-closed as invalid on 2021/04/24 14:25
upstream KCSAN: data-race in __neigh_event_send / ip6_dst_lookup_tail net 1 1359d 1359d 0/26 auto-closed as invalid on 2020/09/07 17:18

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

write to 0xffff88813862fe84 of 1 bytes by task 35 on cpu 0:
 __neigh_event_send+0x458/0xbc0 net/core/neighbour.c:1158
 neigh_event_send_probe include/net/neighbour.h:473 [inline]
 neigh_event_send include/net/neighbour.h:479 [inline]
 neigh_resolve_output+0x110/0x430 net/core/neighbour.c:1512
 neigh_output include/net/neighbour.h:549 [inline]
 ip6_finish_output2+0xa00/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_socket_send_buffer_to_peer+0xd2/0xf0 drivers/net/wireguard/socket.c:200
 wg_packet_send_handshake_initiation drivers/net/wireguard/send.c:40 [inline]
 wg_packet_handshake_send_worker+0x109/0x150 drivers/net/wireguard/send.c:51
 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 0xffff88813862fe84 of 1 bytes by task 25704 on cpu 1:
 ip6_dst_lookup_tail+0x73e/0x940 net/ipv6/ip6_output.c:1116
 ip6_dst_lookup_flow+0x44/0xc0 net/ipv6/ip6_output.c:1200
 send6+0x23a/0x3b0 drivers/net/wireguard/socket.c:139
 wg_socket_send_skb_to_peer+0xbb/0x120 drivers/net/wireguard/socket.c:178
 wg_socket_send_buffer_to_peer+0xd2/0xf0 drivers/net/wireguard/socket.c:200
 wg_packet_send_handshake_initiation drivers/net/wireguard/send.c:40 [inline]
 wg_packet_handshake_send_worker+0x109/0x150 drivers/net/wireguard/send.c:51
 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: 0x20 -> 0x01

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 PID: 25704 Comm: kworker/u4:65 Not tainted 5.18.0-rc3-syzkaller-00235-g22da5264abf4-dirty #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: wg-kex-wg1 wg_packet_handshake_send_worker
==================================================================

Crashes (5):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/04/24 17:12 upstream 22da5264abf4 131df97d .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in __neigh_event_send / ip6_dst_lookup_tail
2022/04/23 13:51 upstream c00c5e1d157b 131df97d .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in __neigh_event_send / ip6_dst_lookup_tail
2022/04/16 08:06 upstream 59250f8a7f3a 8bcc32a6 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in __neigh_event_send / ip6_dst_lookup_tail
2022/04/11 06:53 upstream ce522ba9ef7e e22c3da3 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in __neigh_event_send / ip6_dst_lookup_tail
2022/04/07 07:05 upstream 3e732ebf7316 53c67432 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in __neigh_event_send / ip6_dst_lookup_tail
* Struck through repros no longer work on HEAD.