siw: device registration error -23
==================================================================
BUG: KCSAN: data-race in console_flush_all / console_flush_all

write to 0xffffffff8681ca58 of 8 bytes by task 1417 on cpu 1:
 console_emit_next_record kernel/printk/printk.c:3083 [inline]
 console_flush_all+0x395/0x770 kernel/printk/printk.c:3210
 __console_flush_and_unlock kernel/printk/printk.c:3269 [inline]
 console_unlock+0xab/0x330 kernel/printk/printk.c:3309
 vprintk_emit+0x3f4/0x680 kernel/printk/printk.c:2432
 vprintk_default+0x26/0x30 kernel/printk/printk.c:2447
 vprintk+0x1d/0x30 kernel/printk/printk_safe.c:82
 _printk+0x7a/0xa0 kernel/printk/printk.c:2457
 isofs_fill_super+0x1295/0x12b0 fs/isofs/inode.c:661
 get_tree_bdev_flags+0x29f/0x310 fs/super.c:1636
 get_tree_bdev+0x1f/0x30 fs/super.c:1659
 isofs_get_tree+0x1c/0x30 fs/isofs/inode.c:1523
 vfs_get_tree+0x56/0x1e0 fs/super.c:1814
 do_new_mount+0x227/0x690 fs/namespace.c:3560
 path_mount+0x49b/0xb30 fs/namespace.c:3887
 do_mount fs/namespace.c:3900 [inline]
 __do_sys_mount fs/namespace.c:4111 [inline]
 __se_sys_mount+0x27f/0x2d0 fs/namespace.c:4088
 __x64_sys_mount+0x67/0x80 fs/namespace.c:4088
 x64_sys_call+0x2c84/0x2dc0 arch/x86/include/generated/asm/syscalls_64.h:166
 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 0xffffffff8681ca58 of 8 bytes by task 1418 on cpu 0:
 console_flush_all+0x57e/0x770 kernel/printk/printk.c:3211
 __console_flush_and_unlock kernel/printk/printk.c:3269 [inline]
 console_unlock+0xab/0x330 kernel/printk/printk.c:3309
 vprintk_emit+0x3f4/0x680 kernel/printk/printk.c:2432
 vprintk_default+0x26/0x30 kernel/printk/printk.c:2447
 vprintk+0x1d/0x30 kernel/printk/printk_safe.c:82
 _printk+0x7a/0xa0 kernel/printk/printk.c:2457
 siw_device_register drivers/infiniband/sw/siw/siw_main.c:74 [inline]
 siw_newlink+0x648/0x660 drivers/infiniband/sw/siw/siw_main.c:431
 nldev_newlink+0x32f/0x360 drivers/infiniband/core/nldev.c:1795
 rdma_nl_rcv_msg drivers/infiniband/core/netlink.c:195 [inline]
 rdma_nl_rcv_skb drivers/infiniband/core/netlink.c:239 [inline]
 rdma_nl_rcv+0x46f/0x5a0 drivers/infiniband/core/netlink.c:259
 netlink_unicast_kernel net/netlink/af_netlink.c:1322 [inline]
 netlink_unicast+0x599/0x670 net/netlink/af_netlink.c:1348
 netlink_sendmsg+0x5cc/0x6e0 net/netlink/af_netlink.c:1892
 sock_sendmsg_nosec net/socket.c:713 [inline]
 __sock_sendmsg+0x140/0x180 net/socket.c:728
 ____sys_sendmsg+0x312/0x410 net/socket.c:2568
 ___sys_sendmsg net/socket.c:2622 [inline]
 __sys_sendmsg+0x19d/0x230 net/socket.c:2654
 __do_sys_sendmsg net/socket.c:2659 [inline]
 __se_sys_sendmsg net/socket.c:2657 [inline]
 __x64_sys_sendmsg+0x46/0x50 net/socket.c:2657
 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

value changed: 0x0000000000005147 -> 0x0000000000005148

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 UID: 0 PID: 1418 Comm: syz.4.10666 Not tainted 6.13.0-syzkaller-09338-g05dbaf8dd8bf #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024
==================================================================