================================================================== BUG: KCSAN: data-race in data_push_tail / vsnprintf write to 0xffffffff88e7343b of 17 bytes by task 297 on cpu 1: vsnprintf+0x2ce/0x890 lib/vsprintf.c:2878 va_format lib/vsprintf.c:1728 [inline] pointer+0x833/0xcf0 lib/vsprintf.c:2548 vsnprintf+0x491/0x890 lib/vsprintf.c:2930 vscnprintf+0x41/0x90 lib/vsprintf.c:2991 printk_sprint+0x30/0x2d0 kernel/printk/printk.c:2189 vprintk_store+0x599/0x860 kernel/printk/printk.c:2309 vprintk_emit+0x10d/0x580 kernel/printk/printk.c:2399 vprintk_default+0x26/0x30 kernel/printk/printk.c:2438 vprintk+0x1d/0x30 kernel/printk/printk_safe.c:82 _printk+0x79/0xa0 kernel/printk/printk.c:2448 __ext4_msg+0x18f/0x1a0 fs/ext4/super.c:990 ext4_quota_write+0x109/0x360 fs/ext4/super.c:-1 write_blk fs/quota/quota_tree.c:70 [inline] remove_free_dqentry+0x5ae/0x670 fs/quota/quota_tree.c:203 free_dqentry fs/quota/quota_tree.c:507 [inline] remove_tree+0x8ae/0x1120 fs/quota/quota_tree.c:577 remove_tree+0x633/0x1120 fs/quota/quota_tree.c:581 remove_tree+0x633/0x1120 fs/quota/quota_tree.c:581 remove_tree+0x633/0x1120 fs/quota/quota_tree.c:581 qtree_delete_dquot fs/quota/quota_tree.c:617 [inline] qtree_release_dquot+0x16e/0x180 fs/quota/quota_tree.c:787 v2_release_dquot+0x98/0xd0 fs/quota/quota_v2.c:391 dquot_release+0x10e/0x210 fs/quota/dquot.c:540 ext4_release_dquot+0x1e4/0x460 fs/ext4/super.c:-1 quota_release_workfn+0x256/0x530 fs/quota/dquot.c:843 process_one_work kernel/workqueue.c:3263 [inline] process_scheduled_works+0x4ce/0x9d0 kernel/workqueue.c:3346 worker_thread+0x582/0x770 kernel/workqueue.c:3427 kthread+0x489/0x510 kernel/kthread.c:463 ret_from_fork+0x122/0x1b0 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 read to 0xffffffff88e73448 of 8 bytes by task 15776 on cpu 0: data_make_reusable kernel/printk/printk_ringbuffer.c:591 [inline] data_push_tail+0xfd/0x420 kernel/printk/printk_ringbuffer.c:676 data_alloc+0xfb/0x2e0 kernel/printk/printk_ringbuffer.c:1061 prb_reserve+0x807/0xaf0 kernel/printk/printk_ringbuffer.c:1685 vprintk_store+0x56d/0x860 kernel/printk/printk.c:2299 vprintk_emit+0x10d/0x580 kernel/printk/printk.c:2399 vprintk_default+0x26/0x30 kernel/printk/printk.c:2438 vprintk+0x1d/0x30 kernel/printk/printk_safe.c:82 _printk+0x79/0xa0 kernel/printk/printk.c:2448 __ext4_error_inode+0x2ca/0x3f0 fs/ext4/super.c:853 ext4_do_update_inode fs/ext4/inode.c:5632 [inline] ext4_mark_iloc_dirty+0x35e/0xda0 fs/ext4/inode.c:6282 ext4_orphan_del+0x6db/0x710 fs/ext4/orphan.c:299 ext4_truncate+0x89f/0xae0 fs/ext4/inode.c:4634 ext4_process_orphan+0x110/0x1c0 fs/ext4/orphan.c:335 ext4_orphan_cleanup+0x6a8/0xa00 fs/ext4/orphan.c:470 __ext4_fill_super fs/ext4/super.c:5617 [inline] ext4_fill_super+0x3483/0x3810 fs/ext4/super.c:5736 get_tree_bdev_flags+0x291/0x300 fs/super.c:1691 get_tree_bdev+0x1f/0x30 fs/super.c:1714 ext4_get_tree+0x1c/0x30 fs/ext4/super.c:5768 vfs_get_tree+0x57/0x1d0 fs/super.c:1751 fc_mount fs/namespace.c:1208 [inline] do_new_mount_fc fs/namespace.c:3651 [inline] do_new_mount+0x24d/0x660 fs/namespace.c:3727 path_mount+0x4a5/0xb70 fs/namespace.c:4037 do_mount fs/namespace.c:4050 [inline] __do_sys_mount fs/namespace.c:4238 [inline] __se_sys_mount+0x28c/0x2e0 fs/namespace.c:4215 __x64_sys_mount+0x67/0x80 fs/namespace.c:4215 x64_sys_call+0x2b51/0x3000 arch/x86/include/generated/asm/syscalls_64.h:166 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xd2/0x200 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f value changed: 0x00000001000000fa -> 0x303231353d66666f Reported by Kernel Concurrency Sanitizer on: CPU: 0 UID: 0 PID: 15776 Comm: syz.4.4172 Tainted: G W syzkaller #0 PREEMPT(voluntary) Tainted: [W]=WARN Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025 ================================================================== EXT4-fs error (device loop4) in ext4_orphan_del:301: Corrupt filesystem EXT4-fs error (device loop4): ext4_do_update_inode:5632: inode #13: comm syz.4.4172: corrupted inode contents EXT4-fs error (device loop4): ext4_truncate:4637: inode #13: comm syz.4.4172: mark_inode_dirty error EXT4-fs error (device loop4) in ext4_process_orphan:343: Corrupt filesystem EXT4-fs (loop4): 1 truncate cleaned up