syzbot


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

Status: auto-obsoleted due to no activity on 2023/05/01 12:30
Subsystems: net
[Documentation on labels]
First crash: 540d, last: 401d
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 (3) net 4 827d 903d 0/26 auto-closed as invalid on 2022/02/28 22:53
upstream KCSAN: data-race in __neigh_event_send / ip6_dst_lookup_tail (4) net 5 737d 735d 0/26 auto-closed as invalid on 2022/05/29 17:16
upstream KCSAN: data-race in __neigh_event_send / ip6_dst_lookup_tail (5) net 2 626d 632d 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 1137d 1137d 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 1366d 1366d 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 0xffff88812da4f484 of 1 bytes by task 13431 on cpu 1:
 __neigh_event_send+0x3bd/0xa70 net/core/neighbour.c:1213
 neigh_event_send_probe include/net/neighbour.h:470 [inline]
 neigh_event_send include/net/neighbour.h:476 [inline]
 neigh_resolve_output+0x114/0x430 net/core/neighbour.c:1567
 neigh_output include/net/neighbour.h:546 [inline]
 ip6_finish_output2+0x9bc/0xc50 net/ipv6/ip6_output.c:134
 __ip6_finish_output net/ipv6/ip6_output.c:195 [inline]
 ip6_finish_output+0x39a/0x4e0 net/ipv6/ip6_output.c:206
 NF_HOOK_COND include/linux/netfilter.h:291 [inline]
 ip6_output+0xeb/0x220 net/ipv6/ip6_output.c:227
 dst_output include/net/dst.h:444 [inline]
 ip6_local_out+0x64/0x80 net/ipv6/output_core.c:155
 ip6tunnel_xmit include/net/ip6_tunnel.h:161 [inline]
 udp_tunnel6_xmit_skb+0x333/0x4c0 net/ipv6/ip6_udp_tunnel.c:109
 send6+0x2ea/0x3a0 drivers/net/wireguard/socket.c:152
 wg_socket_send_skb_to_peer+0xbd/0x130 drivers/net/wireguard/socket.c:178
 wg_socket_send_buffer_to_peer+0xd6/0x100 drivers/net/wireguard/socket.c:200
 wg_packet_send_handshake_initiation drivers/net/wireguard/send.c:40 [inline]
 wg_packet_handshake_send_worker+0x10c/0x150 drivers/net/wireguard/send.c:51
 process_one_work+0x3e6/0x750 kernel/workqueue.c:2390
 worker_thread+0x5f2/0xa10 kernel/workqueue.c:2537
 kthread+0x1ac/0x1e0 kernel/kthread.c:376
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308

read to 0xffff88812da4f484 of 1 bytes by task 13210 on cpu 0:
 ip6_dst_lookup_tail+0x747/0x930 net/ipv6/ip6_output.c:1156
 ip6_dst_lookup_flow+0x48/0xc0 net/ipv6/ip6_output.c:1240
 send6+0x238/0x3a0 drivers/net/wireguard/socket.c:139
 wg_socket_send_skb_to_peer+0xbd/0x130 drivers/net/wireguard/socket.c:178
 wg_socket_send_buffer_to_peer+0xd6/0x100 drivers/net/wireguard/socket.c:200
 wg_packet_send_handshake_initiation drivers/net/wireguard/send.c:40 [inline]
 wg_packet_handshake_send_worker+0x10c/0x150 drivers/net/wireguard/send.c:51
 process_one_work+0x3e6/0x750 kernel/workqueue.c:2390
 worker_thread+0x5f2/0xa10 kernel/workqueue.c:2537
 kthread+0x1ac/0x1e0 kernel/kthread.c:376
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308

value changed: 0x20 -> 0x01

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 13210 Comm: kworker/u4:19 Not tainted 6.3.0-rc4-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023
Workqueue: wg-kex-wg1 wg_packet_handshake_send_worker
==================================================================

Crashes (13):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/03/27 12:29 upstream 197b6b60ae7b f8f96aa9 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in __neigh_event_send / ip6_dst_lookup_tail
2023/03/16 00:54 upstream 9c1bec9c0b08 18b58603 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __neigh_event_send / ip6_dst_lookup_tail
2023/02/08 20:02 upstream 0983f6bf2bfc fc9c934e .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __neigh_event_send / ip6_dst_lookup_tail
2023/01/29 05:35 upstream c96618275234 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __neigh_event_send / ip6_dst_lookup_tail
2023/01/21 04:24 upstream edc00350d205 cc0f9968 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in __neigh_event_send / ip6_dst_lookup_tail
2022/12/21 00:58 upstream 6feb57c2fd7c d3e76707 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __neigh_event_send / ip6_dst_lookup_tail
2022/12/16 20:18 upstream 84e57d292203 05494336 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __neigh_event_send / ip6_dst_lookup_tail
2022/12/16 07:17 upstream 041fae9c105a 6f9c033e .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __neigh_event_send / ip6_dst_lookup_tail
2022/12/14 23:12 upstream e2ca6ba6ba01 b18f0a64 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __neigh_event_send / ip6_dst_lookup_tail
2022/12/12 02:48 upstream 4cee37b3a4e6 67be1ae7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __neigh_event_send / ip6_dst_lookup_tail
2022/12/11 20:27 upstream 296a7b7eb792 67be1ae7 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in __neigh_event_send / ip6_dst_lookup_tail
2022/11/11 15:00 upstream 4bbf3422df78 f42ee5d8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __neigh_event_send / ip6_dst_lookup_tail
2022/11/08 05:14 upstream 59f2f4b8a757 6feb842b .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.