================================================================== BUG: KCSAN: data-race in yama_task_free / yama_task_free write to 0xffff88811e94e690 of 1 bytes by interrupt on cpu 0: yama_ptracer_del security/yama/yama_lsm.c:191 [inline] yama_task_free+0xc6/0x150 security/yama/yama_lsm.c:207 security_task_free+0x3f/0xa0 security/security.c:1580 __put_task_struct+0x96/0x370 kernel/fork.c:750 put_task_struct include/linux/sched/task.h:126 [inline] delayed_put_task_struct+0x52/0x160 kernel/exit.c:172 rcu_do_batch kernel/rcu/tree.c:2396 [inline] rcu_core+0x606/0xb60 kernel/rcu/tree.c:2623 rcu_core_si+0x9/0x10 kernel/rcu/tree.c:2632 __do_softirq+0x198/0x360 kernel/softirq.c:292 asm_call_on_stack+0xf/0x20 arch/x86/entry/entry_64.S:711 __run_on_irqstack arch/x86/include/asm/irq_stack.h:22 [inline] run_on_irqstack_cond arch/x86/include/asm/irq_stack.h:48 [inline] do_softirq_own_stack+0x5d/0x80 arch/x86/kernel/irq_64.c:77 invoke_softirq kernel/softirq.c:387 [inline] __irq_exit_rcu+0x115/0x120 kernel/softirq.c:417 sysvec_apic_timer_interrupt+0xd9/0xf0 arch/x86/kernel/apic/apic.c:1091 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:596 __sanitizer_cov_trace_const_cmp8+0x0/0x90 kernel/kcov.c:286 mm_counter include/linux/mm.h:1891 [inline] copy_one_pte mm/memory.c:803 [inline] copy_pte_range+0x60b/0x1420 mm/memory.c:850 copy_pmd_range mm/memory.c:901 [inline] copy_pud_range mm/memory.c:935 [inline] copy_p4d_range mm/memory.c:957 [inline] copy_page_range+0x999/0xbc0 mm/memory.c:1019 dup_mmap+0x6c5/0x970 kernel/fork.c:609 dup_mm+0x7c/0x210 kernel/fork.c:1371 copy_mm kernel/fork.c:1427 [inline] copy_process+0x178a/0x32b0 kernel/fork.c:2098 _do_fork+0xf1/0x660 kernel/fork.c:2443 __do_sys_clone kernel/fork.c:2599 [inline] __se_sys_clone kernel/fork.c:2580 [inline] __x64_sys_clone+0xfb/0x120 kernel/fork.c:2580 do_syscall_64+0x71/0x120 arch/x86/entry/common.c:359 entry_SYSCALL_64_after_hwframe+0x44/0xa9 read to 0xffff88811e94e690 of 1 bytes by interrupt on cpu 1: yama_ptracer_del security/yama/yama_lsm.c:187 [inline] yama_task_free+0x61/0x150 security/yama/yama_lsm.c:207 security_task_free+0x3f/0xa0 security/security.c:1580 __put_task_struct+0x96/0x370 kernel/fork.c:750 put_task_struct include/linux/sched/task.h:126 [inline] delayed_put_task_struct+0x52/0x160 kernel/exit.c:172 rcu_do_batch kernel/rcu/tree.c:2396 [inline] rcu_core+0x606/0xb60 kernel/rcu/tree.c:2623 rcu_core_si+0x9/0x10 kernel/rcu/tree.c:2632 __do_softirq+0x198/0x360 kernel/softirq.c:292 asm_call_on_stack+0xf/0x20 arch/x86/entry/entry_64.S:711 __run_on_irqstack arch/x86/include/asm/irq_stack.h:22 [inline] run_on_irqstack_cond arch/x86/include/asm/irq_stack.h:48 [inline] do_softirq_own_stack+0x5d/0x80 arch/x86/kernel/irq_64.c:77 invoke_softirq kernel/softirq.c:387 [inline] __irq_exit_rcu+0x115/0x120 kernel/softirq.c:417 sysvec_apic_timer_interrupt+0xd9/0xf0 arch/x86/kernel/apic/apic.c:1091 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:596 native_safe_halt+0xe/0x10 arch/x86/include/asm/irqflags.h:60 arch_safe_halt arch/x86/include/asm/paravirt.h:150 [inline] acpi_safe_halt drivers/acpi/processor_idle.c:111 [inline] acpi_idle_do_entry drivers/acpi/processor_idle.c:525 [inline] acpi_idle_enter+0x319/0x650 drivers/acpi/processor_idle.c:651 cpuidle_enter_state+0x245/0x5d0 drivers/cpuidle/cpuidle.c:234 cpuidle_enter+0x3c/0x60 drivers/cpuidle/cpuidle.c:345 call_cpuidle kernel/sched/idle.c:117 [inline] cpuidle_idle_call kernel/sched/idle.c:207 [inline] do_idle+0x1ce/0x320 kernel/sched/idle.c:269 cpu_startup_entry+0x15/0x20 kernel/sched/idle.c:365 start_secondary+0xe3/0x110 arch/x86/kernel/smpboot.c:268 secondary_startup_64+0xa4/0xb0 arch/x86/kernel/head_64.S:243 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 0 Comm: swapper/1 Not tainted 5.8.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================