================================================================== BUG: KCSAN: data-race in l2tp_tunnel_del_work / sk_common_release write to 0xffff888107b39ca0 of 8 bytes by task 25980 on cpu 0: sk_set_socket include/net/sock.h:2008 [inline] sock_orphan include/net/sock.h:2027 [inline] sk_common_release+0xa6/0x220 net/core/sock.c:3845 udp_lib_close+0x15/0x20 include/net/udp.h:311 inet_release+0xce/0xf0 net/ipv4/af_inet.c:435 inet6_release+0x3e/0x60 net/ipv6/af_inet6.c:487 __sock_release net/socket.c:640 [inline] sock_close+0x68/0x150 net/socket.c:1408 __fput+0x17a/0x6d0 fs/file_table.c:450 ____fput+0x1c/0x30 fs/file_table.c:478 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:329 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0xa8/0x120 kernel/entry/common.c:218 do_syscall_64+0xd6/0x1c0 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f read to 0xffff888107b39ca0 of 8 bytes by task 5569 on cpu 1: l2tp_tunnel_del_work+0x30/0x1a0 net/l2tp/l2tp_core.c:1418 process_one_work kernel/workqueue.c:3229 [inline] process_scheduled_works+0x483/0x9a0 kernel/workqueue.c:3310 worker_thread+0x51d/0x6f0 kernel/workqueue.c:3391 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: 0xffff888153201040 -> 0x0000000000000000 Reported by Kernel Concurrency Sanitizer on: CPU: 1 UID: 0 PID: 5569 Comm: kworker/u8:53 Not tainted 6.13.0-rc5-syzkaller-00004-gccb98ccef0e5 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Workqueue: l2tp l2tp_tunnel_del_work ================================================================== ip6_tunnel: ip6gretap1 xmit: Local address not yet configured! ip6_tunnel: ip6gretap1 xmit: Local address not yet configured!