================================================================== BUG: KCSAN: assert: race in __block_task kernel/sched/sched.h:2773 [inline] BUG: KCSAN: assert: race in dequeue_entities+0x6df/0x760 kernel/sched/fair.c:7180 race at unknown origin, with assert no writes to 0xffff88810248a168 of 4 bytes by task 962 on cpu 1: __block_task kernel/sched/sched.h:2773 [inline] dequeue_entities+0x6df/0x760 kernel/sched/fair.c:7180 pick_next_entity kernel/sched/fair.c:5627 [inline] pick_task_fair kernel/sched/fair.c:8859 [inline] pick_next_task_fair+0x7d/0x410 kernel/sched/fair.c:8879 __pick_next_task kernel/sched/core.c:5968 [inline] pick_next_task kernel/sched/core.c:6490 [inline] __schedule+0x284/0x940 kernel/sched/core.c:6644 __schedule_loop kernel/sched/core.c:6767 [inline] schedule+0x55/0xc0 kernel/sched/core.c:6782 synchronize_rcu_expedited+0x611/0x7a0 kernel/rcu/tree_exp.h:991 synchronize_net net/core/dev.c:11286 [inline] unregister_netdevice_many_notify+0xf13/0x11b0 net/core/dev.c:11448 unregister_netdevice_many net/core/dev.c:11469 [inline] unregister_netdevice_queue+0x1f4/0x220 net/core/dev.c:11343 unregister_netdevice include/linux/netdevice.h:3118 [inline] __tun_detach+0x79e/0xaa0 drivers/net/tun.c:685 tun_detach drivers/net/tun.c:701 [inline] tun_chr_close+0x58/0xf0 drivers/net/tun.c:3517 __fput+0x17a/0x6d0 fs/file_table.c:431 ____fput+0x1c/0x30 fs/file_table.c:459 task_work_run+0x13a/0x1a0 kernel/task_work.c:239 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] exit_to_user_mode_loop kernel/entry/common.c:114 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0xbe/0x130 kernel/entry/common.c:218 do_syscall_64+0xd6/0x1c0 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f value changed: 0x00000000 -> 0x00000001 Reported by Kernel Concurrency Sanitizer on: CPU: 1 UID: 0 PID: 962 Comm: syz.2.8740 Tainted: G W 6.12.0-rc5-syzkaller-00176-g5635f189425e #0 Tainted: [W]=WARN Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 ==================================================================