================================================================== BUG: KCSAN: data-race in d_invalidate / fast_dput write to 0xffff888106a45550 of 8 bytes by task 11216 on cpu 1: __d_drop fs/dcache.c:521 [inline] d_invalidate+0x5c/0x1c0 fs/dcache.c:1597 proc_invalidate_siblings_dcache+0x209/0x2b0 fs/proc/inode.c:148 proc_sys_invalidate_dcache fs/proc/proc_sysctl.c:285 [inline] start_unregistering fs/proc/proc_sysctl.c:310 [inline] drop_sysctl_table+0xbb/0x260 fs/proc/proc_sysctl.c:1506 unregister_sysctl_table+0x30/0x50 fs/proc/proc_sysctl.c:1531 unregister_net_sysctl_table+0x15/0x20 net/sysctl_net.c:177 __devinet_sysctl_unregister net/ipv4/devinet.c:2633 [inline] devinet_sysctl_unregister net/ipv4/devinet.c:2661 [inline] inetdev_destroy net/ipv4/devinet.c:345 [inline] inetdev_event+0x614/0xad0 net/ipv4/devinet.c:1643 notifier_call_chain kernel/notifier.c:93 [inline] raw_notifier_call_chain+0x6f/0x1d0 kernel/notifier.c:461 call_netdevice_notifiers_info+0xae/0x100 net/core/dev.c:1996 call_netdevice_notifiers_extack net/core/dev.c:2034 [inline] call_netdevice_notifiers net/core/dev.c:2048 [inline] unregister_netdevice_many_notify+0x8b7/0x11b0 net/core/dev.c:11403 unregister_netdevice_many net/core/dev.c:11465 [inline] unregister_netdevice_queue+0x1f4/0x220 net/core/dev.c:11339 unregister_netdevice include/linux/netdevice.h:3118 [inline] ser_release+0x118/0x180 drivers/net/caif/caif_serial.c:310 ldisc_open+0x9d/0x510 drivers/net/caif/caif_serial.c:333 tty_ldisc_open drivers/tty/tty_ldisc.c:432 [inline] tty_ldisc_reinit+0x21a/0x320 drivers/tty/tty_ldisc.c:667 tty_reopen+0x188/0x1b0 drivers/tty/tty_io.c:1360 tty_open_by_driver drivers/tty/tty_io.c:2076 [inline] tty_open+0x8ff/0xb00 drivers/tty/tty_io.c:2129 chrdev_open+0x2f9/0x370 fs/char_dev.c:414 do_dentry_open+0x621/0xa20 fs/open.c:958 vfs_open+0x38/0x1f0 fs/open.c:1088 do_open fs/namei.c:3774 [inline] path_openat+0x1ac2/0x1fa0 fs/namei.c:3933 do_filp_open+0xf7/0x200 fs/namei.c:3960 do_sys_openat2+0xab/0x120 fs/open.c:1415 do_sys_open fs/open.c:1430 [inline] __do_sys_openat fs/open.c:1446 [inline] __se_sys_openat fs/open.c:1441 [inline] __x64_sys_openat+0xf3/0x120 fs/open.c:1441 x64_sys_call+0x1025/0x2d60 arch/x86/include/generated/asm/syscalls_64.h:258 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xc9/0x1c0 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f read to 0xffff888106a45550 of 8 bytes by task 3008 on cpu 0: hlist_bl_unhashed include/linux/list_bl.h:54 [inline] d_unhashed include/linux/dcache.h:354 [inline] retain_dentry fs/dcache.c:698 [inline] fast_dput+0x65/0x2c0 fs/dcache.c:794 dput+0x24/0xd0 fs/dcache.c:851 __fput+0x3fb/0x6d0 fs/file_table.c:439 __fput_sync+0x43/0x60 fs/file_table.c:516 __do_sys_close fs/open.c:1567 [inline] __se_sys_close+0xf9/0x1a0 fs/open.c:1552 __x64_sys_close+0x1f/0x30 fs/open.c:1552 x64_sys_call+0x25cb/0x2d60 arch/x86/include/generated/asm/syscalls_64.h:4 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xc9/0x1c0 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f value changed: 0xffff888237ba2010 -> 0x0000000000000000 Reported by Kernel Concurrency Sanitizer on: CPU: 0 UID: 0 PID: 3008 Comm: dhcpcd Not tainted 6.12.0-rc4-syzkaller-00045-gd12937763990 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 ==================================================================