device macvlan0 entered promiscuous mode ================================================================== BUG: KCSAN: data-race in data_push_tail / string write to 0xffffffff870b94d8 of 1 bytes by task 2201 on cpu 1: string_nocheck lib/vsprintf.c:647 [inline] string+0x17b/0x220 lib/vsprintf.c:725 vsnprintf+0xb57/0xe80 lib/vsprintf.c:2800 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 validate_nla lib/nlattr.c:389 [inline] __nla_validate_parse+0x112f/0x1970 lib/nlattr.c:600 __nla_parse+0x3c/0x50 lib/nlattr.c:697 nla_parse_deprecated include/net/netlink.h:695 [inline] nfnetlink_rcv_batch net/netfilter/nfnetlink.c:511 [inline] nfnetlink_rcv_skb_batch net/netfilter/nfnetlink.c:639 [inline] nfnetlink_rcv+0xa4d/0x13c0 net/netfilter/nfnetlink.c:657 netlink_unicast_kernel net/netlink/af_netlink.c:1319 [inline] netlink_unicast+0x58a/0x660 net/netlink/af_netlink.c:1345 netlink_sendmsg+0x666/0x760 net/netlink/af_netlink.c:1921 sock_sendmsg_nosec net/socket.c:714 [inline] sock_sendmsg net/socket.c:734 [inline] ____sys_sendmsg+0x38f/0x500 net/socket.c:2482 ___sys_sendmsg net/socket.c:2536 [inline] __sys_sendmsg+0x19a/0x230 net/socket.c:2565 __do_sys_sendmsg net/socket.c:2574 [inline] __se_sys_sendmsg net/socket.c:2572 [inline] __x64_sys_sendmsg+0x42/0x50 net/socket.c:2572 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 0xffffffff870b94d8 of 8 bytes by task 2203 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 __dev_set_promiscuity+0x179/0x380 net/core/dev.c:8335 dev_set_promiscuity+0x37/0x90 net/core/dev.c:8374 packet_dev_mc net/packet/af_packet.c:3619 [inline] packet_mc_add+0x346/0x430 net/packet/af_packet.c:3695 packet_setsockopt+0xa87/0xe60 net/packet/af_packet.c:3780 __sys_setsockopt+0x212/0x2b0 net/socket.c:2252 __do_sys_setsockopt net/socket.c:2263 [inline] __se_sys_setsockopt net/socket.c:2260 [inline] __x64_sys_setsockopt+0x62/0x70 net/socket.c:2260 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: 0x00000000ffffeac2 -> 0x302e726f74756365 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 2203 Comm: syz-executor.5 Not tainted 6.1.0-rc6-syzkaller-00012-g4312098baf37-dirty #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 ==================================================================