================================================================== BUG: KCSAN: data-race in yama_ptracer_del / yama_ptracer_del write to 0xffff888092111750 of 1 bytes by interrupt on cpu 1: 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:1550 __put_task_struct+0xc3/0x350 kernel/fork.c:751 put_task_struct include/linux/sched/task.h:122 [inline] delayed_put_task_struct+0x19b/0x1c0 kernel/exit.c:182 rcu_do_batch kernel/rcu/tree.c:2239 [inline] rcu_core+0x533/0x9f0 kernel/rcu/tree.c:2466 rcu_core_si+0x12/0x20 kernel/rcu/tree.c:2475 __do_softirq+0x118/0x34a kernel/softirq.c:292 run_ksoftirqd+0x41/0x60 kernel/softirq.c:603 smpboot_thread_fn+0x374/0x4a0 kernel/smpboot.c:165 kthread+0x1cb/0x1f0 kernel/kthread.c:255 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:352 read to 0xffff888092111750 of 1 bytes by interrupt on cpu 0: 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:1550 __put_task_struct+0xc3/0x350 kernel/fork.c:751 put_task_struct include/linux/sched/task.h:122 [inline] delayed_put_task_struct+0x19b/0x1c0 kernel/exit.c:182 rcu_do_batch kernel/rcu/tree.c:2239 [inline] rcu_core+0x533/0x9f0 kernel/rcu/tree.c:2466 rcu_core_si+0x12/0x20 kernel/rcu/tree.c:2475 __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:1146 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:829 __read_once_size include/linux/compiler.h:232 [inline] arch_atomic64_read arch/x86/include/asm/atomic64_64.h:22 [inline] atomic64_read include/asm-generic/atomic-instrumented.h:838 [inline] atomic_long_read include/asm-generic/atomic-long.h:29 [inline] find_watchpoint kernel/kcsan/core.c:116 [inline] check_access kernel/kcsan/core.c:554 [inline] __tsan_read1+0x2c/0x100 kernel/kcsan/core.c:700 tomoyo_domain_quota_is_ok+0xec/0x2b0 security/tomoyo/util.c:1037 tomoyo_supervisor+0x1d9/0xc90 security/tomoyo/common.c:2089 tomoyo_audit_path_log security/tomoyo/file.c:168 [inline] tomoyo_path_permission security/tomoyo/file.c:587 [inline] tomoyo_path_permission+0x118/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:1254 vfs_getattr+0x2c/0x70 fs/stat.c:117 vfs_statx+0x104/0x190 fs/stat.c:201 vfs_lstat include/linux/fs.h:3276 [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/0x390 arch/x86/entry/common.c:294 entry_SYSCALL_64_after_hwframe+0x44/0xa9 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 7904 Comm: udevd Not tainted 5.6.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================