================================================================== BUG: KCSAN: data-race in rwsem_down_write_slowpath / rwsem_down_write_slowpath write to 0xffffc900032af858 of 1 bytes by task 31390 on cpu 0: rwsem_try_write_lock kernel/locking/rwsem.c:676 [inline] rwsem_down_write_slowpath+0x3eb/0xab0 kernel/locking/rwsem.c:1189 __down_write_common kernel/locking/rwsem.c:1347 [inline] __down_write kernel/locking/rwsem.c:1356 [inline] down_write+0xab/0xc0 kernel/locking/rwsem.c:1632 kernfs_add_one+0x5a/0x290 fs/kernfs/dir.c:825 __kernfs_create_file+0x145/0x180 fs/kernfs/file.c:1079 sysfs_add_file_mode_ns+0x132/0x1b0 fs/sysfs/file.c:316 create_files fs/sysfs/group.c:82 [inline] internal_create_group+0x43e/0x9e0 fs/sysfs/group.c:189 internal_create_groups fs/sysfs/group.c:229 [inline] sysfs_create_groups+0x3f/0xf0 fs/sysfs/group.c:255 setup_port drivers/infiniband/core/sysfs.c:1202 [inline] ib_setup_port_attrs+0xa2c/0x1480 drivers/infiniband/core/sysfs.c:1388 add_one_compat_dev+0x297/0x390 drivers/infiniband/core/device.c:979 add_compat_devs drivers/infiniband/core/device.c:1037 [inline] enable_device_and_get+0x1cd/0x260 drivers/infiniband/core/device.c:1347 ib_register_device+0xb36/0xcb0 drivers/infiniband/core/device.c:1468 rxe_register_device+0x175/0x190 drivers/infiniband/sw/rxe/rxe_verbs.c:1543 rxe_add+0x8e2/0x900 drivers/infiniband/sw/rxe/rxe.c:217 rxe_net_add+0x62/0xb0 drivers/infiniband/sw/rxe/rxe_net.c:625 rxe_newlink+0xdd/0x1a0 drivers/infiniband/sw/rxe/rxe.c:243 nldev_newlink+0x3a8/0x430 drivers/infiniband/core/nldev.c:1816 rdma_nl_rcv_msg drivers/infiniband/core/netlink.c:-1 [inline] rdma_nl_rcv_skb drivers/infiniband/core/netlink.c:239 [inline] rdma_nl_rcv+0x439/0x570 drivers/infiniband/core/netlink.c:259 netlink_unicast_kernel net/netlink/af_netlink.c:1319 [inline] netlink_unicast+0x5a7/0x680 net/netlink/af_netlink.c:1345 netlink_sendmsg+0x5be/0x6f0 net/netlink/af_netlink.c:1900 sock_sendmsg_nosec net/socket.c:775 [inline] __sock_sendmsg net/socket.c:790 [inline] ____sys_sendmsg+0x532/0x580 net/socket.c:2684 ___sys_sendmsg+0x195/0x1e0 net/socket.c:2738 __sys_sendmsg net/socket.c:2770 [inline] __do_sys_sendmsg net/socket.c:2775 [inline] __se_sys_sendmsg net/socket.c:2773 [inline] __x64_sys_sendmsg+0xd4/0x160 net/socket.c:2773 x64_sys_call+0x194c/0x3020 arch/x86/include/generated/asm/syscalls_64.h:47 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x136/0x3c0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f read to 0xffffc900032af858 of 1 bytes by task 31372 on cpu 1: rwsem_down_write_slowpath+0x462/0xab0 kernel/locking/rwsem.c:1207 __down_write_common kernel/locking/rwsem.c:1347 [inline] __down_write kernel/locking/rwsem.c:1356 [inline] down_write+0xab/0xc0 kernel/locking/rwsem.c:1632 kernfs_add_one+0x5a/0x290 fs/kernfs/dir.c:825 __kernfs_create_file+0x145/0x180 fs/kernfs/file.c:1079 sysfs_add_file_mode_ns+0x132/0x1b0 fs/sysfs/file.c:316 create_files fs/sysfs/group.c:82 [inline] internal_create_group+0x43e/0x9e0 fs/sysfs/group.c:189 internal_create_groups fs/sysfs/group.c:229 [inline] sysfs_create_groups+0x3f/0xf0 fs/sysfs/group.c:255 create_dir lib/kobject.c:78 [inline] kobject_add_internal+0x49d/0x770 lib/kobject.c:240 kobject_add_varg lib/kobject.c:374 [inline] kobject_init_and_add+0x13c/0x1e0 lib/kobject.c:457 ext4_register_sysfs+0xa5/0x270 fs/ext4/sysfs.c:617 __ext4_fill_super fs/ext4/super.c:5743 [inline] ext4_fill_super+0x3696/0x3760 fs/ext4/super.c:5828 get_tree_bdev_flags+0x291/0x300 fs/super.c:1640 get_tree_bdev+0x1f/0x30 fs/super.c:1663 ext4_get_tree+0x1c/0x30 fs/ext4/super.c:5860 vfs_get_tree+0x57/0x1d0 fs/super.c:1700 fc_mount fs/namespace.c:1198 [inline] do_new_mount_fc fs/namespace.c:3765 [inline] do_new_mount+0x288/0x8d0 fs/namespace.c:3841 path_mount+0x4ad/0xb90 fs/namespace.c:4161 do_mount fs/namespace.c:4174 [inline] __do_sys_mount fs/namespace.c:4390 [inline] __se_sys_mount+0x28c/0x2e0 fs/namespace.c:4367 __x64_sys_mount+0x67/0x80 fs/namespace.c:4367 x64_sys_call+0x2d61/0x3020 arch/x86/include/generated/asm/syscalls_64.h:166 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x136/0x3c0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f value changed: 0x00 -> 0x01 Reported by Kernel Concurrency Sanitizer on: CPU: 1 UID: 0 PID: 31372 Comm: syz.8.7566 Tainted: G W syzkaller #0 PREEMPT(lazy) Tainted: [W]=WARN Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/16/2026 ================================================================== EXT4-fs (loop8): mounted filesystem 00000000-0000-0000-0000-000000000000 r/w without journal. Quota mode: writeback.