================================================================== BUG: KCSAN: data-race in data_push_tail / vsnprintf write to 0xffffffff870ce159 of 1 bytes by task 31917 on cpu 1: vsnprintf+0xdd0/0xe20 va_format lib/vsprintf.c:1683 [inline] pointer+0x8a1/0xd10 lib/vsprintf.c:2455 vsnprintf+0x861/0xe20 lib/vsprintf.c:2828 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 __netdev_printk+0x2d1/0x3d0 net/core/dev.c:11489 netdev_err+0x99/0xc0 net/core/dev.c:11533 __bond_opt_set+0x51f/0x950 drivers/net/bonding/bond_options.c:770 bond_changelink+0x87/0x15a0 drivers/net/bonding/bond_netlink.c:199 bond_newlink+0x24/0x80 drivers/net/bonding/bond_netlink.c:561 rtnl_newlink_create net/core/rtnetlink.c:3515 [inline] __rtnl_newlink net/core/rtnetlink.c:3735 [inline] rtnl_newlink+0xef1/0x1670 net/core/rtnetlink.c:3748 rtnetlink_rcv_msg+0x80a/0x8c0 net/core/rtnetlink.c:6615 netlink_rcv_skb+0x126/0x220 net/netlink/af_netlink.c:2543 rtnetlink_rcv+0x1c/0x20 net/core/rtnetlink.c:6633 netlink_unicast_kernel net/netlink/af_netlink.c:1341 [inline] netlink_unicast+0x589/0x650 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+0x59/0x120 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b read to 0xffffffff870ce158 of 8 bytes by task 31922 on cpu 0: 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+0x893/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 __ext4_msg+0x130/0x1a0 fs/ext4/super.c:1008 ext4_check_opt_consistency+0xa70/0xa80 fs/ext4/super.c:2841 __ext4_fill_super fs/ext4/super.c:5263 [inline] ext4_fill_super+0x1f5d/0x39a0 fs/ext4/super.c:5703 get_tree_bdev+0x250/0x2d0 fs/super.c:1619 ext4_get_tree+0x1c/0x20 fs/ext4/super.c:5735 vfs_get_tree+0x51/0x1b0 fs/super.c:1784 do_new_mount+0x227/0x690 fs/namespace.c:3352 path_mount+0x496/0xb30 fs/namespace.c:3679 do_mount fs/namespace.c:3692 [inline] __do_sys_mount fs/namespace.c:3898 [inline] __se_sys_mount+0x27f/0x2d0 fs/namespace.c:3875 __x64_sys_mount+0x67/0x80 fs/namespace.c:3875 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0x59/0x120 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b value changed: 0x00000001000128ab -> 0x000000010001280a Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 31922 Comm: syz-executor.4 Not tainted 6.7.0-syzkaller-12829-g125514880ddd #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 ================================================================== EXT4-fs (loop4): feature flags set on rev 0 fs, running e2fsck is recommended