================================================================== BUG: KCSAN: data-race in _prb_read_valid / prb_reserve write to 0xffffffff8669d468 of 8 bytes by task 16048 on cpu 0: prb_reserve+0x740/0xb60 vprintk_store+0x558/0x870 kernel/printk/printk.c:2326 vprintk_emit+0x15e/0x680 kernel/printk/printk.c:2408 vprintk_default+0x26/0x30 kernel/printk/printk.c:2447 vprintk+0x75/0x80 kernel/printk/printk_safe.c:86 _printk+0x7a/0xa0 kernel/printk/printk.c:2457 __netdev_printk+0x2d1/0x3e0 net/core/dev.c:11948 netdev_info+0x99/0xc0 net/core/dev.c:11995 __dev_set_promiscuity+0x165/0x340 net/core/dev.c:8740 dev_set_promiscuity+0x3b/0x90 net/core/dev.c:8778 bond_set_promiscuity drivers/net/bonding/bond_main.c:926 [inline] bond_change_rx_flags+0x158/0x330 drivers/net/bonding/bond_main.c:4733 dev_change_rx_flags net/core/dev.c:8711 [inline] __dev_set_promiscuity+0x2d6/0x340 net/core/dev.c:8755 dev_set_promiscuity+0x3b/0x90 net/core/dev.c:8778 vlan_dev_stop+0xc0/0x190 net/8021q/vlan_dev.c:321 __dev_close_many+0x127/0x1e0 net/core/dev.c:1560 dev_close_many+0x103/0x240 net/core/dev.c:1585 dev_close+0xce/0x140 net/core/dev.c:1611 bond_enslave+0x1a9d/0x2000 drivers/net/bonding/bond_main.c:2441 do_set_master net/core/rtnetlink.c:2917 [inline] rtnl_newlink_create+0x4e9/0x5d0 net/core/rtnetlink.c:3803 __rtnl_newlink net/core/rtnetlink.c:3897 [inline] rtnl_newlink+0xe9f/0x1250 net/core/rtnetlink.c:4012 rtnetlink_rcv_msg+0x651/0x710 net/core/rtnetlink.c:6922 netlink_rcv_skb+0x12c/0x230 net/netlink/af_netlink.c:2542 rtnetlink_rcv+0x1c/0x30 net/core/rtnetlink.c:6949 netlink_unicast_kernel net/netlink/af_netlink.c:1321 [inline] netlink_unicast+0x599/0x670 net/netlink/af_netlink.c:1347 netlink_sendmsg+0x5cc/0x6e0 net/netlink/af_netlink.c:1891 sock_sendmsg_nosec net/socket.c:711 [inline] __sock_sendmsg+0x140/0x180 net/socket.c:726 ____sys_sendmsg+0x312/0x410 net/socket.c:2583 ___sys_sendmsg net/socket.c:2637 [inline] __sys_sendmsg+0x19d/0x230 net/socket.c:2669 __do_sys_sendmsg net/socket.c:2674 [inline] __se_sys_sendmsg net/socket.c:2672 [inline] __x64_sys_sendmsg+0x46/0x50 net/socket.c:2672 x64_sys_call+0x2734/0x2dc0 arch/x86/include/generated/asm/syscalls_64.h:47 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 read to 0xffffffff8669d468 of 8 bytes by task 2987 on cpu 1: desc_read kernel/printk/printk_ringbuffer.c:486 [inline] desc_read_finalized_seq kernel/printk/printk_ringbuffer.c:1874 [inline] prb_read kernel/printk/printk_ringbuffer.c:1922 [inline] _prb_read_valid+0x1ec/0xba0 kernel/printk/printk_ringbuffer.c:2113 prb_read_valid+0x3d/0x60 kernel/printk/printk_ringbuffer.c:2182 syslog_print+0x157/0x760 kernel/printk/printk.c:1633 do_syslog+0x3a1/0x7f0 kernel/printk/printk.c:1785 __do_sys_syslog kernel/printk/printk.c:1877 [inline] __se_sys_syslog kernel/printk/printk.c:1875 [inline] __x64_sys_syslog+0x43/0x50 kernel/printk/printk.c:1875 x64_sys_call+0x29be/0x2dc0 arch/x86/include/generated/asm/syscalls_64.h:104 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: 0x00000000000001af -> 0x0000000000000000 Reported by Kernel Concurrency Sanitizer on: CPU: 1 UID: 0 PID: 2987 Comm: klogd Not tainted 6.13.0-rc6-syzkaller-00036-gfbfd64d25c7a #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 ==================================================================