================================================================== BUG: KCSAN: data-race in yama_ptracer_del / yama_ptracer_del write to 0xffff8880a08a5850 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 __sanitizer_cov_trace_cmp8+0xf/0x20 kernel/kcov.c:254 timestamp_truncate+0x8b/0x160 fs/inode.c:2174 current_time+0x5d/0xc0 fs/inode.c:2211 add_dirent_to_buf+0x161/0x390 fs/ext4/namei.c:2027 ext4_add_entry+0x37c/0x8e0 fs/ext4/namei.c:2233 ext4_add_nondir+0x59/0x170 fs/ext4/namei.c:2569 ext4_symlink+0x63e/0x9e0 fs/ext4/namei.c:3356 vfs_symlink fs/namei.c:4201 [inline] vfs_symlink+0x216/0x310 fs/namei.c:4187 do_symlinkat+0x1ac/0x1e0 fs/namei.c:4228 __do_sys_symlink fs/namei.c:4247 [inline] __se_sys_symlink fs/namei.c:4245 [inline] __x64_sys_symlink+0x3c/0x50 fs/namei.c:4245 do_syscall_64+0xc7/0x390 arch/x86/entry/common.c:294 entry_SYSCALL_64_after_hwframe+0x44/0xa9 read to 0xffff8880a08a5850 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 clear_page_erms+0x7/0x10 arch/x86/lib/clear_page_64.S:48 clear_page arch/x86/include/asm/page_64.h:49 [inline] clear_highpage include/linux/highmem.h:214 [inline] kernel_init_free_pages+0x61/0xa0 mm/page_alloc.c:1118 prep_new_page+0x58/0x100 mm/page_alloc.c:2160 get_page_from_freelist+0x1391/0x1640 mm/page_alloc.c:3684 __alloc_pages_nodemask+0x15e/0x310 mm/page_alloc.c:4731 __alloc_pages include/linux/gfp.h:496 [inline] __alloc_pages_node include/linux/gfp.h:509 [inline] alloc_pages_vma+0x29b/0x390 mm/mempolicy.c:2155 do_huge_pmd_anonymous_page+0x2af/0x1000 mm/huge_memory.c:771 create_huge_pmd mm/memory.c:3924 [inline] __handle_mm_fault+0x1cc8/0x2cf0 mm/memory.c:4134 handle_mm_fault+0x21c/0x540 mm/memory.c:4200 do_user_addr_fault arch/x86/mm/fault.c:1442 [inline] do_page_fault+0x4a4/0xa52 arch/x86/mm/fault.c:1517 page_fault+0x34/0x40 arch/x86/entry/entry_64.S:1203 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 11060 Comm: syz-executor.0 Not tainted 5.6.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================