syzbot


KCSAN: data-race in __neigh_event_send / neigh_resolve_output (3)

Status: auto-closed as invalid on 2020/07/24 05:33
Subsystems: net
[Documentation on labels]
First crash: 1433d, last: 1433d
Similar bugs (6)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in __neigh_event_send / neigh_resolve_output (6) net 2 857d 891d 0/26 auto-closed as invalid on 2022/02/20 22:06
upstream KCSAN: data-race in __neigh_event_send / neigh_resolve_output (4) net 1 1306d 1306d 0/26 auto-closed as invalid on 2020/11/28 17:46
upstream KCSAN: data-race in __neigh_event_send / neigh_resolve_output net 5 1649d 1672d 0/26 auto-closed as invalid on 2020/01/25 19:36
upstream KCSAN: data-race in __neigh_event_send / neigh_resolve_output (2) net 1 1575d 1575d 0/26 auto-closed as invalid on 2020/04/08 18:47
upstream KCSAN: data-race in __neigh_event_send / neigh_resolve_output (5) net 2 1203d 1230d 0/26 auto-closed as invalid on 2021/03/11 01:25
upstream KCSAN: data-race in __neigh_event_send / neigh_resolve_output (7) net 43 407d 380d 22/26 fixed on 2023/06/08 14:41

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

write to 0xffff8880a1387a85 of 1 bytes by task 21 on cpu 1:
 __neigh_event_send+0x403/0xb10 net/core/neighbour.c:1126
 neigh_event_send include/net/neighbour.h:443 [inline]
 neigh_resolve_output+0x104/0x400 net/core/neighbour.c:1473
 neigh_output include/net/neighbour.h:509 [inline]
 ip_finish_output2+0x4e2/0xb60 net/ipv4/ip_output.c:228
 __ip_finish_output+0x395/0x3e0 net/ipv4/ip_output.c:306
 ip_finish_output+0x39/0x160 net/ipv4/ip_output.c:316
 NF_HOOK_COND include/linux/netfilter.h:296 [inline]
 ip_output+0xf6/0x1a0 net/ipv4/ip_output.c:430
 dst_output include/net/dst.h:435 [inline]
 ip_local_out+0x60/0x80 net/ipv4/ip_output.c:125
 iptunnel_xmit+0x30d/0x4b0 net/ipv4/ip_tunnel_core.c:81
 udp_tunnel_xmit_skb+0x17e/0x190 net/ipv4/udp_tunnel.c:190
 send4+0x399/0x550 drivers/net/wireguard/socket.c:85
 wg_socket_send_skb_to_peer drivers/net/wireguard/socket.c:174 [inline]
 wg_socket_send_buffer_to_peer+0x15b/0x210 drivers/net/wireguard/socket.c:199
 wg_packet_send_handshake_initiation drivers/net/wireguard/send.c:40 [inline]
 wg_packet_handshake_send_worker+0xf9/0x140 drivers/net/wireguard/send.c:51
 process_one_work+0x3cb/0x990 kernel/workqueue.c:2269
 worker_thread+0x665/0xbe0 kernel/workqueue.c:2415
 kthread+0x210/0x220 kernel/kthread.c:291
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:293

read to 0xffff8880a1387a85 of 1 bytes by task 30 on cpu 0:
 neigh_event_send include/net/neighbour.h:442 [inline]
 neigh_resolve_output+0x6f/0x400 net/core/neighbour.c:1473
 neigh_output include/net/neighbour.h:509 [inline]
 ip_finish_output2+0x4e2/0xb60 net/ipv4/ip_output.c:228
 __ip_finish_output+0x395/0x3e0 net/ipv4/ip_output.c:306
 ip_finish_output+0x39/0x160 net/ipv4/ip_output.c:316
 NF_HOOK_COND include/linux/netfilter.h:296 [inline]
 ip_output+0xf6/0x1a0 net/ipv4/ip_output.c:430
 dst_output include/net/dst.h:435 [inline]
 ip_local_out+0x60/0x80 net/ipv4/ip_output.c:125
 iptunnel_xmit+0x30d/0x4b0 net/ipv4/ip_tunnel_core.c:81
 udp_tunnel_xmit_skb+0x17e/0x190 net/ipv4/udp_tunnel.c:190
 send4+0x399/0x550 drivers/net/wireguard/socket.c:85
 wg_socket_send_skb_to_peer drivers/net/wireguard/socket.c:174 [inline]
 wg_socket_send_buffer_to_peer+0x15b/0x210 drivers/net/wireguard/socket.c:199
 wg_packet_send_handshake_initiation drivers/net/wireguard/send.c:40 [inline]
 wg_packet_handshake_send_worker+0xf9/0x140 drivers/net/wireguard/send.c:51
 process_one_work+0x3cb/0x990 kernel/workqueue.c:2269
 worker_thread+0x665/0xbe0 kernel/workqueue.c:2415
 kthread+0x210/0x220 kernel/kthread.c:291
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:293

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 30 Comm: kworker/u4:2 Not tainted 5.8.0-rc1-syzkaller #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 (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/06/19 05:33 upstream 5e857ce6eae7 bc258b50 .config console log report ci2-upstream-kcsan-gce
* Struck through repros no longer work on HEAD.