================================================================== BUG: KCSAN: data-race in __tmigr_cpu_activate / tmigr_handle_remote write to 0xffff888237d205e4 of 1 bytes by task 0 on cpu 1: __tmigr_cpu_activate+0x55/0x1f0 kernel/time/timer_migration.c:682 tmigr_cpu_activate+0x8a/0xc0 kernel/time/timer_migration.c:705 timer_clear_idle+0x28/0x100 kernel/time/timer.c:2380 tick_nohz_restart_sched_tick+0x22/0x110 kernel/time/tick-sched.c:1095 tick_nohz_idle_update_tick kernel/time/tick-sched.c:1440 [inline] tick_nohz_idle_exit+0xfe/0x1d0 kernel/time/tick-sched.c:1483 do_idle+0x1ee/0x230 kernel/sched/idle.c:345 cpu_startup_entry+0x25/0x30 kernel/sched/idle.c:430 start_secondary+0x94/0xa0 arch/x86/kernel/smpboot.c:313 common_startup_64+0x12c/0x137 read to 0xffff888237d205e4 of 1 bytes by interrupt on cpu 0: tmigr_next_groupevt kernel/time/timer_migration.c:569 [inline] tmigr_next_expired_groupevt kernel/time/timer_migration.c:593 [inline] tmigr_handle_remote_up kernel/time/timer_migration.c:1023 [inline] __walk_groups kernel/time/timer_migration.c:488 [inline] tmigr_handle_remote+0x26e/0x910 kernel/time/timer_migration.c:1091 run_timer_softirq+0x5f/0x70 kernel/time/timer.c:2452 __do_softirq+0xc8/0x285 kernel/softirq.c:554 invoke_softirq kernel/softirq.c:428 [inline] __irq_exit_rcu kernel/softirq.c:633 [inline] irq_exit_rcu+0x3c/0x90 kernel/softirq.c:645 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1043 [inline] sysvec_apic_timer_interrupt+0x73/0x80 arch/x86/kernel/apic/apic.c:1043 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 list_add include/linux/list.h:169 [inline] free_unref_page_commit+0x59/0x270 mm/page_alloc.c:2444 free_unref_page+0xe5/0x180 mm/page_alloc.c:2510 discard_slab mm/slub.c:2437 [inline] __put_partials+0x128/0x150 mm/slub.c:2906 put_cpu_partial+0x8b/0xb0 mm/slub.c:2981 do_slab_free mm/slub.c:4233 [inline] slab_free mm/slub.c:4281 [inline] kmem_cache_free+0x140/0x250 mm/slub.c:4344 sk_prot_free net/core/sock.c:2114 [inline] __sk_destruct+0x32d/0x440 net/core/sock.c:2208 sk_destruct net/core/sock.c:2223 [inline] __sk_free+0x284/0x2d0 net/core/sock.c:2234 sk_free+0x39/0x70 net/core/sock.c:2245 sock_put include/net/sock.h:1950 [inline] unix_release_sock+0x6bc/0x790 net/unix/af_unix.c:665 unix_release+0x57/0x80 net/unix/af_unix.c:1049 __sock_release net/socket.c:659 [inline] sock_close+0x68/0x150 net/socket.c:1421 __fput+0x2c1/0x660 fs/file_table.c:422 ____fput+0x15/0x20 fs/file_table.c:450 task_work_run+0x13a/0x1a0 kernel/task_work.c:180 exit_task_work include/linux/task_work.h:38 [inline] do_exit+0x5fd/0x1740 kernel/exit.c:878 do_group_exit+0x102/0x150 kernel/exit.c:1027 get_signal+0xf2f/0x1080 kernel/signal.c:2911 arch_do_signal_or_restart+0x95/0x4b0 arch/x86/kernel/signal.c:310 exit_to_user_mode_loop kernel/entry/common.c:111 [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+0x59/0x130 kernel/entry/common.c:218 do_syscall_64+0xda/0x1d0 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f value changed: 0x00 -> 0x01 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 29102 Comm: syz-executor.2 Not tainted 6.9.0-rc6-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 ==================================================================