ref_ctr increment failed for inode: 0x49e offset: 0x0 ref_ctr_offset: 0xfffffff6 of mm: 0xffff888104314800 ================================================================== BUG: KCSAN: data-race in data_push_tail / number write to 0xffffffff870c227e of 1 bytes by task 30028 on cpu 1: number+0x8a7/0xbe0 lib/vsprintf.c:561 vsnprintf+0xa5e/0xe80 lib/vsprintf.c:2866 vscnprintf+0x3e/0x80 lib/vsprintf.c:2906 printk_sprint kernel/printk/printk.c:2089 [inline] vprintk_store+0x5f2/0xb50 kernel/printk/printk.c:2203 vprintk_emit+0xcc/0x430 kernel/printk/printk.c:2249 vprintk_default+0x22/0x30 kernel/printk/printk.c:2279 vprintk+0x7f/0x90 kernel/printk/printk_safe.c:50 _printk+0x76/0x96 kernel/printk/printk.c:2289 update_ref_ctr_warn kernel/events/uprobes.c:407 [inline] update_ref_ctr+0x674/0x680 kernel/events/uprobes.c:427 uprobe_write_opcode+0x31a/0xc60 kernel/events/uprobes.c:495 set_swbp+0x26/0x30 kernel/events/uprobes.c:574 install_breakpoint+0x224/0x350 kernel/events/uprobes.c:911 uprobe_mmap+0x7fc/0xca0 kernel/events/uprobes.c:1392 __vma_adjust+0xb43/0xf40 mm/mmap.c:824 __split_vma+0x219/0x320 do_mas_align_munmap+0x1ac/0x9b0 mm/mmap.c:2341 do_mas_munmap+0x1df/0x210 mm/mmap.c:2502 mmap_region+0x571/0x13b0 mm/mmap.c:2550 do_mmap+0x66d/0xa40 mm/mmap.c:1412 vm_mmap_pgoff+0x117/0x1f0 mm/util.c:520 ksys_mmap_pgoff+0x265/0x320 mm/mmap.c:1458 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd read to 0xffffffff870c2278 of 8 bytes by task 30030 on cpu 0: data_make_reusable kernel/printk/printk_ringbuffer.c:590 [inline] data_push_tail+0x10f/0x440 kernel/printk/printk_ringbuffer.c:675 data_alloc+0xbc/0x2b0 kernel/printk/printk_ringbuffer.c:1046 prb_reserve+0x897/0xbd0 kernel/printk/printk_ringbuffer.c:1555 vprintk_store+0x51c/0xb50 kernel/printk/printk.c:2193 vprintk_emit+0xcc/0x430 kernel/printk/printk.c:2249 vprintk_default+0x22/0x30 kernel/printk/printk.c:2279 vprintk+0x7f/0x90 kernel/printk/printk_safe.c:50 _printk+0x76/0x96 kernel/printk/printk.c:2289 update_ref_ctr_warn kernel/events/uprobes.c:407 [inline] update_ref_ctr+0x674/0x680 kernel/events/uprobes.c:427 uprobe_write_opcode+0x31a/0xc60 kernel/events/uprobes.c:495 set_swbp+0x26/0x30 kernel/events/uprobes.c:574 install_breakpoint+0x224/0x350 kernel/events/uprobes.c:911 uprobe_mmap+0x7fc/0xca0 kernel/events/uprobes.c:1392 __vma_adjust+0xb43/0xf40 mm/mmap.c:824 __split_vma+0x219/0x320 do_mas_align_munmap+0x1ac/0x9b0 mm/mmap.c:2341 do_mas_munmap+0x1df/0x210 mm/mmap.c:2502 mmap_region+0x571/0x13b0 mm/mmap.c:2550 do_mmap+0x66d/0xa40 mm/mmap.c:1412 vm_mmap_pgoff+0x117/0x1f0 mm/util.c:520 ksys_mmap_pgoff+0x265/0x320 mm/mmap.c:1458 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd value changed: 0x00000000ffffebb8 -> 0x657220307830203a Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 30030 Comm: syz-executor.5 Not tainted 6.1.0-rc5-syzkaller-00241-gab290eaddc4c-dirty #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 ==================================================================