SELinux: failure in selinux_parse_skb(), unable to parse packet ================================================================== BUG: KCSAN: data-race in _prb_read_valid / prb_reserve write to 0xffffffff86725248 of 8 bytes by task 22784 on cpu 1: 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 start_creating+0x207/0x230 debugfs_create_dir+0x21/0x2b0 fs/debugfs/inode.c:582 hsr_debugfs_init+0x36/0xe0 net/hsr/hsr_debugfs.c:81 hsr_dev_finalize+0x609/0x640 net/hsr/hsr_device.c:760 hsr_newlink+0x535/0x5e0 net/hsr/hsr_netlink.c:120 rtnl_newlink_create+0x1b7/0x5d0 net/core/rtnetlink.c:3786 __rtnl_newlink net/core/rtnetlink.c:3896 [inline] rtnl_newlink+0xe20/0x1200 net/core/rtnetlink.c:4011 rtnetlink_rcv_msg+0x651/0x710 net/core/rtnetlink.c:6921 netlink_rcv_skb+0x12c/0x230 net/netlink/af_netlink.c:2542 rtnetlink_rcv+0x1c/0x30 net/core/rtnetlink.c:6948 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_sendto+0x1a8/0x230 net/socket.c:2197 __do_sys_sendto net/socket.c:2204 [inline] __se_sys_sendto net/socket.c:2200 [inline] __x64_sys_sendto+0x78/0x90 net/socket.c:2200 x64_sys_call+0x29fa/0x2dc0 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 0xffffffff86725248 of 8 bytes by task 22815 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 desc_update_last_finalized kernel/printk/printk_ringbuffer.c:1515 [inline] prb_final_commit+0x144/0x1f0 kernel/printk/printk_ringbuffer.c:1782 vprintk_store+0x75d/0x870 kernel/printk/printk.c:2352 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 selinux_parse_skb+0x97d/0xda0 security/selinux/hooks.c:4509 selinux_ip_postroute+0x804/0xb90 security/selinux/hooks.c:5909 nf_hook_entry_hookfn include/linux/netfilter.h:154 [inline] nf_hook_slow+0x86/0x1b0 net/netfilter/core.c:626 nf_hook include/linux/netfilter.h:269 [inline] NF_HOOK_COND include/linux/netfilter.h:302 [inline] ip_mc_output+0x306/0x350 net/ipv4/ip_output.c:421 dst_output include/net/dst.h:450 [inline] NF_HOOK+0xd4/0x180 include/linux/netfilter.h:314 raw_send_hdrinc+0x84f/0xa70 net/ipv4/raw.c:412 raw_sendmsg+0xc59/0xe50 net/ipv4/raw.c:644 inet_sendmsg+0xc5/0xd0 net/ipv4/af_inet.c:851 sock_sendmsg_nosec net/socket.c:711 [inline] __sock_sendmsg+0x102/0x180 net/socket.c:726 ____sys_sendmsg+0x312/0x410 net/socket.c:2583 ___sys_sendmsg net/socket.c:2637 [inline] __sys_sendmmsg+0x227/0x4b0 net/socket.c:2726 __do_sys_sendmmsg net/socket.c:2753 [inline] __se_sys_sendmmsg net/socket.c:2750 [inline] __x64_sys_sendmmsg+0x57/0x70 net/socket.c:2750 x64_sys_call+0x29aa/0x2dc0 arch/x86/include/generated/asm/syscalls_64.h:308 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: 0x0000000000003a63 -> 0x0000000000005a63 Reported by Kernel Concurrency Sanitizer on: CPU: 0 UID: 0 PID: 22815 Comm: syz.3.18456 Not tainted 6.13.0-rc3-syzkaller-00026-g59dbb9d81adf #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/25/2024 ==================================================================