================================================================== BUG: KCSAN: data-race in yama_task_free / yama_task_free write to 0xffff8880854ee0d0 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:1595 __put_task_struct+0x96/0x370 kernel/fork.c:733 put_task_struct include/linux/sched/task.h:113 [inline] delayed_put_task_struct+0x4b/0x150 kernel/exit.c:172 rcu_do_batch kernel/rcu/tree.c:2430 [inline] rcu_core+0x5a6/0xb30 kernel/rcu/tree.c:2658 rcu_core_si+0x9/0x10 kernel/rcu/tree.c:2667 __do_softirq+0x198/0x360 kernel/softirq.c:298 run_ksoftirqd+0x2f/0x60 kernel/softirq.c:652 smpboot_thread_fn+0x347/0x530 kernel/smpboot.c:165 kthread+0x20d/0x230 kernel/kthread.c:292 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294 read to 0xffff8880854ee0d0 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:1595 __put_task_struct+0x96/0x370 kernel/fork.c:733 put_task_struct include/linux/sched/task.h:113 [inline] delayed_put_task_struct+0x4b/0x150 kernel/exit.c:172 rcu_do_batch kernel/rcu/tree.c:2430 [inline] rcu_core+0x5a6/0xb30 kernel/rcu/tree.c:2658 rcu_core_si+0x9/0x10 kernel/rcu/tree.c:2667 __do_softirq+0x198/0x360 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+0x5b/0x70 arch/x86/kernel/irq_64.c:77 invoke_softirq kernel/softirq.c:393 [inline] __irq_exit_rcu+0x115/0x120 kernel/softirq.c:423 sysvec_apic_timer_interrupt+0xba/0xd0 arch/x86/kernel/apic/apic.c:1091 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:581 arch_local_irq_restore arch/x86/include/asm/paravirt.h:770 [inline] kcsan_setup_watchpoint+0x44b/0x4a0 kernel/kcsan/core.c:563 ext4_raw_inode fs/ext4/ext4.h:2278 [inline] ext4_do_update_inode fs/ext4/inode.c:4957 [inline] ext4_mark_iloc_dirty+0xf6/0x1660 fs/ext4/inode.c:5624 __ext4_mark_inode_dirty+0x448/0x630 fs/ext4/inode.c:5818 ext4_evict_inode+0x91d/0xc20 fs/ext4/inode.c:273 evict+0x19f/0x470 fs/inode.c:576 iput_final fs/inode.c:1652 [inline] iput+0x44a/0x550 fs/inode.c:1678 do_unlinkat+0x2c9/0x4d0 fs/namei.c:3902 __do_sys_unlink fs/namei.c:3942 [inline] __se_sys_unlink fs/namei.c:3940 [inline] __x64_sys_unlink+0x2c/0x30 fs/namei.c:3940 do_syscall_64+0x39/0x80 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 12339 Comm: syz-executor.3 Not tainted 5.9.0-rc7-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================