================================================================== BUG: KCSAN: data-race in __perf_event_overflow / fasync_remove_entry write to 0xffff8880aa6b3300 of 8 bytes by task 19723 on cpu 0: fasync_remove_entry+0xb7/0x120 fs/fcntl.c:884 fasync_helper+0xc9/0xd6 fs/fcntl.c:983 perf_fasync+0x64/0x90 kernel/events/core.c:6187 __fput+0x455/0x500 fs/file_table.c:277 ____fput+0x1b/0x30 fs/file_table.c:313 task_work_run+0xba/0x120 kernel/task_work.c:123 tracehook_notify_resume include/linux/tracehook.h:188 [inline] exit_to_usermode_loop+0x2ae/0x2c0 arch/x86/entry/common.c:165 prepare_exit_to_usermode arch/x86/entry/common.c:196 [inline] syscall_return_slowpath arch/x86/entry/common.c:279 [inline] do_syscall_64+0x38b/0x3b0 arch/x86/entry/common.c:305 entry_SYSCALL_64_after_hwframe+0x44/0xa9 read to 0xffff8880aa6b3300 of 8 bytes by interrupt on cpu 1: __perf_event_overflow+0x116/0x200 kernel/events/core.c:8738 perf_swevent_hrtimer+0x261/0x280 kernel/events/core.c:10120 __run_hrtimer kernel/time/hrtimer.c:1520 [inline] __hrtimer_run_queues+0x271/0x600 kernel/time/hrtimer.c:1584 hrtimer_interrupt+0x226/0x490 kernel/time/hrtimer.c:1646 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1113 [inline] smp_apic_timer_interrupt+0xd8/0x270 arch/x86/kernel/apic/apic.c:1138 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:829 find_watchpoint kernel/kcsan/core.c:107 [inline] check_access kernel/kcsan/core.c:566 [inline] __tsan_read8+0xd/0x110 kernel/kcsan/core.c:770 neigh_flush_dev+0xbd/0x420 net/core/neighbour.c:299 __neigh_ifdown+0x4d/0x1f0 net/core/neighbour.c:352 neigh_ifdown+0x25/0x30 net/core/neighbour.c:369 addrconf_ifdown+0xaf7/0xd40 net/ipv6/addrconf.c:3863 addrconf_notify+0x35e/0x1550 net/ipv6/addrconf.c:3643 notifier_call_chain+0xda/0x160 kernel/notifier.c:83 __raw_notifier_call_chain kernel/notifier.c:361 [inline] raw_notifier_call_chain+0x33/0x50 kernel/notifier.c:368 call_netdevice_notifiers_info net/core/dev.c:1948 [inline] call_netdevice_notifiers_info+0x96/0x110 net/core/dev.c:1933 call_netdevice_notifiers_extack net/core/dev.c:1960 [inline] call_netdevice_notifiers net/core/dev.c:1974 [inline] rollback_registered_many+0x5fe/0xa00 net/core/dev.c:8826 rollback_registered+0xc2/0x150 net/core/dev.c:8871 unregister_netdevice_queue net/core/dev.c:9967 [inline] unregister_netdevice_queue+0x18c/0x2d0 net/core/dev.c:9960 br_dev_delete+0xe6/0x100 net/bridge/br_if.c:383 br_del_bridge+0x95/0xd0 net/bridge/br_if.c:483 br_ioctl_deviceless_stub+0x203/0x560 net/bridge/br_ioctl.c:376 sock_ioctl+0x366/0x5e0 net/socket.c:1151 vfs_ioctl fs/ioctl.c:47 [inline] ksys_ioctl+0x101/0x150 fs/ioctl.c:763 __do_sys_ioctl fs/ioctl.c:772 [inline] __se_sys_ioctl fs/ioctl.c:770 [inline] __x64_sys_ioctl+0x47/0x60 fs/ioctl.c:770 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: 19725 Comm: syz-executor.5 Not tainted 5.7.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================