================================================================== BUG: KCSAN: data-race in yama_task_free / yama_task_free write to 0xffff888056fb3e10 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:2414 [inline] rcu_core+0x576/0xac0 kernel/rcu/tree.c:2641 rcu_core_si+0x9/0x10 kernel/rcu/tree.c:2650 __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+0xba/0xd0 arch/x86/kernel/apic/apic.c:1091 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:596 read to 0xffff888056fb3e10 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:2414 [inline] rcu_core+0x576/0xac0 kernel/rcu/tree.c:2641 rcu_core_si+0x9/0x10 kernel/rcu/tree.c:2650 __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 do_softirq+0x86/0xb0 kernel/softirq.c:337 __local_bh_enable_ip+0x63/0x70 kernel/softirq.c:189 __raw_spin_unlock_bh include/linux/spinlock_api_smp.h:176 [inline] _raw_spin_unlock_bh+0x33/0x40 kernel/locking/spinlock.c:207 spin_unlock_bh include/linux/spinlock.h:398 [inline] inet_csk_find_open_port net/ipv4/inet_connection_sock.c:240 [inline] inet_csk_get_port+0x810/0xbc0 net/ipv4/inet_connection_sock.c:317 __inet6_bind+0x799/0xb00 net/ipv6/af_inet6.c:406 inet6_bind+0xb3/0xd0 net/ipv6/af_inet6.c:458 rds_tcp_conn_path_connect+0x26c/0x430 net/rds/tcp_connect.c:144 rds_connect_worker+0x125/0x1a0 net/rds/threads.c:176 process_one_work+0x3e1/0x9a0 kernel/workqueue.c:2269 worker_thread+0x665/0xbe0 kernel/workqueue.c:2415 kthread+0x20d/0x230 kernel/kthread.c:291 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:293 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 23387 Comm: kworker/u4:6 Not tainted 5.8.0-rc2-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: krdsd rds_connect_worker ==================================================================