================================================================== BUG: KCSAN: data-race in do_signal_stop / prepare_signal write to 0xffff8881024f602c of 4 bytes by task 9942 on cpu 1: freezer_count include/linux/freezer.h:121 [inline] freezable_schedule include/linux/freezer.h:173 [inline] do_signal_stop+0x56f/0x6e0 kernel/signal.c:2396 get_signal+0x65d/0x14e0 kernel/signal.c:2733 arch_do_signal_or_restart+0x2a/0x270 arch/x86/kernel/signal.c:811 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+0x11a/0x1b0 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+0x45/0x80 arch/x86/entry/common.c:56 entry_SYSCALL_64_after_hwframe+0x44/0xae read to 0xffff8881024f602c of 4 bytes by interrupt on cpu 0: sig_task_ignored kernel/signal.c:94 [inline] sig_ignored kernel/signal.c:119 [inline] prepare_signal+0x872/0xd80 kernel/signal.c:962 send_sigqueue+0xea/0x430 kernel/signal.c:1861 posix_timer_event kernel/time/posix-timers.c:354 [inline] posix_timer_fn+0xe8/0x210 kernel/time/posix-timers.c:380 __run_hrtimer+0x163/0x460 kernel/time/hrtimer.c:1519 __hrtimer_run_queues kernel/time/hrtimer.c:1583 [inline] hrtimer_interrupt+0x36e/0xa30 kernel/time/hrtimer.c:1645 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1089 [inline] __sysvec_apic_timer_interrupt+0x6f/0x200 arch/x86/kernel/apic/apic.c:1106 sysvec_apic_timer_interrupt+0x69/0x80 arch/x86/kernel/apic/apic.c:1100 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:632 smap_restore arch/x86/include/asm/smap.h:71 [inline] kcsan_setup_watchpoint+0x436/0x470 kernel/kcsan/core.c:590 tomoyo_check_path_acl+0x4f/0xe0 security/tomoyo/file.c:260 tomoyo_check_acl+0xcc/0x220 security/tomoyo/domain.c:175 tomoyo_path_permission security/tomoyo/file.c:586 [inline] tomoyo_path_perm+0x22f/0x330 security/tomoyo/file.c:838 tomoyo_inode_getattr+0x18/0x20 security/tomoyo/tomoyo.c:123 security_inode_getattr+0x7f/0xd0 security/security.c:1288 vfs_getattr fs/stat.c:131 [inline] vfs_statx+0xf8/0x290 fs/stat.c:199 vfs_fstatat fs/stat.c:217 [inline] vfs_lstat include/linux/fs.h:3240 [inline] __do_sys_newlstat fs/stat.c:372 [inline] __se_sys_newlstat+0x46/0x250 fs/stat.c:366 __x64_sys_newlstat+0x2d/0x40 fs/stat.c:366 do_syscall_64+0x39/0x80 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xae Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 4847 Comm: systemd-udevd Not tainted 5.12.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================