Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Call Trace: ================================================================== BUG: KCSAN: data-race in console_flush_all / console_flush_all write to 0xffffffff868169f8 of 8 bytes by task 25983 on cpu 1: console_emit_next_record kernel/printk/printk.c:3053 [inline] console_flush_all+0x395/0x770 kernel/printk/printk.c:3180 __console_flush_and_unlock kernel/printk/printk.c:3239 [inline] console_unlock+0xab/0x330 kernel/printk/printk.c:3279 vprintk_emit+0x3f4/0x680 kernel/printk/printk.c:2407 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 caif_disconnect_client+0x13f/0x150 net/caif/cfcnfg.c:194 caif_release+0xea/0x230 net/caif/caif_socket.c:918 __sock_release net/socket.c:658 [inline] sock_close+0x68/0x150 net/socket.c:1426 __fput+0x17a/0x6d0 fs/file_table.c:431 ____fput+0x1c/0x30 fs/file_table.c:459 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:328 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0xbe/0x130 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 0xffffffff868169f8 of 8 bytes by task 26017 on cpu 0: console_flush_all+0x57e/0x770 kernel/printk/printk.c:3181 __console_flush_and_unlock kernel/printk/printk.c:3239 [inline] console_unlock+0xab/0x330 kernel/printk/printk.c:3279 vprintk_emit+0x3f4/0x680 kernel/printk/printk.c:2407 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 show_trace_log_lvl+0x3c3/0x400 arch/x86/kernel/dumpstack.c:237 __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0xf2/0x150 lib/dump_stack.c:120 dump_stack+0x15/0x20 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:4038 [inline] slab_alloc_node mm/slub.c:4114 [inline] kmem_cache_alloc_noprof+0x4c/0x290 mm/slub.c:4141 skb_clone+0x154/0x1f0 net/core/skbuff.c:2084 neigh_probe net/core/neighbour.c:1074 [inline] __neigh_event_send+0x812/0xa80 net/core/neighbour.c:1244 neigh_event_send_probe include/net/neighbour.h:466 [inline] neigh_event_send include/net/neighbour.h:472 [inline] neigh_resolve_output+0x10e/0x450 net/core/neighbour.c:1549 neigh_output include/net/neighbour.h:542 [inline] ip6_finish_output2+0xa6d/0xd20 net/ipv6/ip6_output.c:141 ip6_finish_output+0x438/0x540 net/ipv6/ip6_output.c:226 NF_HOOK_COND include/linux/netfilter.h:303 [inline] ip6_output+0xf5/0x230 net/ipv6/ip6_output.c:247 dst_output include/net/dst.h:450 [inline] ip6_local_out+0x76/0xd0 net/ipv6/output_core.c:155 ip6_send_skb net/ipv6/ip6_output.c:1968 [inline] ip6_push_pending_frames+0xd2/0x1a0 net/ipv6/ip6_output.c:1989 icmpv6_push_pending_frames+0x202/0x230 net/ipv6/icmp.c:311 icmp6_send+0xe20/0x1000 net/ipv6/icmp.c:630 __icmpv6_send include/linux/icmpv6.h:28 [inline] icmpv6_send include/linux/icmpv6.h:49 [inline] ip6_protocol_deliver_rcu+0xf8c/0x1060 net/ipv6/ip6_input.c:458 ip6_input_finish net/ipv6/ip6_input.c:481 [inline] NF_HOOK include/linux/netfilter.h:314 [inline] ip6_input+0xbf/0x1c0 net/ipv6/ip6_input.c:490 dst_input include/net/dst.h:460 [inline] ip6_rcv_finish+0x1fa/0x330 net/ipv6/ip6_input.c:79 NF_HOOK include/linux/netfilter.h:314 [inline] ipv6_rcv+0x74/0x150 net/ipv6/ip6_input.c:309 __netif_receive_skb_one_core net/core/dev.c:5670 [inline] __netif_receive_skb+0xa2/0x280 net/core/dev.c:5783 netif_receive_skb_internal net/core/dev.c:5869 [inline] netif_receive_skb+0x4a/0x320 net/core/dev.c:5928 tun_rx_batched+0xf0/0x410 drivers/net/tun.c:1550 tun_get_user+0x1eaf/0x24e0 drivers/net/tun.c:2007 tun_chr_write_iter+0x188/0x240 drivers/net/tun.c:2053 new_sync_write fs/read_write.c:590 [inline] vfs_write+0x77f/0x920 fs/read_write.c:683 ksys_write+0xeb/0x1b0 fs/read_write.c:736 __do_sys_write fs/read_write.c:748 [inline] __se_sys_write fs/read_write.c:745 [inline] __x64_sys_write+0x42/0x50 fs/read_write.c:745 x64_sys_call+0x27dd/0x2d60 arch/x86/include/generated/asm/syscalls_64.h:2 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: 0x0000000000003f83 -> 0x0000000000003f84 Reported by Kernel Concurrency Sanitizer on: CPU: 0 UID: 0 PID: 26017 Comm: syz.6.7251 Not tainted 6.12.0-rc6-syzkaller-00077-g2e1b3cc9d7f7 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 ================================================================== __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0xf2/0x150 lib/dump_stack.c:120 dump_stack+0x15/0x20 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:4038 [inline] slab_alloc_node mm/slub.c:4114 [inline] kmem_cache_alloc_noprof+0x4c/0x290 mm/slub.c:4141 skb_clone+0x154/0x1f0 net/core/skbuff.c:2084 neigh_probe net/core/neighbour.c:1074 [inline] __neigh_event_send+0x812/0xa80 net/core/neighbour.c:1244 neigh_event_send_probe include/net/neighbour.h:466 [inline] neigh_event_send include/net/neighbour.h:472 [inline] neigh_resolve_output+0x10e/0x450 net/core/neighbour.c:1549 neigh_output include/net/neighbour.h:542 [inline] ip6_finish_output2+0xa6d/0xd20 net/ipv6/ip6_output.c:141 ip6_finish_output+0x438/0x540 net/ipv6/ip6_output.c:226 NF_HOOK_COND include/linux/netfilter.h:303 [inline] ip6_output+0xf5/0x230 net/ipv6/ip6_output.c:247 dst_output include/net/dst.h:450 [inline] ip6_local_out+0x76/0xd0 net/ipv6/output_core.c:155 ip6_send_skb net/ipv6/ip6_output.c:1968 [inline] ip6_push_pending_frames+0xd2/0x1a0 net/ipv6/ip6_output.c:1989 icmpv6_push_pending_frames+0x202/0x230 net/ipv6/icmp.c:311 icmp6_send+0xe20/0x1000 net/ipv6/icmp.c:630 __icmpv6_send include/linux/icmpv6.h:28 [inline] icmpv6_send include/linux/icmpv6.h:49 [inline] ip6_protocol_deliver_rcu+0xf8c/0x1060 net/ipv6/ip6_input.c:458 ip6_input_finish net/ipv6/ip6_input.c:481 [inline] NF_HOOK include/linux/netfilter.h:314 [inline] ip6_input+0xbf/0x1c0 net/ipv6/ip6_input.c:490 dst_input include/net/dst.h:460 [inline] ip6_rcv_finish+0x1fa/0x330 net/ipv6/ip6_input.c:79 NF_HOOK include/linux/netfilter.h:314 [inline] ipv6_rcv+0x74/0x150 net/ipv6/ip6_input.c:309 __netif_receive_skb_one_core net/core/dev.c:5670 [inline] __netif_receive_skb+0xa2/0x280 net/core/dev.c:5783 netif_receive_skb_internal net/core/dev.c:5869 [inline] netif_receive_skb+0x4a/0x320 net/core/dev.c:5928 tun_rx_batched+0xf0/0x410 drivers/net/tun.c:1550 tun_get_user+0x1eaf/0x24e0 drivers/net/tun.c:2007 tun_chr_write_iter+0x188/0x240 drivers/net/tun.c:2053 new_sync_write fs/read_write.c:590 [inline] vfs_write+0x77f/0x920 fs/read_write.c:683 ksys_write+0xeb/0x1b0 fs/read_write.c:736 __do_sys_write fs/read_write.c:748 [inline] __se_sys_write fs/read_write.c:745 [inline] __x64_sys_write+0x42/0x50 fs/read_write.c:745 x64_sys_call+0x27dd/0x2d60 arch/x86/include/generated/asm/syscalls_64.h:2 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 RIP: 0033:0x7f2292fdd1ff Code: 89 54 24 18 48 89 74 24 10 89 7c 24 08 e8 c9 8d 02 00 48 8b 54 24 18 48 8b 74 24 10 41 89 c0 8b 7c 24 08 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 44 24 08 e8 1c 8e 02 00 48 RSP: 002b:00007f2291c57000 EFLAGS: 00000293 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f2293195f80 RCX: 00007f2292fdd1ff RDX: 000000000000004e RSI: 0000000020000180 RDI: 00000000000000c8 RBP: 00007f2291c57090 R08: 0000000000000000 R09: 0000000000000000 R10: 000000000000004e R11: 0000000000000293 R12: 0000000000000001 R13: 0000000000000001 R14: 00007f2293195f80 R15: 00007fffc99f40c8 syz.6.7251 (26017) used greatest stack depth: 9064 bytes left