================================================================== BUG: KCSAN: data-race in yama_ptracer_del / yama_ptracer_del write to 0xffff8880a7676110 of 1 bytes by interrupt on cpu 0: 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 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 arch_local_irq_enable arch/x86/include/asm/paravirt.h:762 [inline] __raw_spin_unlock_irq include/linux/spinlock_api_smp.h:168 [inline] _raw_spin_unlock_irq+0x4b/0x80 kernel/locking/spinlock.c:199 task_work_run+0xcd/0x130 kernel/task_work.c:106 tracehook_notify_resume include/linux/tracehook.h:188 [inline] exit_to_usermode_loop+0x2ae/0x2c0 arch/x86/entry/common.c:164 prepare_exit_to_usermode arch/x86/entry/common.c:195 [inline] syscall_return_slowpath arch/x86/entry/common.c:278 [inline] do_syscall_64+0x36e/0x390 arch/x86/entry/common.c:304 entry_SYSCALL_64_after_hwframe+0x44/0xa9 read to 0xffff8880a7676110 of 1 bytes by interrupt on cpu 1: 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 get_page_from_freelist+0xe4/0x1640 mm/page_alloc.c:3612 __alloc_pages_nodemask+0x15e/0x310 mm/page_alloc.c:4731 alloc_pages_current+0xca/0x170 mm/mempolicy.c:2211 alloc_pages include/linux/gfp.h:532 [inline] __pte_alloc_one include/asm-generic/pgalloc.h:63 [inline] pte_alloc_one+0x14/0x50 arch/x86/mm/pgtable.c:26 __pte_alloc+0x27/0x210 mm/memory.c:426 copy_pte_range mm/memory.c:816 [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+0x1391/0x1a40 mm/memory.c:1010 dup_mmap kernel/fork.c:610 [inline] dup_mm+0x72e/0xb90 kernel/fork.c:1366 copy_mm kernel/fork.c:1422 [inline] copy_process+0x39ad/0x3b10 kernel/fork.c:2092 _do_fork+0xf7/0x790 kernel/fork.c:2441 __do_sys_clone kernel/fork.c:2596 [inline] __se_sys_clone kernel/fork.c:2577 [inline] __x64_sys_clone+0x12e/0x170 kernel/fork.c:2577 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: 1 PID: 7821 Comm: syz-executor.4 Not tainted 5.6.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================