syzbot


KCSAN: data-race in batadv_hardif_disable_interface / batadv_iv_ogm_schedule

Status: auto-obsoleted due to no activity on 2024/07/16 01:12
Subsystems: batman
[Documentation on labels]
First crash: 253d, last: 253d

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

write to 0xffff88813ce92e78 of 8 bytes by task 22897 on cpu 1:
 batadv_hardif_disable_interface+0x7ed/0xa90 net/batman-adv/hard-interface.c:863
 batadv_softif_destroy_netlink+0x6d/0x310 net/batman-adv/soft-interface.c:1106
 default_device_exit_batch+0x596/0x660 net/core/dev.c:11755
 ops_exit_list net/core/net_namespace.c:178 [inline]
 cleanup_net+0x4cf/0x830 net/core/net_namespace.c:640
 process_one_work kernel/workqueue.c:3231 [inline]
 process_scheduled_works+0x483/0x9a0 kernel/workqueue.c:3312
 worker_thread+0x526/0x730 kernel/workqueue.c:3393
 kthread+0x1d1/0x210 kernel/kthread.c:389
 ret_from_fork+0x4b/0x60 arch/x86/kernel/process.c:147
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244

read to 0xffff88813ce92e78 of 8 bytes by task 6679 on cpu 0:
 batadv_iv_ogm_schedule_buff net/batman-adv/bat_iv_ogm.c:843 [inline]
 batadv_iv_ogm_schedule+0x53c/0x780 net/batman-adv/bat_iv_ogm.c:868
 batadv_iv_send_outstanding_bat_ogm_packet+0x44c/0x4b0 net/batman-adv/bat_iv_ogm.c:1712
 process_one_work kernel/workqueue.c:3231 [inline]
 process_scheduled_works+0x483/0x9a0 kernel/workqueue.c:3312
 worker_thread+0x526/0x730 kernel/workqueue.c:3393
 kthread+0x1d1/0x210 kernel/kthread.c:389
 ret_from_fork+0x4b/0x60 arch/x86/kernel/process.c:147
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244

value changed: 0xffff8881490cc000 -> 0x0000000000000000

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 6679 Comm: kworker/u8:18 Not tainted 6.10.0-rc3-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024
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
2024/06/11 01:08 upstream 83a7eefedc9b 048c640a .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in batadv_hardif_disable_interface / batadv_iv_ogm_schedule
* Struck through repros no longer work on HEAD.