SELinux: unrecognized netlink message: protocol=0 nlmsg_type=0 sclass=netlink_route_socket pid=6154 comm=syz.0.772 ================================================================== BUG: KCSAN: data-race in data_push_tail / number write to 0xffffffff88b50551 of 1 bytes by task 5861 on cpu 1: number+0x7d0/0xa90 lib/vsprintf.c:564 vsnprintf+0xa44/0xe30 lib/vsprintf.c:2890 va_format lib/vsprintf.c:1683 [inline] pointer+0x8a1/0xd20 lib/vsprintf.c:2455 vsnprintf+0x861/0xe30 lib/vsprintf.c:2828 vscnprintf+0x42/0x90 lib/vsprintf.c:2930 printk_sprint+0x30/0x2d0 kernel/printk/printk.c:2165 vprintk_store+0x570/0x810 kernel/printk/printk.c:2279 vprintk_emit+0x10c/0x5e0 kernel/printk/printk.c:2329 dev_vprintk_emit+0x1df/0x210 drivers/base/core.c:4909 dev_printk_emit+0x82/0xb0 drivers/base/core.c:4920 __netdev_printk+0x352/0x3e0 net/core/dev.c:11754 netdev_info+0x99/0xc0 net/core/dev.c:11809 nsim_udp_tunnel_set_port+0x175/0x190 drivers/net/netdevsim/udp_tunnels.c:34 udp_tunnel_nic_device_sync_by_port net/ipv4/udp_tunnel_nic.c:246 [inline] __udp_tunnel_nic_device_sync+0x57b/0x9e0 net/ipv4/udp_tunnel_nic.c:289 udp_tunnel_nic_device_sync net/ipv4/udp_tunnel_nic.c:312 [inline] __udp_tunnel_nic_add_port+0x66d/0x6e0 net/ipv4/udp_tunnel_nic.c:531 udp_tunnel_nic_add_port include/net/udp_tunnel.h:350 [inline] udp_tunnel_notify_add_rx_port+0x126/0x190 net/ipv4/udp_tunnel_core.c:127 geneve_socket_create drivers/net/geneve.c:609 [inline] geneve_sock_add+0x389/0x5b0 drivers/net/geneve.c:684 geneve_open+0xc1/0x100 drivers/net/geneve.c:726 __dev_open+0x1f7/0x2e0 net/core/dev.c:1474 __dev_change_flags+0x155/0x410 net/core/dev.c:8838 dev_change_flags+0x59/0xd0 net/core/dev.c:8910 do_setlink+0x841/0x2490 net/core/rtnetlink.c:2900 __rtnl_newlink net/core/rtnetlink.c:3696 [inline] rtnl_newlink+0x11a3/0x1690 net/core/rtnetlink.c:3743 rtnetlink_rcv_msg+0x6aa/0x710 net/core/rtnetlink.c:6647 netlink_rcv_skb+0x12c/0x230 net/netlink/af_netlink.c:2550 rtnetlink_rcv+0x1c/0x30 net/core/rtnetlink.c:6665 netlink_unicast_kernel net/netlink/af_netlink.c:1331 [inline] netlink_unicast+0x593/0x670 net/netlink/af_netlink.c:1357 netlink_sendmsg+0x5cc/0x6e0 net/netlink/af_netlink.c:1901 sock_sendmsg_nosec net/socket.c:730 [inline] __sock_sendmsg+0x140/0x180 net/socket.c:745 __sys_sendto+0x1e5/0x260 net/socket.c:2204 __do_sys_sendto net/socket.c:2216 [inline] __se_sys_sendto net/socket.c:2212 [inline] __x64_sys_sendto+0x78/0x90 net/socket.c:2212 x64_sys_call+0x2959/0x2d60 arch/x86/include/generated/asm/syscalls_64.h:45 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 0xffffffff88b50550 of 8 bytes by task 6154 on cpu 0: data_make_reusable kernel/printk/printk_ringbuffer.c:594 [inline] data_push_tail+0x102/0x430 kernel/printk/printk_ringbuffer.c:679 data_alloc+0xbe/0x2c0 kernel/printk/printk_ringbuffer.c:1054 prb_reserve+0x85e/0xb60 kernel/printk/printk_ringbuffer.c:1669 vprintk_store+0x53f/0x810 kernel/printk/printk.c:2269 vprintk_emit+0x10c/0x5e0 kernel/printk/printk.c:2329 vprintk_default+0x26/0x30 kernel/printk/printk.c:2363 vprintk+0x75/0x80 kernel/printk/printk_safe.c:45 _printk+0x7a/0xa0 kernel/printk/printk.c:2373 selinux_netlink_send+0x400/0x470 security/selinux/hooks.c:5962 security_netlink_send+0x42/0x70 security/security.c:4159 netlink_sendmsg+0x48c/0x6e0 net/netlink/af_netlink.c:1891 sock_sendmsg_nosec net/socket.c:730 [inline] __sock_sendmsg+0x140/0x180 net/socket.c:745 ____sys_sendmsg+0x312/0x410 net/socket.c:2597 ___sys_sendmsg net/socket.c:2651 [inline] __sys_sendmsg+0x1e9/0x280 net/socket.c:2680 __do_sys_sendmsg net/socket.c:2689 [inline] __se_sys_sendmsg net/socket.c:2687 [inline] __x64_sys_sendmsg+0x46/0x50 net/socket.c:2687 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 value changed: 0x00000000ffffe2ef -> 0x00000000ffffe220 Reported by Kernel Concurrency Sanitizer on: CPU: 0 UID: 0 PID: 6154 Comm: syz.0.772 Not tainted 6.11.0-rc1-syzkaller-00293-gdefaf1a2113a #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024 ==================================================================