================================================================== BUG: KCSAN: data-race in yama_task_free / yama_task_free write to 0xffff8880105f3e10 of 1 bytes by interrupt on cpu 1: yama_ptracer_del security/yama/yama_lsm.c:191 [inline] yama_task_free+0xc3/0x160 security/yama/yama_lsm.c:207 security_task_free+0x3f/0xa0 security/security.c:1596 __put_task_struct+0xc2/0x3a0 kernel/fork.c:735 put_task_struct include/linux/sched/task.h:113 [inline] delayed_put_task_struct+0x49/0x130 kernel/exit.c:172 rcu_do_batch kernel/rcu/tree.c:2476 [inline] rcu_core+0x6bb/0xbc0 kernel/rcu/tree.c:2711 rcu_core_si+0x9/0x10 kernel/rcu/tree.c:2724 __do_softirq+0x12c/0x2b1 kernel/softirq.c:298 asm_call_irq_on_stack+0xf/0x20 __run_on_irqstack arch/x86/include/asm/irq_stack.h:26 [inline] run_on_irqstack_cond arch/x86/include/asm/irq_stack.h:77 [inline] do_softirq_own_stack+0x32/0x40 arch/x86/kernel/irq_64.c:77 invoke_softirq kernel/softirq.c:393 [inline] __irq_exit_rcu+0xb2/0xc0 kernel/softirq.c:423 sysvec_apic_timer_interrupt+0x74/0x90 arch/x86/kernel/apic/apic.c:1091 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:631 arch_atomic_inc arch/x86/include/asm/atomic.h:95 [inline] atomic_inc include/asm-generic/atomic-instrumented.h:241 [inline] page_ref_inc include/linux/page_ref.h:116 [inline] get_page include/linux/mm.h:1164 [inline] copy_present_pte mm/memory.c:869 [inline] copy_pte_range+0x4e4/0x1ab0 mm/memory.c:978 copy_pmd_range mm/memory.c:1058 [inline] copy_pud_range mm/memory.c:1095 [inline] copy_p4d_range mm/memory.c:1119 [inline] copy_page_range+0x8ae/0xab0 mm/memory.c:1183 dup_mmap+0x74d/0x9e0 kernel/fork.c:593 dup_mm+0x7c/0x210 kernel/fork.c:1357 copy_mm kernel/fork.c:1413 [inline] copy_process+0x1223/0x2d70 kernel/fork.c:2095 kernel_clone+0x14b/0x680 kernel/fork.c:2456 __do_sys_clone kernel/fork.c:2573 [inline] __se_sys_clone kernel/fork.c:2557 [inline] __x64_sys_clone+0xc8/0xf0 kernel/fork.c:2557 do_syscall_64+0x39/0x80 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 read to 0xffff8880105f3e10 of 1 bytes by interrupt on cpu 0: yama_ptracer_del security/yama/yama_lsm.c:187 [inline] yama_task_free+0x5c/0x160 security/yama/yama_lsm.c:207 security_task_free+0x3f/0xa0 security/security.c:1596 __put_task_struct+0xc2/0x3a0 kernel/fork.c:735 put_task_struct include/linux/sched/task.h:113 [inline] delayed_put_task_struct+0x49/0x130 kernel/exit.c:172 rcu_do_batch kernel/rcu/tree.c:2476 [inline] rcu_core+0x6bb/0xbc0 kernel/rcu/tree.c:2711 rcu_core_si+0x9/0x10 kernel/rcu/tree.c:2724 __do_softirq+0x12c/0x2b1 kernel/softirq.c:298 asm_call_irq_on_stack+0xf/0x20 __run_on_irqstack arch/x86/include/asm/irq_stack.h:26 [inline] run_on_irqstack_cond arch/x86/include/asm/irq_stack.h:77 [inline] do_softirq_own_stack+0x32/0x40 arch/x86/kernel/irq_64.c:77 invoke_softirq kernel/softirq.c:393 [inline] __irq_exit_rcu+0xb2/0xc0 kernel/softirq.c:423 sysvec_apic_timer_interrupt+0x74/0x90 arch/x86/kernel/apic/apic.c:1091 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:631 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 4894 Comm: systemd-udevd Not tainted 5.10.0-rc3-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================