================================================================== BUG: KCSAN: data-race in yama_ptracer_del / yama_ptracer_del write to 0xffff88809d574a50 of 1 bytes by interrupt on cpu 0: yama_ptracer_del+0x117/0x1a0 security/yama/yama_lsm.c:191 yama_task_free+0x1e/0x30 security/yama/yama_lsm.c:207 security_task_free+0x3f/0xa0 security/security.c:1569 __put_task_struct+0xc3/0x350 kernel/fork.c:748 put_task_struct include/linux/sched/task.h:126 [inline] delayed_put_task_struct+0x19b/0x1c0 kernel/exit.c:173 rcu_do_batch kernel/rcu/tree.c:2206 [inline] rcu_core+0x533/0x9f0 kernel/rcu/tree.c:2433 rcu_core_si+0x12/0x20 kernel/rcu/tree.c:2442 __do_softirq+0x118/0x34a kernel/softirq.c:292 invoke_softirq kernel/softirq.c:373 [inline] irq_exit+0xb5/0xd0 kernel/softirq.c:413 exiting_irq arch/x86/include/asm/apic.h:546 [inline] smp_apic_timer_interrupt+0xe2/0x270 arch/x86/kernel/apic/apic.c:1140 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:829 mem_cgroup_throttle_swaprate+0x0/0x2c6 mm/swapfile.c:3472 mem_cgroup_try_charge_delay+0x5f/0x70 mm/memcontrol.c:6502 __do_huge_pmd_anonymous_page mm/huge_memory.c:597 [inline] do_huge_pmd_anonymous_page+0x351/0x11a0 mm/huge_memory.c:778 create_huge_pmd mm/memory.c:4097 [inline] __handle_mm_fault+0x1f5b/0x2da0 mm/memory.c:4316 handle_mm_fault+0x21c/0x540 mm/memory.c:4382 do_user_addr_fault arch/x86/mm/fault.c:1464 [inline] do_page_fault+0x48a/0xa96 arch/x86/mm/fault.c:1535 page_fault+0x34/0x40 arch/x86/entry/entry_64.S:1203 read to 0xffff88809d574a50 of 1 bytes by interrupt on cpu 1: yama_ptracer_del+0xd4/0x1a0 security/yama/yama_lsm.c:187 yama_task_free+0x1e/0x30 security/yama/yama_lsm.c:207 security_task_free+0x3f/0xa0 security/security.c:1569 __put_task_struct+0xc3/0x350 kernel/fork.c:748 put_task_struct include/linux/sched/task.h:126 [inline] delayed_put_task_struct+0x19b/0x1c0 kernel/exit.c:173 rcu_do_batch kernel/rcu/tree.c:2206 [inline] rcu_core+0x533/0x9f0 kernel/rcu/tree.c:2433 rcu_core_si+0x12/0x20 kernel/rcu/tree.c:2442 __do_softirq+0x118/0x34a kernel/softirq.c:292 invoke_softirq kernel/softirq.c:373 [inline] irq_exit+0xb5/0xd0 kernel/softirq.c:413 exiting_irq arch/x86/include/asm/apic.h:546 [inline] smp_apic_timer_interrupt+0xe2/0x270 arch/x86/kernel/apic/apic.c:1140 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:829 is_atomic kernel/kcsan/core.c:229 [inline] should_watch kernel/kcsan/core.c:257 [inline] check_access kernel/kcsan/core.c:581 [inline] __tsan_read1+0xa8/0x110 kernel/kcsan/core.c:767 tomoyo_check_acl+0xbe/0x280 security/tomoyo/domain.c:173 tomoyo_path_permission security/tomoyo/file.c:586 [inline] tomoyo_path_permission+0xda/0x150 security/tomoyo/file.c:573 tomoyo_path_perm+0x215/0x350 security/tomoyo/file.c:838 tomoyo_inode_getattr+0x23/0x40 security/tomoyo/tomoyo.c:129 security_inode_getattr+0x97/0xc0 security/security.c:1273 vfs_getattr+0x2c/0x70 fs/stat.c:117 vfs_statx+0x104/0x190 fs/stat.c:201 vfs_lstat include/linux/fs.h:3284 [inline] __do_sys_newlstat+0x50/0xb0 fs/stat.c:364 __se_sys_newlstat fs/stat.c:358 [inline] __x64_sys_newlstat+0x37/0x50 fs/stat.c:358 do_syscall_64+0xc7/0x3b0 arch/x86/entry/common.c:295 entry_SYSCALL_64_after_hwframe+0x44/0xa9 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 5278 Comm: systemd-udevd Not tainted 5.7.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================