================================================================== BUG: KCSAN: data-race in dev_uevent / really_probe write to 0xffff88812758f868 of 8 bytes by task 23707 on cpu 0: really_probe+0x9a/0x5d0 drivers/base/dd.c:631 __driver_probe_device+0x12d/0x200 drivers/base/dd.c:798 driver_probe_device+0x38/0x2f0 drivers/base/dd.c:828 __device_attach_driver+0x216/0x320 drivers/base/dd.c:956 bus_for_each_drv+0x1cd/0x240 drivers/base/bus.c:457 __device_attach+0x1c7/0x290 drivers/base/dd.c:1028 device_initial_probe+0x1a/0x20 drivers/base/dd.c:1077 bus_probe_device+0x141/0x1d0 drivers/base/bus.c:532 device_add+0x651/0x800 drivers/base/core.c:3720 device_register+0x1d/0x30 drivers/base/core.c:3802 nsim_bus_dev_new drivers/net/netdevsim/bus.c:442 [inline] new_device_store+0x27a/0x470 drivers/net/netdevsim/bus.c:173 bus_attr_store+0x54/0x70 drivers/base/bus.c:170 sysfs_kf_write+0xae/0xd0 fs/sysfs/file.c:136 kernfs_fop_write_iter+0x1ce/0x2c0 fs/kernfs/file.c:334 call_write_iter include/linux/fs.h:2110 [inline] new_sync_write fs/read_write.c:497 [inline] vfs_write+0x771/0x8e0 fs/read_write.c:590 ksys_write+0xeb/0x1b0 fs/read_write.c:643 __do_sys_write fs/read_write.c:655 [inline] __se_sys_write fs/read_write.c:652 [inline] __x64_sys_write+0x42/0x50 fs/read_write.c:652 do_syscall_64+0xd3/0x1d0 entry_SYSCALL_64_after_hwframe+0x72/0x7a read to 0xffff88812758f868 of 8 bytes by task 23615 on cpu 1: dev_uevent+0x235/0x380 drivers/base/core.c:2670 uevent_show+0x10c/0x1f0 drivers/base/core.c:2742 dev_attr_show+0x3a/0xa0 drivers/base/core.c:2445 sysfs_kf_seq_show+0x17c/0x250 fs/sysfs/file.c:59 kernfs_seq_show+0x7c/0x90 fs/kernfs/file.c:205 seq_read_iter+0x2d7/0x940 fs/seq_file.c:230 kernfs_fop_read_iter+0xc6/0x310 fs/kernfs/file.c:279 call_read_iter include/linux/fs.h:2104 [inline] new_sync_read fs/read_write.c:395 [inline] vfs_read+0x5bc/0x6b0 fs/read_write.c:476 ksys_read+0xeb/0x1b0 fs/read_write.c:619 __do_sys_read fs/read_write.c:629 [inline] __se_sys_read fs/read_write.c:627 [inline] __x64_sys_read+0x42/0x50 fs/read_write.c:627 do_syscall_64+0xd3/0x1d0 entry_SYSCALL_64_after_hwframe+0x72/0x7a value changed: 0x0000000000000000 -> 0xffffffff862d4980 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 23615 Comm: udevd Tainted: G W 6.9.0-rc2-syzkaller-00413-gf2f80ac80987 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 ==================================================================