================================================================== BUG: KCSAN: data-race in do_signal_stop / prepare_signal write to 0xffff888107a3006c of 4 bytes by task 10681 on cpu 1: freezer_count include/linux/freezer.h:121 [inline] freezable_schedule include/linux/freezer.h:173 [inline] do_signal_stop+0x591/0x710 kernel/signal.c:2432 get_signal+0xb70/0x1610 kernel/signal.c:2668 arch_do_signal_or_restart+0x2a/0x220 arch/x86/kernel/signal.c:789 handle_signal_work kernel/entry/common.c:147 [inline] exit_to_user_mode_loop kernel/entry/common.c:171 [inline] exit_to_user_mode_prepare+0x109/0x190 kernel/entry/common.c:208 __syscall_exit_to_user_mode_work kernel/entry/common.c:290 [inline] syscall_exit_to_user_mode+0x20/0x40 kernel/entry/common.c:301 do_syscall_64+0x56/0x90 arch/x86/entry/common.c:57 entry_SYSCALL_64_after_hwframe+0x44/0xae read to 0xffff888107a3006c of 4 bytes by interrupt on cpu 0: sig_task_ignored kernel/signal.c:93 [inline] sig_ignored kernel/signal.c:118 [inline] prepare_signal+0x952/0xeb0 kernel/signal.c:1001 send_sigqueue+0xea/0x3e0 kernel/signal.c:1897 posix_timer_event kernel/time/posix-timers.c:354 [inline] posix_timer_fn+0xe8/0x210 kernel/time/posix-timers.c:380 __run_hrtimer+0x160/0x480 kernel/time/hrtimer.c:1537 __hrtimer_run_queues kernel/time/hrtimer.c:1601 [inline] hrtimer_interrupt+0x380/0xaf0 kernel/time/hrtimer.c:1663 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1089 [inline] __sysvec_apic_timer_interrupt+0x6f/0x1c0 arch/x86/kernel/apic/apic.c:1106 sysvec_apic_timer_interrupt+0x64/0x80 arch/x86/kernel/apic/apic.c:1100 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:632 is_atomic kernel/kcsan/core.c:238 [inline] should_watch kernel/kcsan/core.c:266 [inline] check_access kernel/kcsan/core.c:632 [inline] __tsan_read8+0x11a/0x180 kernel/kcsan/core.c:845 avc_has_perm_noaudit+0x53/0x240 security/selinux/avc.c:1152 selinux_inode_permission+0x2ca/0x430 security/selinux/hooks.c:3211 security_inode_permission+0x72/0xc0 security/security.c:1312 inode_permission+0x91/0x290 fs/namei.c:521 may_lookup fs/namei.c:1659 [inline] link_path_walk+0x1c2/0x780 fs/namei.c:2211 path_lookupat+0x7b/0x570 fs/namei.c:2420 filename_lookup+0xff/0x390 fs/namei.c:2454 user_path_at_empty+0x3b/0x50 fs/namei.c:2734 user_path_at include/linux/namei.h:60 [inline] vfs_statx+0x98/0x290 fs/stat.c:203 vfs_fstatat fs/stat.c:225 [inline] vfs_lstat include/linux/fs.h:3384 [inline] __do_sys_newlstat fs/stat.c:380 [inline] __se_sys_newlstat+0x46/0x250 fs/stat.c:374 __x64_sys_newlstat+0x2d/0x40 fs/stat.c:374 do_syscall_64+0x4a/0x90 arch/x86/entry/common.c:47 entry_SYSCALL_64_after_hwframe+0x44/0xae Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 1033 Comm: systemd-udevd Not tainted 5.12.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================