EXT4-fs (loop6): unmounting filesystem 00000000-0000-0000-0000-000000000000. ================================================================== BUG: KCSAN: data-race in rwsem_down_write_slowpath / rwsem_down_write_slowpath write to 0xffffc9000185fc10 of 1 bytes by task 6274 on cpu 1: 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+0xad/0xc0 kernel/locking/rwsem.c:1632 kernfs_add_one+0x5a/0x350 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:5764 [inline] ext4_fill_super+0x36d5/0x37b0 fs/ext4/super.c:5855 get_tree_bdev_flags+0x291/0x300 fs/super.c:1887 get_tree_bdev+0x1f/0x30 fs/super.c:1910 ext4_get_tree+0x1c/0x30 fs/ext4/super.c:5887 vfs_get_tree+0x57/0x1d0 fs/super.c:1947 fc_mount fs/namespace.c:1198 [inline] do_new_mount_fc fs/namespace.c:3772 [inline] do_new_mount+0x288/0x8d0 fs/namespace.c:3848 path_mount+0x4ad/0xb90 fs/namespace.c:4168 do_mount fs/namespace.c:4181 [inline] __do_sys_mount fs/namespace.c:4397 [inline] __se_sys_mount+0x28c/0x2e0 fs/namespace.c:4374 __x64_sys_mount+0x67/0x80 fs/namespace.c:4374 x64_sys_call+0xc3b/0x2550 arch/x86/include/generated/asm/syscalls_64.h:166 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x112/0x360 arch/x86/entry/syscall_64.c:84 entry_SYSCALL_64_after_hwframe+0x77/0x7f read to 0xffffc9000185fc10 of 1 bytes by task 4128 on cpu 0: 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+0xad/0xc0 kernel/locking/rwsem.c:1632 kernfs_remove_by_name_ns+0x6b/0x110 fs/kernfs/dir.c:1792 kernfs_remove_by_name include/linux/kernfs.h:644 [inline] remove_files fs/sysfs/group.c:28 [inline] sysfs_remove_group+0xa5/0x170 fs/sysfs/group.c:328 loop_sysfs_exit drivers/block/loop.c:748 [inline] __loop_clr_fd drivers/block/loop.c:1169 [inline] lo_release+0x26b/0x3f0 drivers/block/loop.c:1775 bdev_release+0x375/0x3d0 block/bdev.c:-1 blkdev_release+0x15/0x20 block/fops.c:682 __fput+0x29e/0x630 fs/file_table.c:512 fput_close_sync+0xad/0x190 fs/file_table.c:617 __do_sys_close fs/open.c:1560 [inline] __se_sys_close fs/open.c:1545 [inline] __x64_sys_close+0x55/0xf0 fs/open.c:1545 x64_sys_call+0x812/0x2550 arch/x86/include/generated/asm/syscalls_64.h:4 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x112/0x360 arch/x86/entry/syscall_64.c:84 entry_SYSCALL_64_after_hwframe+0x77/0x7f value changed: 0x00 -> 0x01 Reported by Kernel Concurrency Sanitizer on: CPU: 0 UID: 0 PID: 4128 Comm: syz-executor Not tainted syzkaller #0 PREEMPT(lazy) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026 ================================================================== EXT4-fs (loop6): unmounting filesystem 00000000-0000-0000-0000-000000000000.