EXT4-fs error (device loop1): ext4_quota_off:7219: inode #3: comm syz-executor: mark_inode_dirty error ================================================================== BUG: KCSAN: data-race in console_flush_all / console_flush_all write to 0xffffffff86a1d388 of 8 bytes by task 12530 on cpu 0: console_emit_next_record kernel/printk/printk.c:3099 [inline] console_flush_all+0x35a/0x730 kernel/printk/printk.c:3226 __console_flush_and_unlock kernel/printk/printk.c:3285 [inline] console_unlock+0xa1/0x330 kernel/printk/printk.c:3325 vprintk_emit+0x388/0x650 kernel/printk/printk.c:2450 vprintk_default+0x26/0x30 kernel/printk/printk.c:2465 vprintk+0x1d/0x30 kernel/printk/printk_safe.c:82 _printk+0x79/0xa0 kernel/printk/printk.c:2475 chnl_flowctrl_cb+0x1fb/0x4e0 net/caif/chnl_net.c:151 caif_disconnect_client+0xe3/0x150 net/caif/cfcnfg.c:199 chnl_net_open+0x4c6/0x560 net/caif/chnl_net.c:326 __dev_open+0x2d2/0x530 net/core/dev.c:1629 __dev_change_flags+0x163/0x400 net/core/dev.c:9366 netif_change_flags+0x5a/0xd0 net/core/dev.c:9429 do_setlink+0x90e/0x27f0 net/core/rtnetlink.c:3152 rtnl_group_changelink net/core/rtnetlink.c:3783 [inline] __rtnl_newlink net/core/rtnetlink.c:3937 [inline] rtnl_newlink+0xd8b/0x12d0 net/core/rtnetlink.c:4065 rtnetlink_rcv_msg+0x5fb/0x6d0 net/core/rtnetlink.c:6955 netlink_rcv_skb+0x120/0x220 net/netlink/af_netlink.c:2534 rtnetlink_rcv+0x1c/0x30 net/core/rtnetlink.c:6982 netlink_unicast_kernel net/netlink/af_netlink.c:1313 [inline] netlink_unicast+0x59e/0x670 net/netlink/af_netlink.c:1339 netlink_sendmsg+0x58b/0x6b0 net/netlink/af_netlink.c:1883 sock_sendmsg_nosec net/socket.c:712 [inline] __sock_sendmsg+0x142/0x180 net/socket.c:727 ____sys_sendmsg+0x31e/0x4e0 net/socket.c:2566 ___sys_sendmsg+0x17b/0x1d0 net/socket.c:2620 __sys_sendmsg net/socket.c:2652 [inline] __do_sys_sendmsg net/socket.c:2657 [inline] __se_sys_sendmsg net/socket.c:2655 [inline] __x64_sys_sendmsg+0xd4/0x160 net/socket.c:2655 x64_sys_call+0x2999/0x2fb0 arch/x86/include/generated/asm/syscalls_64.h:47 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xd0/0x1a0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f read to 0xffffffff86a1d388 of 8 bytes by task 3306 on cpu 1: console_flush_all+0x563/0x730 kernel/printk/printk.c:3227 __console_flush_and_unlock kernel/printk/printk.c:3285 [inline] console_unlock+0xa1/0x330 kernel/printk/printk.c:3325 vprintk_emit+0x388/0x650 kernel/printk/printk.c:2450 vprintk_default+0x26/0x30 kernel/printk/printk.c:2465 vprintk+0x1d/0x30 kernel/printk/printk_safe.c:82 _printk+0x79/0xa0 kernel/printk/printk.c:2475 __ext4_error_inode+0x2ca/0x3f0 fs/ext4/super.c:848 __ext4_mark_inode_dirty+0xbd/0x3f0 fs/ext4/inode.c:6077 ext4_quota_off+0x248/0x290 fs/ext4/super.c:7219 ext4_quotas_off fs/ext4/super.c:1179 [inline] ext4_put_super+0xc5/0x7d0 fs/ext4/super.c:1294 generic_shutdown_super+0xe3/0x210 fs/super.c:642 kill_block_super+0x2a/0x70 fs/super.c:1710 ext4_kill_sb+0x42/0x80 fs/ext4/super.c:7393 deactivate_locked_super+0x72/0x1c0 fs/super.c:473 deactivate_super+0x97/0xa0 fs/super.c:506 cleanup_mnt+0x269/0x2e0 fs/namespace.c:1435 __cleanup_mnt+0x19/0x20 fs/namespace.c:1442 task_work_run+0x12e/0x1a0 kernel/task_work.c:227 resume_user_mode_work+0x6a/0x70 include/linux/resume_user_mode.h:50 exit_to_user_mode_loop kernel/entry/common.c:114 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:329 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0x77/0xb0 kernel/entry/common.c:218 do_syscall_64+0xdd/0x1a0 arch/x86/entry/syscall_64.c:100 entry_SYSCALL_64_after_hwframe+0x77/0x7f value changed: 0x0000000000001c81 -> 0x0000000000001c82 Reported by Kernel Concurrency Sanitizer on: CPU: 1 UID: 0 PID: 3306 Comm: syz-executor Not tainted 6.15.0-rc4-syzkaller-00052-g4f79eaa2ceac #0 PREEMPT(voluntary) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/19/2025 ==================================================================