From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D13F5351C2F; Wed, 3 Jun 2026 02:50:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780455005; cv=none; b=BPYjb3JQVJkNt2BcM7NFrDhUgQvoKOf/LKJmoWFjuEEAqImUJFUeVct+c3yDe6ny4elkfkmo9mvSGLGeUENTs4ls9Hu9o9MmgdRsv8D2v58J4pAYzIsTHyHbzwf3E0lrJTZjPZUVqiOJzYVWOPSZslImewGQ7XFyJFJwT65P/04= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780455005; c=relaxed/simple; bh=He1Q7jufBic6VclbSfjYVqkg21Zw9y6mwNjq0c43fAo=; h=Content-Type:MIME-Version:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; b=e2f7H4za508J6QB+QqcyKQIQjMqg/2M7YUV5GKQdRz9kcUquLw+RYlOpEmx5/CgWevjvJweT+/pG5qOnVNLltikzzI37BiYL17Bp+Y5H2tawJRGZUX5CLCVgxrWo/ExmewlEFnGLTWucpB0Y7Lw2ipux92O/xn/9YG0LqqoZnf8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=RVIMr5GU; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="RVIMr5GU" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7683E1F00893; Wed, 3 Jun 2026 02:50:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1780455004; bh=dPwv3kbr9oAOiRy1rCKbnYSPg/dqZtjZkAL3xmhkGz4=; h=Subject:From:Date:References:In-Reply-To:To:Cc; b=RVIMr5GUpoWHQNEizkkFxyO2jPXWwWjP2HOPGC/9SLVgVLGMKkJKxi9sBL+RhUyMX F+6xmS/g6YJAZUWBRsW24g8gbshy2XexRYamlg3DaA1s8rWvl2hgaA+ieqUegf4Z75 3rLt8mavDaEBIxivugy9dKYZmp7AcT+JADxuW0AcnoTwRXDLdkSUGPNw2ALSOWZyi4 ju5xm8IhzaA/CCo4BPlKR5CdAr7UzRtbzjU3p4ocv/opQVjyQ/VywP0wgWnproZB0V TSR76liBr9yWFUQ9MBbNwBmNqCZ9JfxY/kazUDLdHqNvg5Ta9x7zLHuEINiv7lyVVJ UPklQNbxMEAKg== Received: from [10.30.226.235] (localhost [IPv6:::1]) by aws-us-west-2-korg-oddjob-rhel9-1.codeaurora.org (Postfix) with ESMTP id 5688B393003B; Wed, 3 Jun 2026 02:50:07 +0000 (UTC) Content-Type: text/plain; charset="utf-8" Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH net v2] ipv6: anycast: insert aca into global hash under idev->lock From: patchwork-bot+netdevbpf@kernel.org Message-Id: <178045500615.1183919.5145496310272778664.git-patchwork-notify@kernel.org> Date: Wed, 03 Jun 2026 02:50:06 +0000 References: <20260529152219.235475-1-jiayuan.chen@linux.dev> In-Reply-To: <20260529152219.235475-1-jiayuan.chen@linux.dev> To: Jiayuan Chen Cc: netdev@vger.kernel.org, syzbot+819eb928d120d2bdad0e@syzkaller.appspotmail.com, kuniyu@google.com, dsahern@kernel.org, idosch@nvidia.com, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, horms@kernel.org, linux-kernel@vger.kernel.org Hello: This patch was applied to netdev/net.git (main) by Jakub Kicinski : On Fri, 29 May 2026 23:22:18 +0800 you wrote: > syzbot reported a splat [1]: a slab-use-after-free in > ipv6_chk_acast_addr(), which walks the global inet6_acaddr_lst[] hash > under RCU and dereferences a struct ifacaddr6 that has already been > freed while still linked in the hash, so a later reader walks into a > dangling node. > > In __ipv6_dev_ac_inc() the aca is allocated with refcount 1, then > aca_get() bumps it to 2 to keep it alive across the unlocked region. > It is published to idev->ac_list under idev->lock, but > ipv6_add_acaddr_hash() runs after write_unlock_bh(). A concurrent > teardown (ipv6_ac_destroy_dev() from addrconf_ifdown(), under RTNL) > can slip into that window: > > [...] Here is the summary with links: - [net,v2] ipv6: anycast: insert aca into global hash under idev->lock https://git.kernel.org/netdev/net/c/f723ccaff2fb You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html