lo speed is unknown, defaulting to 1000 ================================================================== BUG: KCSAN: data-race in _prb_read_valid / data_alloc write to 0xffffffff8687e218 of 8 bytes by task 18812 on cpu 1: data_alloc+0x271/0x2b0 kernel/printk/printk_ringbuffer.c:1095 prb_reserve+0x808/0xaf0 kernel/printk/printk_ringbuffer.c:1669 vprintk_store+0x56d/0x860 kernel/printk/printk.c:2326 vprintk_emit+0x178/0x650 kernel/printk/printk.c:2426 vprintk_default+0x26/0x30 kernel/printk/printk.c:2465 vprintk+0x1d/0x30 kernel/printk/printk_safe.c:82 _printk+0x79/0xa0 kernel/printk/printk.c:2475 __nla_validate_parse+0x1738/0x1d00 lib/nlattr.c:647 __nla_parse+0x40/0x60 lib/nlattr.c:732 __nlmsg_parse include/net/netlink.h:787 [inline] nlmsg_parse_deprecated include/net/netlink.h:828 [inline] tc_modify_qdisc+0xe0/0x1420 net/sched/sch_api.c:1799 rtnetlink_rcv_msg+0x657/0x6d0 net/core/rtnetlink.c:6953 netlink_rcv_skb+0x120/0x220 net/netlink/af_netlink.c:2552 rtnetlink_rcv+0x1c/0x30 net/core/rtnetlink.c:6971 netlink_unicast_kernel net/netlink/af_netlink.c:1320 [inline] netlink_unicast+0x5a5/0x680 net/netlink/af_netlink.c:1346 netlink_sendmsg+0x58b/0x6b0 net/netlink/af_netlink.c:1896 sock_sendmsg_nosec net/socket.c:712 [inline] __sock_sendmsg+0x145/0x180 net/socket.c:727 ____sys_sendmsg+0x31e/0x4e0 net/socket.c:2566 ___sys_sendmsg+0x17b/0x1d0 net/socket.c:2620 __sys_sendmsg net/socket.c:2652 [inline] __do_sys_sendmsg net/socket.c:2657 [inline] __se_sys_sendmsg net/socket.c:2655 [inline] __x64_sys_sendmsg+0xd4/0x160 net/socket.c:2655 x64_sys_call+0x2999/0x2fb0 arch/x86/include/generated/asm/syscalls_64.h:47 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xd2/0x200 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f read to 0xffffffff8687e218 of 16 bytes by task 18783 on cpu 0: desc_read kernel/printk/printk_ringbuffer.c:482 [inline] desc_read_finalized_seq kernel/printk/printk_ringbuffer.c:1874 [inline] prb_read kernel/printk/printk_ringbuffer.c:1922 [inline] _prb_read_valid+0x1bc/0x920 kernel/printk/printk_ringbuffer.c:2113 prb_read_valid+0x3c/0x60 kernel/printk/printk_ringbuffer.c:2185 printk_get_next_message+0xc8/0x510 kernel/printk/printk.c:3005 console_emit_next_record kernel/printk/printk.c:3092 [inline] console_flush_all+0x290/0x730 kernel/printk/printk.c:3226 __console_flush_and_unlock kernel/printk/printk.c:3285 [inline] console_unlock+0xa1/0x330 kernel/printk/printk.c:3325 vprintk_emit+0x388/0x650 kernel/printk/printk.c:2450 vprintk_default+0x26/0x30 kernel/printk/printk.c:2465 vprintk+0x1d/0x30 kernel/printk/printk_safe.c:82 _printk+0x79/0xa0 kernel/printk/printk.c:2475 ib_get_eth_speed+0x33d/0x4b0 drivers/infiniband/core/verbs.c:2006 siw_query_port+0x3a/0x2d0 drivers/infiniband/sw/siw/siw_verbs.c:179 iw_query_port drivers/infiniband/core/device.c:2100 [inline] ib_query_port+0x390/0x3d0 drivers/infiniband/core/device.c:2141 ib_setup_port_attrs+0x14a/0x1430 drivers/infiniband/core/sysfs.c:1429 add_one_compat_dev+0x261/0x360 drivers/infiniband/core/device.c:968 rdma_dev_init_net+0x182/0x210 drivers/infiniband/core/device.c:1184 ops_init+0x227/0x2e0 net/core/net_namespace.c:138 setup_net+0x124/0x2e0 net/core/net_namespace.c:442 copy_net_ns+0x55c/0x690 net/core/net_namespace.c:574 create_new_namespaces+0x20e/0x3d0 kernel/nsproxy.c:110 unshare_nsproxy_namespaces+0xe8/0x120 kernel/nsproxy.c:218 ksys_unshare+0x3d0/0x6d0 kernel/fork.c:3121 __do_sys_unshare kernel/fork.c:3192 [inline] __se_sys_unshare kernel/fork.c:3190 [inline] __x64_sys_unshare+0x1f/0x30 kernel/fork.c:3190 x64_sys_call+0x2d4b/0x2fb0 arch/x86/include/generated/asm/syscalls_64.h:273 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xd2/0x200 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f Reported by Kernel Concurrency Sanitizer on: CPU: 0 UID: 0 PID: 18783 Comm: syz.7.4920 Not tainted 6.16.0-rc5-syzkaller-00276-g5d5d62298b8b #0 PREEMPT(voluntary) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 ==================================================================