From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-oo1-f78.google.com (mail-oo1-f78.google.com [209.85.161.78]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 53D723EC2FF for ; Thu, 19 Mar 2026 17:27:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.161.78 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773941246; cv=none; b=Lw38J6XKZMy2twnZ2mHJ8iix8KQX2g0WIAIbjkDySyhoMYSlXwqIjjzcXiFeXro9F7KvHbD4XUHp9HtCjF0FGpuIeEz+jyBP95qbPCqLrIKduIFLI4x9YEWfMmdJs39ICtFRn3Z8mWXF9CKRZAQoP2SzRqvq/T4xR1WBTflLDeg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773941246; c=relaxed/simple; bh=9wlebsp9Rx6hCwC5pys32X1sYXY103vYKbl9abZWUJI=; h=MIME-Version:Date:Message-ID:Subject:From:To:Content-Type; b=a/r91QSTdU2OaUpDFbAbVYy7Ku2B+gkiumUdnHVivRkoli88vMl2g+frRxmKfXeCVV4COeXkp855BOX9Qkx44k2uaJzIzv+zHiVGHBH6meMTLemMjIWs72lsKJxWreyWyETSvJWOVlP/noIBYKABLaKev96e+B9HE1ih08vEigM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=syzkaller.appspotmail.com; spf=pass smtp.mailfrom=M3KW2WVRGUFZ5GODRSRYTGD7.apphosting.bounces.google.com; arc=none smtp.client-ip=209.85.161.78 Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=syzkaller.appspotmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=M3KW2WVRGUFZ5GODRSRYTGD7.apphosting.bounces.google.com Received: by mail-oo1-f78.google.com with SMTP id 006d021491bc7-67baeba7a53so28247150eaf.0 for ; Thu, 19 Mar 2026 10:27:21 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1773941240; x=1774546040; h=to:from:subject:message-id:date:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=xnfckOcAi0uA4Z6a6lmoTefw+BoX6EypFKu89xrJ1iI=; b=Zg7EzNW9/cNjEuBmp56cOrK9BNac4GsNmSpxRrezwtU4HDjp9h7luGKliPK1vRuOaH lHsQkTl2BpUjUjKJHQgdzII9V9Yc9zyDVSq8IY5JsuUZsx/zf4xx4Glh7AAZ+VX6DIPa VieQ7nH+1jgtVOPUqD5T5Uw3qmWY16+dcfmOQQ6HoyTecOYSbETMcYR1Nf88URLC1qgl 3ixM3IUH7NMTHlgEZwjKrPHGGep161DvhEdzS7CLsc1A9D3gBmCDTYbPe/nA1oUFah1O fidygsPi9HASVzMq4VLXR2n8qItc3ldDzU0NzvpG6yNT98J7u3Y44hcTO2Ic1DJkSPaS kINw== X-Forwarded-Encrypted: i=1; AJvYcCWrwItonGKQS73q3WG2lYvd60Q48W25zwhVJYl2/jL5rECvvYnB6YXCeSSl2g8h1RSyiyBGfCXz4ym9w+A=@vger.kernel.org X-Gm-Message-State: AOJu0Yy5gFLZQKh5TEMzEiC6UCgogbBHLNLkzafr9nB/C0JS/IxqxK3e Jp2080TdjyboAwpZQS4QlN4k1C8gbr1YUuDdnflRwOzLzbQ9ivMVLV/mwL50Cg4RW3MRKAr36ac LdYFKdhS005TKeK/kJUeg+2EhEohgxN72As7yLHNy0HSrSew+23rIW177akU= Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Received: by 2002:a4a:decc:0:b0:67c:1fa3:ae6e with SMTP id 006d021491bc7-67c1fa3b0a3mr891507eaf.8.1773941239827; Thu, 19 Mar 2026 10:27:19 -0700 (PDT) Date: Thu, 19 Mar 2026 10:27:19 -0700 X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <69bc31f7.050a0220.18f14c.004f.GAE@google.com> Subject: [syzbot] [netfilter?] KCSAN: data-race in hash_ipport6_add / hash_ipport6_head From: syzbot To: coreteam@netfilter.org, davem@davemloft.net, edumazet@google.com, fw@strlen.de, horms@kernel.org, kuba@kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, netfilter-devel@vger.kernel.org, pabeni@redhat.com, pablo@netfilter.org, phil@nwl.cc, syzkaller-bugs@googlegroups.com Content-Type: text/plain; charset="UTF-8" Hello, syzbot found the following issue on: HEAD commit: c107785c7e8d Merge tag 'modules-7.0-rc3.fixes' of git://gi.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=143b7006580000 kernel config: https://syzkaller.appspot.com/x/.config?x=6b32b22d8934c136 dashboard link: https://syzkaller.appspot.com/bug?extid=786c889f046e8b003ca6 compiler: Debian clang version 21.1.8 (++20251221033036+2078da43e25a-1~exp1~20251221153213.50), Debian LLD 21.1.8 Unfortunately, I don't have any reproducer for this issue yet. Downloadable assets: disk image: https://storage.googleapis.com/syzbot-assets/ddd71de958b3/disk-c107785c.raw.xz vmlinux: https://storage.googleapis.com/syzbot-assets/79e800fb32ab/vmlinux-c107785c.xz kernel image: https://storage.googleapis.com/syzbot-assets/1b65c942dadc/bzImage-c107785c.xz IMPORTANT: if you fix the issue, please add the following tag to the commit: Reported-by: syzbot+786c889f046e8b003ca6@syzkaller.appspotmail.com ================================================================== BUG: KCSAN: data-race in hash_ipport6_add / hash_ipport6_head read-write to 0xffff88813e1d7a99 of 1 bytes by task 27445 on cpu 1: hash_ipport6_add+0x876/0x1110 net/netfilter/ipset/ip_set_hash_gen.h:965 hash_ipport6_uadt+0x59f/0x680 net/netfilter/ipset/ip_set_hash_ipport.c:351 call_ad+0x231/0x640 net/netfilter/ipset/ip_set_core.c:1751 ip_set_ad+0x5c0/0x690 net/netfilter/ipset/ip_set_core.c:1841 ip_set_uadd+0x41/0x50 net/netfilter/ipset/ip_set_core.c:1864 nfnetlink_rcv_msg+0x509/0x5d0 net/netfilter/nfnetlink.c:302 netlink_rcv_skb+0x123/0x220 net/netlink/af_netlink.c:2550 nfnetlink_rcv+0x167/0x1720 net/netfilter/nfnetlink.c:669 netlink_unicast_kernel net/netlink/af_netlink.c:1318 [inline] netlink_unicast+0x5c0/0x690 net/netlink/af_netlink.c:1344 netlink_sendmsg+0x5c8/0x6f0 net/netlink/af_netlink.c:1894 sock_sendmsg_nosec net/socket.c:727 [inline] __sock_sendmsg net/socket.c:742 [inline] ____sys_sendmsg+0x5af/0x600 net/socket.c:2592 ___sys_sendmsg+0x195/0x1e0 net/socket.c:2646 __sys_sendmsg net/socket.c:2678 [inline] __do_sys_sendmsg net/socket.c:2683 [inline] __se_sys_sendmsg net/socket.c:2681 [inline] __x64_sys_sendmsg+0xd4/0x160 net/socket.c:2681 x64_sys_call+0x194c/0x3020 arch/x86/include/generated/asm/syscalls_64.h:47 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x12c/0x370 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f read to 0xffff88813e1d7a99 of 1 bytes by task 27450 on cpu 0: hash_ipport6_ext_size net/netfilter/ipset/ip_set_hash_gen.h:823 [inline] hash_ipport6_head+0x180/0x960 net/netfilter/ipset/ip_set_hash_gen.h:1275 ip_set_dump_do+0xa34/0xb00 net/netfilter/ipset/ip_set_core.c:1651 netlink_dump+0x455/0x8a0 net/netlink/af_netlink.c:2325 netlink_recvmsg+0x420/0x550 net/netlink/af_netlink.c:1976 sock_recvmsg_nosec net/socket.c:1078 [inline] sock_recvmsg+0x139/0x160 net/socket.c:1100 ____sys_recvmsg+0xf5/0x280 net/socket.c:2812 ___sys_recvmsg+0x11f/0x3b0 net/socket.c:2854 __sys_recvmsg net/socket.c:2887 [inline] __do_sys_recvmsg net/socket.c:2893 [inline] __se_sys_recvmsg net/socket.c:2890 [inline] __x64_sys_recvmsg+0xd1/0x160 net/socket.c:2890 x64_sys_call+0x2b1a/0x3020 arch/x86/include/generated/asm/syscalls_64.h:48 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x12c/0x370 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f value changed: 0x01 -> 0x02 Reported by Kernel Concurrency Sanitizer on: CPU: 0 UID: 0 PID: 27450 Comm: syz.3.7305 Tainted: G W syzkaller #0 PREEMPT(full) Tainted: [W]=WARN Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2026 ================================================================== --- This report is generated by a bot. It may contain errors. See https://goo.gl/tpsmEJ for more information about syzbot. syzbot engineers can be reached at syzkaller@googlegroups.com. syzbot will keep track of this issue. See: https://goo.gl/tpsmEJ#status for how to communicate with syzbot. If the report is already addressed, let syzbot know by replying with: #syz fix: exact-commit-title If you want to overwrite report's subsystems, reply with: #syz set subsystems: new-subsystem (See the list of subsystem names on the web dashboard) If the report is a duplicate of another one, reply with: #syz dup: exact-subject-of-another-report If you want to undo deduplication, reply with: #syz undup