================================================================== BUG: KCSAN: data-race in data_push_tail / string write to 0xffffffff88b9f060 of 1 bytes by task 29 on cpu 1: string_nocheck lib/vsprintf.c:650 [inline] string+0x16c/0x210 lib/vsprintf.c:728 vsnprintf+0xa09/0xe30 lib/vsprintf.c:2803 vscnprintf+0x42/0x90 lib/vsprintf.c:2909 printk_sprint+0x30/0x2d0 kernel/printk/printk.c:2197 vprintk_store+0x570/0x810 kernel/printk/printk.c:2311 vprintk_emit+0x15e/0x680 kernel/printk/printk.c:2383 vprintk_default+0x26/0x30 kernel/printk/printk.c:2422 vprintk+0x75/0x80 kernel/printk/printk_safe.c:68 _printk+0x7a/0xa0 kernel/printk/printk.c:2432 kauditd_printk_skb kernel/audit.c:546 [inline] kauditd_hold_skb+0x1a3/0x1b0 kernel/audit.c:581 kauditd_send_queue+0x288/0x2e0 kernel/audit.c:766 kauditd_thread+0x42a/0x650 kernel/audit.c:890 kthread+0x1d1/0x210 kernel/kthread.c:389 ret_from_fork+0x4b/0x60 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 read to 0xffffffff88b9f060 of 8 bytes by task 7884 on cpu 0: data_make_reusable kernel/printk/printk_ringbuffer.c:594 [inline] data_push_tail+0x102/0x430 kernel/printk/printk_ringbuffer.c:679 data_realloc kernel/printk/printk_ringbuffer.c:1143 [inline] prb_reserve_in_last+0x773/0xc10 kernel/printk/printk_ringbuffer.c:1440 vprintk_store+0x45b/0x810 kernel/printk/printk.c:2278 vprintk_emit+0x15e/0x680 kernel/printk/printk.c:2383 vprintk_default+0x26/0x30 kernel/printk/printk.c:2422 vprintk+0x75/0x80 kernel/printk/printk_safe.c:68 _printk+0x7a/0xa0 kernel/printk/printk.c:2432 __ext4_grp_locked_error+0x5b0/0x7b0 fs/ext4/super.c:1064 ext4_mb_generate_buddy+0x247/0x2d0 fs/ext4/mballoc.c:1217 ext4_mb_init_cache+0x848/0xbc0 fs/ext4/mballoc.c:1406 ext4_mb_init_group+0x210/0x3b0 fs/ext4/mballoc.c:1543 ext4_mb_good_group_nolock fs/ext4/mballoc.c:2704 [inline] ext4_mb_regular_allocator+0xb1f/0x2390 fs/ext4/mballoc.c:2903 ext4_mb_new_blocks+0x801/0x2020 fs/ext4/mballoc.c:6217 ext4_ext_map_blocks+0x1008/0x35c0 fs/ext4/extents.c:4379 ext4_map_create_blocks fs/ext4/inode.c:516 [inline] ext4_map_blocks+0x592/0xcf0 fs/ext4/inode.c:702 ext4_convert_inline_data_nolock+0x2b2/0x780 fs/ext4/inline.c:1211 ext4_convert_inline_data+0x2c2/0x370 fs/ext4/inline.c:2061 ext4_page_mkwrite+0x1b3/0xb70 fs/ext4/inode.c:6106 do_page_mkwrite mm/memory.c:3162 [inline] wp_page_shared mm/memory.c:3563 [inline] do_wp_page+0xca4/0x2340 mm/memory.c:3713 handle_pte_fault mm/memory.c:5767 [inline] __handle_mm_fault mm/memory.c:5894 [inline] handle_mm_fault+0xc47/0x2a80 mm/memory.c:6062 do_user_addr_fault arch/x86/mm/fault.c:1389 [inline] handle_page_fault arch/x86/mm/fault.c:1481 [inline] exc_page_fault+0x296/0x650 arch/x86/mm/fault.c:1539 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:623 rep_movs_alternative+0x33/0x70 arch/x86/lib/copy_user_64.S:57 copy_user_generic arch/x86/include/asm/uaccess_64.h:121 [inline] raw_copy_to_user arch/x86/include/asm/uaccess_64.h:142 [inline] _inline_copy_to_user include/linux/uaccess.h:188 [inline] _copy_to_user+0x77/0xa0 lib/usercopy.c:26 copy_to_user include/linux/uaccess.h:216 [inline] put_timespec64+0x64/0xb0 kernel/time/time.c:910 __do_sys_clock_gettime kernel/time/posix-timers.c:1159 [inline] __se_sys_clock_gettime kernel/time/posix-timers.c:1147 [inline] __x64_sys_clock_gettime+0x138/0x180 kernel/time/posix-timers.c:1147 x64_sys_call+0x27b5/0x2d60 arch/x86/include/generated/asm/syscalls_64.h:229 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xc9/0x1c0 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f value changed: 0x00000000ffffe5bb -> 0x3d64696720303d64 Reported by Kernel Concurrency Sanitizer on: CPU: 0 UID: 0 PID: 7884 Comm: syz.1.1318 Not tainted 6.12.0-rc1-syzkaller-00330-gfc20a3e57247 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 ================================================================== block bitmap and bg descriptor inconsistent: 25 vs 150994969 free clusters EXT4-fs (loop1): Remounting filesystem read-only EXT4-fs (loop1): error restoring inline_data for inode -- potential data loss! (inode 18, error -5) SELinux: inode_doinit_use_xattr: getxattr returned 5 for dev=loop1 ino=12