CPU: 1 PID: 10594 Comm: syz-executor.0 Not tainted 6.8.0-rc6-syzkaller-00024-ge326df53af00 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xda/0x130 lib/dump_stack.c:106 dump_stack+0x15/0x20 lib/dump_stack.c:113 ================================================================== BUG: KCSAN: data-race in data_push_tail / string write to 0xffffffff870fe2f8 of 1 bytes by task 10576 on cpu 0: string_nocheck lib/vsprintf.c:650 [inline] string+0x16c/0x200 lib/vsprintf.c:728 vsnprintf+0xa09/0xe30 lib/vsprintf.c:2824 vscnprintf+0x42/0x80 lib/vsprintf.c:2930 printk_sprint+0x30/0x2d0 kernel/printk/printk.c:2124 vprintk_store+0x56f/0x800 kernel/printk/printk.c:2238 vprintk_emit+0xd0/0x5d0 kernel/printk/printk.c:2284 vprintk_default+0x26/0x30 kernel/printk/printk.c:2318 vprintk+0x71/0x80 kernel/printk/printk_safe.c:45 _printk+0x7a/0xa0 kernel/printk/printk.c:2328 caif_disconnect_client+0x135/0x140 net/caif/cfcnfg.c:194 chnl_net_open+0x4ff/0x5a0 net/caif/chnl_net.c:327 __dev_open+0x1ef/0x2e0 net/core/dev.c:1446 __dev_change_flags+0x153/0x410 net/core/dev.c:8648 dev_change_flags+0x59/0xd0 net/core/dev.c:8720 do_setlink+0x839/0x2440 net/core/rtnetlink.c:2906 rtnl_group_changelink net/core/rtnetlink.c:3455 [inline] __rtnl_newlink net/core/rtnetlink.c:3714 [inline] rtnl_newlink+0xbc1/0x1670 net/core/rtnetlink.c:3751 rtnetlink_rcv_msg+0x80a/0x8c0 net/core/rtnetlink.c:6618 netlink_rcv_skb+0x126/0x220 net/netlink/af_netlink.c:2543 rtnetlink_rcv+0x1c/0x20 net/core/rtnetlink.c:6636 netlink_unicast_kernel net/netlink/af_netlink.c:1341 [inline] netlink_unicast+0x589/0x660 net/netlink/af_netlink.c:1367 netlink_sendmsg+0x66e/0x770 net/netlink/af_netlink.c:1908 sock_sendmsg_nosec net/socket.c:730 [inline] __sock_sendmsg net/socket.c:745 [inline] ____sys_sendmsg+0x37c/0x4d0 net/socket.c:2584 ___sys_sendmsg net/socket.c:2638 [inline] __sys_sendmsg+0x1e9/0x270 net/socket.c:2667 __do_sys_sendmsg net/socket.c:2676 [inline] __se_sys_sendmsg net/socket.c:2674 [inline] __x64_sys_sendmsg+0x46/0x50 net/socket.c:2674 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x1d0 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b read to 0xffffffff870fe2f8 of 8 bytes by task 10594 on cpu 1: data_make_reusable kernel/printk/printk_ringbuffer.c:590 [inline] data_push_tail+0x102/0x430 kernel/printk/printk_ringbuffer.c:675 data_alloc+0xbe/0x2c0 kernel/printk/printk_ringbuffer.c:1046 prb_reserve+0x897/0xbc0 kernel/printk/printk_ringbuffer.c:1555 vprintk_store+0x53e/0x800 kernel/printk/printk.c:2228 vprintk_emit+0xd0/0x5d0 kernel/printk/printk.c:2284 vprintk_default+0x26/0x30 kernel/printk/printk.c:2318 vprintk+0x71/0x80 kernel/printk/printk_safe.c:45 _printk+0x7a/0xa0 kernel/printk/printk.c:2328 printk_stack_address arch/x86/kernel/dumpstack.c:72 [inline] show_trace_log_lvl+0x42e/0x510 arch/x86/kernel/dumpstack.c:285 __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xda/0x130 lib/dump_stack.c:106 dump_stack+0x15/0x20 lib/dump_stack.c:113 fail_dump lib/fault-inject.c:52 [inline] should_fail_ex+0x21f/0x230 lib/fault-inject.c:153 __should_failslab+0x92/0xa0 mm/failslab.c:44 should_failslab+0x9/0x20 mm/slub.c:3747 slab_pre_alloc_hook mm/slub.c:3763 [inline] slab_alloc_node mm/slub.c:3842 [inline] kmem_cache_alloc+0x56/0x2d0 mm/slub.c:3867 __inet_bhash2_update_saddr+0x158/0xd40 net/ipv4/inet_hashtables.c:914 inet_bhash2_update_saddr+0x26/0x30 net/ipv4/inet_hashtables.c:970 tcp_v4_connect+0x5e5/0xad0 net/ipv4/tcp_ipv4.c:254 __inet_stream_connect+0x15e/0x780 net/ipv4/af_inet.c:678 inet_stream_connect+0x48/0x70 net/ipv4/af_inet.c:749 kernel_connect+0x96/0xc0 net/socket.c:3625 smc_connect+0x278/0x450 net/smc/af_smc.c:1689 __sys_connect_file net/socket.c:2048 [inline] __sys_connect+0x1a1/0x1b0 net/socket.c:2065 __do_sys_connect net/socket.c:2075 [inline] __se_sys_connect net/socket.c:2072 [inline] __x64_sys_connect+0x41/0x50 net/socket.c:2072 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x1d0 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b value changed: 0x0000000100008a81 -> 0x637369645f666961 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 10594 Comm: syz-executor.0 Not tainted 6.8.0-rc6-syzkaller-00024-ge326df53af00 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024 ================================================================== fail_dump lib/fault-inject.c:52 [inline] should_fail_ex+0x21f/0x230 lib/fault-inject.c:153 __should_failslab+0x92/0xa0 mm/failslab.c:44 should_failslab+0x9/0x20 mm/slub.c:3747 slab_pre_alloc_hook mm/slub.c:3763 [inline] slab_alloc_node mm/slub.c:3842 [inline] kmem_cache_alloc+0x56/0x2d0 mm/slub.c:3867 __inet_bhash2_update_saddr+0x158/0xd40 net/ipv4/inet_hashtables.c:914 inet_bhash2_update_saddr+0x26/0x30 net/ipv4/inet_hashtables.c:970 tcp_v4_connect+0x5e5/0xad0 net/ipv4/tcp_ipv4.c:254 __inet_stream_connect+0x15e/0x780 net/ipv4/af_inet.c:678 inet_stream_connect+0x48/0x70 net/ipv4/af_inet.c:749 kernel_connect+0x96/0xc0 net/socket.c:3625 smc_connect+0x278/0x450 net/smc/af_smc.c:1689 __sys_connect_file net/socket.c:2048 [inline] __sys_connect+0x1a1/0x1b0 net/socket.c:2065 __do_sys_connect net/socket.c:2075 [inline] __se_sys_connect net/socket.c:2072 [inline] __x64_sys_connect+0x41/0x50 net/socket.c:2072 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x1d0 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7f548e479da9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f548d7fb0c8 EFLAGS: 00000246 ORIG_RAX: 000000000000002a RAX: ffffffffffffffda RBX: 00007f548e5a7f80 RCX: 00007f548e479da9 RDX: 0000000000000010 RSI: 0000000020000000 RDI: 0000000000000005 RBP: 00007f548d7fb120 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 R13: 000000000000000b R14: 00007f548e5a7f80 R15: 00007ffff9f7c1f8