EXT4-fs (loop0): orphan cleanup on readonly fs ================================================================== BUG: KCSAN: data-race in data_alloc / data_push_tail write to 0xffffffff86f28f78 of 8 bytes by task 29845 on cpu 0: data_alloc+0x216/0x2c0 kernel/printk/printk_ringbuffer.c:1074 prb_reserve+0x893/0xbc0 kernel/printk/printk_ringbuffer.c:1555 vprintk_store+0x53e/0x800 kernel/printk/printk.c:2241 vprintk_emit+0xd0/0x430 kernel/printk/printk.c:2297 vprintk_default+0x26/0x30 kernel/printk/printk.c:2327 vprintk+0x83/0x90 kernel/printk/printk_safe.c:50 _printk+0x7a/0xa0 kernel/printk/printk.c:2337 __ext4_error_inode+0x2d5/0x400 fs/ext4/super.c:800 __ext4_iget+0x16b4/0x1cc0 __ext4_fill_super fs/ext4/super.c:5375 [inline] ext4_fill_super+0x36df/0x43f0 fs/ext4/super.c:5637 get_tree_bdev+0x2b1/0x3a0 fs/super.c:1303 ext4_get_tree+0x1c/0x20 fs/ext4/super.c:5668 vfs_get_tree+0x51/0x190 fs/super.c:1510 do_new_mount+0x200/0x650 fs/namespace.c:3042 path_mount+0x498/0xb40 fs/namespace.c:3372 do_mount fs/namespace.c:3385 [inline] __do_sys_mount fs/namespace.c:3594 [inline] __se_sys_mount+0x27f/0x2d0 fs/namespace.c:3571 __x64_sys_mount+0x67/0x80 fs/namespace.c:3571 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd read to 0xffffffff86f28f78 of 8 bytes by task 29848 on cpu 1: data_make_reusable kernel/printk/printk_ringbuffer.c:590 [inline] data_push_tail+0x102/0x430 kernel/printk/printk_ringbuffer.c:675 data_alloc+0xbe/0x2c0 kernel/printk/printk_ringbuffer.c:1046 prb_reserve+0x893/0xbc0 kernel/printk/printk_ringbuffer.c:1555 vprintk_store+0x53e/0x800 kernel/printk/printk.c:2241 vprintk_emit+0xd0/0x430 kernel/printk/printk.c:2297 vprintk_default+0x26/0x30 kernel/printk/printk.c:2327 vprintk+0x83/0x90 kernel/printk/printk_safe.c:50 _printk+0x7a/0xa0 kernel/printk/printk.c:2337 __ext4_msg+0x18a/0x1a0 fs/ext4/super.c:937 ext4_orphan_cleanup+0x2e7/0x9c0 fs/ext4/orphan.c:423 __ext4_fill_super fs/ext4/super.c:5509 [inline] ext4_fill_super+0x412f/0x43f0 fs/ext4/super.c:5637 get_tree_bdev+0x2b1/0x3a0 fs/super.c:1303 ext4_get_tree+0x1c/0x20 fs/ext4/super.c:5668 vfs_get_tree+0x51/0x190 fs/super.c:1510 do_new_mount+0x200/0x650 fs/namespace.c:3042 path_mount+0x498/0xb40 fs/namespace.c:3372 do_mount fs/namespace.c:3385 [inline] __do_sys_mount fs/namespace.c:3594 [inline] __se_sys_mount+0x27f/0x2d0 fs/namespace.c:3571 __x64_sys_mount+0x67/0x80 fs/namespace.c:3571 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd value changed: 0x0000000100013875 -> 0x000000010001445a Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 29848 Comm: syz-executor.0 Not tainted 6.3.0-rc5-syzkaller-00153-gaa318c48808c #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/30/2023 ================================================================== EXT4-fs error (device loop0): ext4_orphan_get:1392: comm syz-executor.0: inode #15: comm syz-executor.0: iget: illegal inode # EXT4-fs error (device loop0): ext4_orphan_get:1397: comm syz-executor.0: couldn't read orphan inode 15 (err -117)