================================================================== BUG: KCSAN: data-race in yama_ptracer_del / yama_ptracer_del write to 0xffff88807b31cad0 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:1550 __put_task_struct+0xcd/0x360 kernel/fork.c:751 put_task_struct include/linux/sched/task.h:122 [inline] delayed_put_task_struct+0x1a5/0x1d0 kernel/exit.c:182 rcu_do_batch kernel/rcu/tree.c:2207 [inline] rcu_core+0x533/0x9f0 kernel/rcu/tree.c:2434 rcu_core_si+0x12/0x20 kernel/rcu/tree.c:2443 __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:546 [inline] smp_apic_timer_interrupt+0xe6/0x280 arch/x86/kernel/apic/apic.c:1146 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:829 find_next_zero_bit+0x38/0x50 lib/find_bit.c:87 find_next_zero_bit_le include/asm-generic/bitops/le.h:15 [inline] find_inode_bit.isra.0+0x82/0x300 fs/ext4/ialloc.c:713 __ext4_new_inode+0xd45/0x2f30 fs/ext4/ialloc.c:912 ext4_mkdir+0x270/0x820 fs/ext4/namei.c:2782 vfs_mkdir+0x283/0x390 fs/namei.c:3889 do_mkdirat+0x1ac/0x1f0 fs/namei.c:3912 __do_sys_mkdir fs/namei.c:3928 [inline] __se_sys_mkdir fs/namei.c:3926 [inline] __x64_sys_mkdir+0x40/0x50 fs/namei.c:3926 do_syscall_64+0xcc/0x3a0 arch/x86/entry/common.c:294 entry_SYSCALL_64_after_hwframe+0x44/0xa9 read to 0xffff88807b31cad0 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:1550 __put_task_struct+0xcd/0x360 kernel/fork.c:751 put_task_struct include/linux/sched/task.h:122 [inline] delayed_put_task_struct+0x1a5/0x1d0 kernel/exit.c:182 rcu_do_batch kernel/rcu/tree.c:2207 [inline] rcu_core+0x533/0x9f0 kernel/rcu/tree.c:2434 rcu_core_si+0x12/0x20 kernel/rcu/tree.c:2443 __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:546 [inline] smp_apic_timer_interrupt+0xe6/0x280 arch/x86/kernel/apic/apic.c:1146 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:829 __sanitizer_cov_trace_pc+0x48/0x50 kernel/kcov.c:194 tomoyo_domain_quota_is_ok+0x220/0x2b0 security/tomoyo/util.c:1071 tomoyo_supervisor+0x1d9/0xc90 security/tomoyo/common.c:2089 tomoyo_audit_path2_log security/tomoyo/file.c:182 [inline] tomoyo_path2_perm+0x44a/0x4c0 security/tomoyo/file.c:943 tomoyo_path_rename+0x95/0xd0 security/tomoyo/tomoyo.c:285 security_path_rename+0x17e/0x1e0 security/security.c:1111 do_renameat2+0x6ea/0xa50 fs/namei.c:4697 __do_sys_rename fs/namei.c:4747 [inline] __se_sys_rename fs/namei.c:4745 [inline] __x64_sys_rename+0x47/0x60 fs/namei.c:4745 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: 20288 Comm: syz-executor.5 Not tainted 5.6.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================