================================================================== BUG: KCSAN: data-race in pcpu_alloc_noprof / pcpu_free_area read-write to 0xffffffff88bf22ec of 4 bytes by task 16073 on cpu 0: pcpu_update_empty_pages mm/percpu.c:602 [inline] pcpu_block_update_hint_free mm/percpu.c:1044 [inline] pcpu_free_area+0x4dc/0x570 mm/percpu.c:1302 free_percpu+0x1c6/0xb30 mm/percpu.c:2246 perf_trace_event_unreg+0xf1/0x1a0 kernel/trace/trace_event_perf.c:175 perf_trace_destroy+0x6a/0xe0 kernel/trace/trace_event_perf.c:241 tp_perf_event_destroy+0x15/0x20 kernel/events/core.c:10398 _free_event+0x7ca/0xa10 kernel/events/core.c:5357 put_event kernel/events/core.c:5454 [inline] perf_event_release_kernel+0x61a/0x670 kernel/events/core.c:5579 perf_release+0x1f/0x30 kernel/events/core.c:5589 __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 0xffffffff88bf22ec of 4 bytes by task 16079 on cpu 1: pcpu_alloc_noprof+0x9b6/0x10a0 mm/percpu.c:1894 netdev_do_alloc_pcpu_stats net/core/dev.c:10335 [inline] register_netdevice+0x40b/0xe30 net/core/dev.c:10439 ip6_tnl_create2+0x87/0x220 net/ipv6/ip6_tunnel.c:261 ip6_tnl_create net/ipv6/ip6_tunnel.c:311 [inline] ip6_tnl_locate+0x384/0x420 net/ipv6/ip6_tunnel.c:361 ip6_tnl_siocdevprivate+0x4c0/0x770 net/ipv6/ip6_tunnel.c:1673 dev_siocdevprivate net/core/dev_ioctl.c:486 [inline] dev_ifsioc+0x84e/0xa10 net/core/dev_ioctl.c:594 dev_ioctl+0x8e9/0xab0 net/core/dev_ioctl.c:808 sock_ioctl+0x5ba/0x640 net/socket.c:1255 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:906 [inline] __se_sys_ioctl+0xc9/0x140 fs/ioctl.c:892 __x64_sys_ioctl+0x43/0x50 fs/ioctl.c:892 x64_sys_call+0x1690/0x2dc0 arch/x86/include/generated/asm/syscalls_64.h:17 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xc9/0x1c0 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f value changed: 0x000000c7 -> 0x000000cb Reported by Kernel Concurrency Sanitizer on: CPU: 1 UID: 0 PID: 16079 Comm: syz.5.5584 Tainted: G W 6.12.0-syzkaller-03657-g43fb83c17ba2 #0 Tainted: [W]=WARN Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/30/2024 ==================================================================