loop0: detected capacity change from 0 to 4096 ================================================================== BUG: KCSAN: data-race in rwsem_down_write_slowpath / rwsem_down_write_slowpath write to 0xffffc90001c97908 of 1 bytes by task 12215 on cpu 0: rwsem_try_write_lock kernel/locking/rwsem.c:676 [inline] rwsem_down_write_slowpath+0x3dd/0xac0 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:1626 kernfs_add_one+0x5a/0x280 fs/kernfs/dir.c:826 __kernfs_create_file+0x145/0x180 fs/kernfs/file.c:1086 sysfs_add_file_mode_ns+0x132/0x1b0 fs/sysfs/file.c:313 create_files fs/sysfs/group.c:82 [inline] internal_create_group+0x441/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 device_add_groups drivers/base/core.c:2837 [inline] device_add_attrs+0xa0/0x3f0 drivers/base/core.c:2907 device_add+0x37a/0x790 drivers/base/core.c:3645 add_partition+0x301/0x4c0 block/partitions/core.c:367 blk_add_partition block/partitions/core.c:566 [inline] blk_add_partitions block/partitions/core.c:635 [inline] bdev_disk_changed+0x7ad/0xe00 block/partitions/core.c:695 loop_reread_partitions drivers/block/loop.c:447 [inline] loop_set_status+0x5db/0x6a0 drivers/block/loop.c:1276 loop_set_status64 drivers/block/loop.c:1372 [inline] lo_ioctl+0x671/0x13a0 drivers/block/loop.c:1558 blkdev_ioctl+0x387/0x460 block/ioctl.c:797 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:597 [inline] __se_sys_ioctl+0xce/0x140 fs/ioctl.c:583 __x64_sys_ioctl+0x43/0x50 fs/ioctl.c:583 x64_sys_call+0x1563/0x3020 arch/x86/include/generated/asm/syscalls_64.h:17 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x12c/0x3b0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f read to 0xffffc90001c97908 of 1 bytes by task 12213 on cpu 1: rwsem_down_write_slowpath+0x44f/0xac0 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:1626 kernfs_add_one+0x5a/0x280 fs/kernfs/dir.c:826 kernfs_create_dir_ns+0x90/0xe0 fs/kernfs/dir.c:1131 sysfs_create_dir_ns+0xd4/0x1d0 fs/sysfs/dir.c:59 create_dir lib/kobject.c:73 [inline] kobject_add_internal+0x47a/0x780 lib/kobject.c:240 kobject_add_varg lib/kobject.c:374 [inline] kobject_init_and_add+0x14a/0x1f0 lib/kobject.c:457 ext4_register_sysfs+0xa5/0x270 fs/ext4/sysfs.c:617 __ext4_fill_super fs/ext4/super.c:5739 [inline] ext4_fill_super+0x36f0/0x37c0 fs/ext4/super.c:5824 get_tree_bdev_flags+0x291/0x300 fs/super.c:1694 get_tree_bdev+0x1f/0x30 fs/super.c:1717 ext4_get_tree+0x1c/0x30 fs/ext4/super.c:5856 vfs_get_tree+0x57/0x1d0 fs/super.c:1754 fc_mount fs/namespace.c:1193 [inline] do_new_mount_fc fs/namespace.c:3758 [inline] do_new_mount+0x288/0x8d0 fs/namespace.c:3834 path_mount+0x4d0/0xbc0 fs/namespace.c:4154 do_mount fs/namespace.c:4167 [inline] __do_sys_mount fs/namespace.c:4383 [inline] __se_sys_mount+0x28c/0x2e0 fs/namespace.c:4360 __x64_sys_mount+0x67/0x80 fs/namespace.c:4360 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+0x12c/0x3b0 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: 12213 Comm: syz.0.2504 Tainted: G W syzkaller #0 PREEMPT(full) Tainted: [W]=WARN Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/18/2026 ================================================================== EXT4-fs (loop0): mounted filesystem 00000000-0000-0000-0000-000000000000 r/w without journal. Quota mode: writeback.