================================================================== BUG: KCSAN: data-race in yama_ptracer_del / yama_ptracer_del write to 0xffff8880a193b3d0 of 1 bytes by interrupt on cpu 0: yama_ptracer_del+0x119/0x1a0 security/yama/yama_lsm.c:191 yama_task_free+0x22/0x30 security/yama/yama_lsm.c:207 security_task_free+0x43/0xa0 security/security.c:1518 __put_task_struct+0xcd/0x360 kernel/fork.c:745 put_task_struct include/linux/sched/task.h:122 [inline] delayed_put_task_struct+0x1a5/0x1d0 kernel/exit.c:182 __rcu_reclaim kernel/rcu/rcu.h:222 [inline] rcu_do_batch+0x256/0x5b0 kernel/rcu/tree.c:2183 rcu_core+0x365/0x4c0 kernel/rcu/tree.c:2408 rcu_core_si+0x12/0x20 kernel/rcu/tree.c:2417 __do_softirq+0x115/0x33f kernel/softirq.c:292 invoke_softirq kernel/softirq.c:373 [inline] irq_exit+0xbb/0xe0 kernel/softirq.c:413 exiting_irq arch/x86/include/asm/apic.h:536 [inline] smp_apic_timer_interrupt+0xe6/0x280 arch/x86/kernel/apic/apic.c:1137 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:829 __sanitizer_cov_trace_pc+0x0/0x50 kernel/kcov.c:915 tomoyo_path_permission security/tomoyo/file.c:586 [inline] tomoyo_path_permission+0xe3/0x160 security/tomoyo/file.c:573 tomoyo_path_perm+0x23e/0x390 security/tomoyo/file.c:838 tomoyo_inode_getattr+0x26/0x40 security/tomoyo/tomoyo.c:129 security_inode_getattr+0x9b/0xd0 security/security.c:1222 vfs_getattr+0x2e/0x70 fs/stat.c:115 vfs_statx+0x102/0x190 fs/stat.c:191 vfs_stat include/linux/fs.h:3249 [inline] __do_sys_newstat+0x51/0xb0 fs/stat.c:341 __se_sys_newstat fs/stat.c:337 [inline] __x64_sys_newstat+0x3a/0x50 fs/stat.c:337 do_syscall_64+0xcc/0x3a0 arch/x86/entry/common.c:294 entry_SYSCALL_64_after_hwframe+0x44/0xa9 read to 0xffff8880a193b3d0 of 1 bytes by interrupt on cpu 1: yama_ptracer_del+0xd6/0x1a0 security/yama/yama_lsm.c:187 yama_task_free+0x22/0x30 security/yama/yama_lsm.c:207 security_task_free+0x43/0xa0 security/security.c:1518 __put_task_struct+0xcd/0x360 kernel/fork.c:745 put_task_struct include/linux/sched/task.h:122 [inline] delayed_put_task_struct+0x1a5/0x1d0 kernel/exit.c:182 __rcu_reclaim kernel/rcu/rcu.h:222 [inline] rcu_do_batch+0x256/0x5b0 kernel/rcu/tree.c:2183 rcu_core+0x365/0x4c0 kernel/rcu/tree.c:2408 rcu_core_si+0x12/0x20 kernel/rcu/tree.c:2417 __do_softirq+0x115/0x33f kernel/softirq.c:292 invoke_softirq kernel/softirq.c:373 [inline] irq_exit+0xbb/0xe0 kernel/softirq.c:413 exiting_irq arch/x86/include/asm/apic.h:536 [inline] smp_apic_timer_interrupt+0xe6/0x280 arch/x86/kernel/apic/apic.c:1137 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:829 __read_once_size include/linux/compiler.h:232 [inline] check_kcov_mode kernel/kcov.c:155 [inline] __sanitizer_cov_trace_pc+0x26/0x50 kernel/kcov.c:187 get_current arch/x86/include/asm/current.h:15 [inline] need_resched include/linux/sched.h:1824 [inline] copy_pte_range mm/memory.c:833 [inline] copy_pmd_range mm/memory.c:892 [inline] copy_pud_range mm/memory.c:926 [inline] copy_p4d_range mm/memory.c:948 [inline] copy_page_range+0xc9b/0x19b0 mm/memory.c:1010 dup_mmap kernel/fork.c:604 [inline] dup_mm+0x74a/0xba0 kernel/fork.c:1360 copy_mm kernel/fork.c:1416 [inline] copy_process+0x3138/0x3c40 kernel/fork.c:2072 _do_fork+0xfe/0x7a0 kernel/fork.c:2421 __do_sys_clone kernel/fork.c:2576 [inline] __se_sys_clone kernel/fork.c:2557 [inline] __x64_sys_clone+0x130/0x170 kernel/fork.c:2557 do_syscall_64+0xcc/0x3a0 arch/x86/entry/common.c:294 entry_SYSCALL_64_after_hwframe+0x44/0xa9 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 15653 Comm: syz-executor.2 Not tainted 5.5.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================