syzbot


KCSAN: data-race in batadv_hardif_disable_interface.cold / batadv_iv_send_outstanding_bat_ogm_packet

Status: auto-closed as invalid on 2020/05/28 18:43
Subsystems: batman
[Documentation on labels]
First crash: 1491d, last: 1491d

Sample crash report:
==================================================================
BUG: KCSAN: data-race in batadv_hardif_disable_interface.cold / batadv_iv_send_outstanding_bat_ogm_packet

write to 0xffff8880aab3ca10 of 1 bytes by task 8741 on cpu 1:
 batadv_hardif_disable_interface.cold+0x289/0x55e net/batman-adv/hard-interface.c:877
 batadv_softif_destroy_netlink+0x7e/0xe0 net/batman-adv/soft-interface.c:1113
 default_device_exit_batch+0x1a1/0x260 net/core/dev.c:10447
 ops_exit_list.isra.0+0x9e/0xb0 net/core/net_namespace.c:175
 cleanup_net+0x40a/0x6a0 net/core/net_namespace.c:589
 process_one_work+0x424/0x930 kernel/workqueue.c:2264
 worker_thread+0x9a/0x7e0 kernel/workqueue.c:2410
 kthread+0x1cb/0x1f0 kernel/kthread.c:255
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:352

read to 0xffff8880aab3ca10 of 1 bytes by task 7900 on cpu 0:
 batadv_iv_ogm_schedule net/batman-adv/bat_iv_ogm.c:860 [inline]
 batadv_iv_send_outstanding_bat_ogm_packet+0x1d7/0x510 net/batman-adv/bat_iv_ogm.c:1718
 process_one_work+0x424/0x930 kernel/workqueue.c:2264
 worker_thread+0x9a/0x7e0 kernel/workqueue.c:2410
 kthread+0x1cb/0x1f0 kernel/kthread.c:255
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:352

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 7900 Comm: kworker/u4:6 Not tainted 5.6.0-rc1-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: bat_events batadv_iv_send_outstanding_bat_ogm_packet
==================================================================

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/03/19 18:43 https://github.com/google/ktsan.git kcsan 40959e34d670 2c31c529 .config console log report ci2-upstream-kcsan-gce
* Struck through repros no longer work on HEAD.