================================================================== BUG: KCSAN: data-race in dev_uevent / really_probe write to 0xffff88814fe5cc68 of 8 bytes by task 30790 on cpu 1: really_probe+0x9a/0x620 drivers/base/dd.c:632 __driver_probe_device+0x12d/0x200 drivers/base/dd.c:800 driver_probe_device+0x38/0x2f0 drivers/base/dd.c:830 __device_attach_driver+0x213/0x310 drivers/base/dd.c:958 bus_for_each_drv+0x1ca/0x240 drivers/base/bus.c:457 __device_attach+0x1c3/0x290 drivers/base/dd.c:1030 device_initial_probe+0x1a/0x20 drivers/base/dd.c:1079 bus_probe_device+0x13d/0x1c0 drivers/base/bus.c:532 device_add+0x636/0x7e0 drivers/base/core.c:3639 device_register+0x1d/0x20 drivers/base/core.c:3721 nsim_bus_dev_new drivers/net/netdevsim/bus.c:297 [inline] new_device_store+0x279/0x470 drivers/net/netdevsim/bus.c:173 bus_attr_store+0x50/0x70 drivers/base/bus.c:170 sysfs_kf_write+0xaa/0xc0 fs/sysfs/file.c:136 kernfs_fop_write_iter+0x1ca/0x2b0 fs/kernfs/file.c:334 call_write_iter include/linux/fs.h:2087 [inline] new_sync_write fs/read_write.c:497 [inline] vfs_write+0x760/0x8d0 fs/read_write.c:590 ksys_write+0xeb/0x1a0 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_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x1d0 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b read to 0xffff88814fe5cc68 of 8 bytes by task 30706 on cpu 0: dev_uevent+0x235/0x360 drivers/base/core.c:2589 uevent_show+0x102/0x1e0 drivers/base/core.c:2661 dev_attr_show+0x39/0x90 drivers/base/core.c:2364 sysfs_kf_seq_show+0x179/0x250 fs/sysfs/file.c:59 kernfs_seq_show+0x78/0x90 fs/kernfs/file.c:205 seq_read_iter+0x2bc/0x8f0 fs/seq_file.c:230 kernfs_fop_read_iter+0xc8/0x2e0 fs/kernfs/file.c:279 call_read_iter include/linux/fs.h:2081 [inline] new_sync_read fs/read_write.c:395 [inline] vfs_read+0x5ab/0x6a0 fs/read_write.c:476 ksys_read+0xeb/0x1a0 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_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x1d0 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b value changed: 0x0000000000000000 -> 0xffffffff85ec92a0 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 30706 Comm: udevd Not tainted 6.8.0-rc7-syzkaller-00017-g29cd507cbec2 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024 ==================================================================