EXT4-fs error (device loop4): ext4_dirty_inode:5942: inode #3: comm syz-executor.4: mark_inode_dirty error EXT4-fs error (device loop4): ext4_do_update_inode:5082: inode #3: comm syz-executor.4: corrupted inode contents EXT4-fs error (device loop4): __ext4_ext_dirty:202: inode #3: comm syz-executor.4: mark_inode_dirty error Quota error (device loop4): write_blk: dquota write failed ================================================================== BUG: KCSAN: data-race in data_push_tail / number write to 0xffffffff870ed4ca of 1 bytes by task 12216 on cpu 1: number+0x7d0/0xa90 lib/vsprintf.c:564 vsnprintf+0xa44/0xe30 lib/vsprintf.c:2890 vscnprintf+0x42/0x80 lib/vsprintf.c:2930 printk_sprint+0x30/0x2d0 kernel/printk/printk.c:2124 vprintk_store+0x56f/0x800 kernel/printk/printk.c:2238 vprintk_emit+0xd0/0x5d0 kernel/printk/printk.c:2284 vprintk_default+0x26/0x30 kernel/printk/printk.c:2318 vprintk+0x71/0x80 kernel/printk/printk_safe.c:45 _printk+0x7a/0xa0 kernel/printk/printk.c:2328 selinux_netlink_send+0x3fe/0x470 security/selinux/hooks.c:5964 security_netlink_send+0x3e/0x70 security/security.c:4113 netlink_sendmsg+0x563/0x770 net/netlink/af_netlink.c:1898 sock_sendmsg_nosec net/socket.c:730 [inline] __sock_sendmsg net/socket.c:745 [inline] __sys_sendto+0x22b/0x2f0 net/socket.c:2191 __do_sys_sendto net/socket.c:2203 [inline] __se_sys_sendto net/socket.c:2199 [inline] __x64_sys_sendto+0x78/0x90 net/socket.c:2199 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x1d0 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b read to 0xffffffff870ed4c8 of 8 bytes by task 12206 on cpu 0: 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+0x897/0xbc0 kernel/printk/printk_ringbuffer.c:1555 vprintk_store+0x53e/0x800 kernel/printk/printk.c:2228 vprintk_emit+0xd0/0x5d0 kernel/printk/printk.c:2284 vprintk_default+0x26/0x30 kernel/printk/printk.c:2318 vprintk+0x71/0x80 kernel/printk/printk_safe.c:45 _printk+0x7a/0xa0 kernel/printk/printk.c:2328 __quota_error+0xf3/0x100 fs/quota/dquot.c:149 write_blk fs/quota/quota_tree.c:67 [inline] get_free_dqblk+0x210/0x2d0 fs/quota/quota_tree.c:130 do_insert_tree+0x14c/0xde0 fs/quota/quota_tree.c:340 do_insert_tree+0x4ab/0xde0 fs/quota/quota_tree.c:375 do_insert_tree+0x4ab/0xde0 fs/quota/quota_tree.c:375 do_insert_tree+0x4ab/0xde0 fs/quota/quota_tree.c:375 dq_insert_tree fs/quota/quota_tree.c:401 [inline] qtree_write_dquot+0x241/0x2b0 fs/quota/quota_tree.c:420 v2_write_dquot+0x9e/0xd0 fs/quota/quota_v2.c:358 dquot_acquire+0x1c8/0x2d0 fs/quota/dquot.c:470 ext4_acquire_dquot+0x161/0x1a0 fs/ext4/super.c:6882 dqget+0x51c/0x880 fs/quota/dquot.c:978 __dquot_initialize+0x18a/0x750 fs/quota/dquot.c:1504 dquot_initialize+0x1a/0x20 fs/quota/dquot.c:1562 ext4_process_orphan+0x32/0x1c0 fs/ext4/orphan.c:329 ext4_orphan_cleanup+0x669/0x9b0 fs/ext4/orphan.c:474 __ext4_fill_super fs/ext4/super.c:5582 [inline] ext4_fill_super+0x3668/0x39b0 fs/ext4/super.c:5703 get_tree_bdev+0x250/0x2e0 fs/super.c:1619 ext4_get_tree+0x1c/0x20 fs/ext4/super.c:5735 vfs_get_tree+0x53/0x1d0 fs/super.c:1784 do_new_mount+0x227/0x690 fs/namespace.c:3352 path_mount+0x496/0xb30 fs/namespace.c:3679 do_mount fs/namespace.c:3692 [inline] __do_sys_mount fs/namespace.c:3898 [inline] __se_sys_mount+0x27f/0x2d0 fs/namespace.c:3875 __x64_sys_mount+0x67/0x80 fs/namespace.c:3875 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x1d0 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b value changed: 0x00000000ffffe626 -> 0x5f67736d6c6e2034 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 12206 Comm: syz-executor.4 Not tainted 6.8.0-rc4-syzkaller-00410-gc02197fc9076 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024 ================================================================== Quota error (device loop4): qtree_write_dquot: Error -117 occurred while creating quota EXT4-fs (loop4): 1 orphan inode deleted EXT4-fs (loop4): mounted filesystem 00000000-0000-0000-0000-000000000000 r/w without journal. Quota mode: writeback. ext4 filesystem being mounted at /root/syzkaller-testdir3821393409/syzkaller.S1XRtS/1091/file1 supports timestamps until 2038-01-19 (0x7fffffff) syz-executor.4 (12206) used greatest stack depth: 9080 bytes left