================================================================== BUG: KCSAN: data-race in _prb_read_valid / prb_reserve write to 0xffffffff866a26e8 of 8 bytes by task 7056 on cpu 1: prb_reserve+0x740/0xb60 vprintk_store+0x53f/0x810 kernel/printk/printk.c:2301 vprintk_emit+0x15e/0x680 kernel/printk/printk.c:2383 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 __netdev_printk+0x2d1/0x3e0 net/core/dev.c:11825 netdev_info+0x99/0xc0 net/core/dev.c:11872 __dev_set_promiscuity+0x165/0x340 net/core/dev.c:8634 __dev_set_rx_mode+0x128/0x180 dev_uc_sync_multiple+0x1d7/0x200 net/core/dev_addr_lists.c:773 bond_set_rx_mode+0x129/0x1a0 drivers/net/bonding/bond_main.c:4733 __dev_set_rx_mode+0x15e/0x180 net/core/dev.c:8766 dev_uc_del+0x82/0xa0 net/core/dev_addr_lists.c:714 macsec_dev_stop+0x366/0x3a0 drivers/net/macsec.c:3651 __dev_close_many+0x127/0x1e0 net/core/dev.c:1560 dev_close_many+0x103/0x240 net/core/dev.c:1585 unregister_netdevice_many_notify+0x263/0x11b0 net/core/dev.c:11381 unregister_netdevice_many+0x19/0x20 net/core/dev.c:11469 rtnl_newlink_create net/core/rtnetlink.c:3570 [inline] __rtnl_newlink net/core/rtnetlink.c:3759 [inline] rtnl_newlink+0x140c/0x1690 net/core/rtnetlink.c:3772 rtnetlink_rcv_msg+0x6aa/0x710 net/core/rtnetlink.c:6675 netlink_rcv_skb+0x12c/0x230 net/netlink/af_netlink.c:2551 rtnetlink_rcv+0x1c/0x30 net/core/rtnetlink.c:6693 netlink_unicast_kernel net/netlink/af_netlink.c:1331 [inline] netlink_unicast+0x599/0x670 net/netlink/af_netlink.c:1357 netlink_sendmsg+0x5cc/0x6e0 net/netlink/af_netlink.c:1901 sock_sendmsg_nosec net/socket.c:729 [inline] __sock_sendmsg+0x140/0x180 net/socket.c:744 ____sys_sendmsg+0x312/0x410 net/socket.c:2607 ___sys_sendmsg net/socket.c:2661 [inline] __sys_sendmsg+0x1d9/0x270 net/socket.c:2690 __do_sys_sendmsg net/socket.c:2699 [inline] __se_sys_sendmsg net/socket.c:2697 [inline] __x64_sys_sendmsg+0x46/0x50 net/socket.c:2697 x64_sys_call+0x2689/0x2d60 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 0xffffffff866a26e8 of 8 bytes by task 3008 on cpu 0: 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+0x26f/0x760 kernel/printk/printk.c:1631 do_syslog+0x397/0x7e0 kernel/printk/printk.c:1766 __do_sys_syslog kernel/printk/printk.c:1858 [inline] __se_sys_syslog kernel/printk/printk.c:1856 [inline] __x64_sys_syslog+0x43/0x50 kernel/printk/printk.c:1856 x64_sys_call+0x1677/0x2d60 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: 0x000000000000029b -> 0x0000000000000000 Reported by Kernel Concurrency Sanitizer on: CPU: 0 UID: 0 PID: 3008 Comm: klogd Tainted: G W 6.12.0-rc5-syzkaller-00181-g6c52d4da1c74 #0 Tainted: [W]=WARN Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 ==================================================================