================================================================== BUG: KCSAN: data-race in yama_ptracer_del / yama_ptracer_del write to 0xffff8880917fd810 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:1569 __put_task_struct+0xc3/0x350 kernel/fork.c:748 put_task_struct include/linux/sched/task.h:126 [inline] delayed_put_task_struct+0x19b/0x1c0 kernel/exit.c:173 rcu_do_batch kernel/rcu/tree.c:2206 [inline] rcu_core+0x533/0x9f0 kernel/rcu/tree.c:2433 rcu_core_si+0x12/0x20 kernel/rcu/tree.c:2442 __do_softirq+0x118/0x34a kernel/softirq.c:292 do_softirq_own_stack+0x2a/0x40 arch/x86/entry/entry_64.S:1082 do_softirq.part.0+0x66/0x70 kernel/softirq.c:337 do_softirq kernel/softirq.c:329 [inline] __local_bh_enable_ip+0x70/0x80 kernel/softirq.c:189 __raw_spin_unlock_bh include/linux/spinlock_api_smp.h:176 [inline] _raw_spin_unlock_bh+0x3d/0x50 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:235 [inline] inet_csk_get_port+0x7f8/0x1360 net/ipv4/inet_connection_sock.c:312 __inet_bind+0x372/0x680 net/ipv4/af_inet.c:524 inet_bind+0xc0/0x100 net/ipv4/af_inet.c:453 rds_tcp_conn_path_connect+0x21a/0x5d0 net/rds/tcp_connect.c:144 rds_connect_worker+0x10b/0x1a0 net/rds/threads.c:176 process_one_work+0x424/0x930 kernel/workqueue.c:2268 worker_thread+0x9a/0x7e0 kernel/workqueue.c:2414 kthread+0x203/0x230 kernel/kthread.c:268 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:352 read to 0xffff8880917fd810 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:1569 __put_task_struct+0xc3/0x350 kernel/fork.c:748 put_task_struct include/linux/sched/task.h:126 [inline] delayed_put_task_struct+0x19b/0x1c0 kernel/exit.c:173 rcu_do_batch kernel/rcu/tree.c:2206 [inline] rcu_core+0x533/0x9f0 kernel/rcu/tree.c:2433 rcu_core_si+0x12/0x20 kernel/rcu/tree.c:2442 __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:1140 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:829 __read_once_size+0x33/0xd0 include/linux/compiler.h:232 __lookup_mnt+0x94/0x140 fs/namespace.c:613 __follow_mount_rcu fs/namei.c:1323 [inline] handle_mounts fs/namei.c:1359 [inline] step_into+0x73d/0x1090 fs/namei.c:1676 walk_component+0xde/0x390 fs/namei.c:1852 link_path_walk.part.0+0x469/0x700 fs/namei.c:2169 link_path_walk fs/namei.c:2292 [inline] path_lookupat.isra.0+0x75/0x350 fs/namei.c:2318 filename_lookup+0x145/0x2c0 fs/namei.c:2352 user_path_at_empty+0x47/0x60 fs/namei.c:2632 user_path_at include/linux/namei.h:59 [inline] vfs_statx+0xdb/0x190 fs/stat.c:197 vfs_lstat include/linux/fs.h:3284 [inline] __do_sys_newlstat+0x50/0xb0 fs/stat.c:364 __se_sys_newlstat fs/stat.c:358 [inline] __x64_sys_newlstat+0x37/0x50 fs/stat.c:358 do_syscall_64+0xc7/0x3b0 arch/x86/entry/common.c:295 entry_SYSCALL_64_after_hwframe+0x44/0xa9 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 5277 Comm: systemd-udevd Not tainted 5.7.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================