================================================================== BUG: KCSAN: data-race in cleanup_net / synchronize_net write to 0xffffffff88c7f7d0 of 8 bytes by task 4400 on cpu 0: cleanup_net+0x68/0x890 net/core/net_namespace.c:601 process_one_work kernel/workqueue.c:3236 [inline] process_scheduled_works+0x483/0x9a0 kernel/workqueue.c:3317 worker_thread+0x51d/0x6f0 kernel/workqueue.c:3398 kthread+0x4ae/0x520 kernel/kthread.c:464 ret_from_fork+0x4b/0x60 arch/x86/kernel/process.c:148 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 read to 0xffffffff88c7f7d0 of 8 bytes by task 22542 on cpu 1: from_cleanup_net net/core/dev.c:10261 [inline] synchronize_net+0x24/0x70 net/core/dev.c:11664 packet_release+0x5b8/0x7f0 net/packet/af_packet.c:3218 __sock_release net/socket.c:642 [inline] sock_close+0x68/0x150 net/socket.c:1393 __fput+0x2ac/0x640 fs/file_table.c:450 ____fput+0x1c/0x30 fs/file_table.c:478 task_work_run+0x13a/0x1a0 kernel/task_work.c:227 exit_task_work include/linux/task_work.h:40 [inline] do_exit+0x5d8/0x17f0 kernel/exit.c:938 do_group_exit+0x102/0x150 kernel/exit.c:1087 get_signal+0xeb9/0x1000 kernel/signal.c:3036 arch_do_signal_or_restart+0x95/0x4b0 arch/x86/kernel/signal.c:337 exit_to_user_mode_loop kernel/entry/common.c:111 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:329 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0x62/0x120 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: 0x0000000000000000 -> 0xffff888119fab180 Reported by Kernel Concurrency Sanitizer on: CPU: 1 UID: 0 PID: 22542 Comm: syz.0.7435 Not tainted 6.13.0-syzkaller-09760-g69e858e0b8b2 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 ==================================================================