RAX: ffffffffffffffda RBX: 000000000000060b RCX: 00007f17de2a0883 RDX: 0000000000000003 RSI: 0000000008400000 RDI: 0000000000000000 RBP: 0000000020002242 R08: 00000000ffffffff R09: 0000000000000000 R10: 0000000000000022 R11: 0000000000000246 R12: 0000000000000004 R13: 00007f17dc916e0c R14: 00007f17dc916e10 R15: 00007ffc363e52c8 ================================================================== BUG: KCSAN: data-race in console_flush_all / console_flush_all write to 0xffffffff86819f38 of 8 bytes by task 28126 on cpu 0: console_emit_next_record kernel/printk/printk.c:3083 [inline] console_flush_all+0x395/0x770 kernel/printk/printk.c:3210 __console_flush_and_unlock kernel/printk/printk.c:3269 [inline] console_unlock+0xab/0x330 kernel/printk/printk.c:3309 vprintk_emit+0x3f4/0x680 kernel/printk/printk.c:2432 vprintk_default+0x26/0x30 kernel/printk/printk.c:2447 vprintk+0x75/0x80 kernel/printk/printk_safe.c:86 _printk+0x7a/0xa0 kernel/printk/printk.c:2457 base_sock_release+0x38/0x200 drivers/isdn/mISDN/socket.c:622 __sock_release net/socket.c:640 [inline] sock_close+0x68/0x150 net/socket.c:1408 __fput+0x17a/0x6d0 fs/file_table.c:450 ____fput+0x1c/0x30 fs/file_table.c:478 task_work_run+0x13a/0x1a0 kernel/task_work.c:239 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] 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+0xa8/0x120 kernel/entry/common.c:218 do_syscall_64+0xd6/0x1c0 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f read to 0xffffffff86819f38 of 8 bytes by task 28162 on cpu 1: console_flush_all+0x57e/0x770 kernel/printk/printk.c:3211 __console_flush_and_unlock kernel/printk/printk.c:3269 [inline] console_unlock+0xab/0x330 kernel/printk/printk.c:3309 vprintk_emit+0x3f4/0x680 kernel/printk/printk.c:2432 vprintk_default+0x26/0x30 kernel/printk/printk.c:2447 vprintk+0x75/0x80 kernel/printk/printk_safe.c:86 _printk+0x7a/0xa0 kernel/printk/printk.c:2457 __show_regs+0xf1/0x450 arch/x86/kernel/process_64.c:91 show_trace_log_lvl+0x348/0x400 arch/x86/kernel/dumpstack.c:301 __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0xf2/0x150 lib/dump_stack.c:120 dump_stack+0x15/0x1a lib/dump_stack.c:129 fail_dump lib/fault-inject.c:53 [inline] should_fail_ex+0x223/0x230 lib/fault-inject.c:154 should_failslab+0x8f/0xb0 mm/failslab.c:46 slab_pre_alloc_hook mm/slub.c:4057 [inline] slab_alloc_node mm/slub.c:4133 [inline] kmem_cache_alloc_noprof+0x52/0x320 mm/slub.c:4160 mt_alloc_one lib/maple_tree.c:176 [inline] mas_alloc_nodes+0x1e3/0x490 lib/maple_tree.c:1253 mas_node_count_gfp lib/maple_tree.c:1335 [inline] mas_preallocate+0x44a/0x650 lib/maple_tree.c:5545 vma_iter_prealloc mm/vma.h:349 [inline] __mmap_new_vma mm/vma.c:2349 [inline] __mmap_region+0x809/0x13f0 mm/vma.c:2456 mmap_region+0x164/0x1e0 mm/mmap.c:1347 do_mmap+0x718/0xb60 mm/mmap.c:496 vm_mmap_pgoff+0x133/0x290 mm/util.c:580 ksys_mmap_pgoff+0xd0/0x330 mm/mmap.c:542 x64_sys_call+0x1940/0x2dc0 arch/x86/include/generated/asm/syscalls_64.h:10 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: 0x000000000000a285 -> 0x000000000000a286 Reported by Kernel Concurrency Sanitizer on: CPU: 1 UID: 0 PID: 28162 Comm: syz.5.19908 Tainted: G W 6.12.0-syzkaller-12113-gbcc8eda6d349 #0 Tainted: [W]=WARN Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 ==================================================================