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 1902B486408 for ; Fri, 25 Sep 2026 10:40:52 +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=1790332853; cv=none; b=M3hMN9OFZhYM3EAHwkeU8wQvW4F8JELOAoF+DcY7XVp9MlzlRAyFf8VzSpjjawCoYWJqjA6Qyqcp5EvomfOXFOCODUfFd+I4XbM2lt1+ebJVelU2coxUjyJcZtV76PzIkb0yPAqJThny/7FLgrf27A5SMZx700vTYX/fWnqBaa0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790332853; c=relaxed/simple; bh=KJSVR1LEnFq9gOxU3WIxMSpzkHlXxfstA4na3scOR4o=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=iPJJuqi3KuA3MpcT3zYzUx7cdfKfSLYhlvAxedpIHom8FpUJrClQQB/bw3L/87gwmMYOS+Km3nYDPVuCENRxgpWILr1rQReSHzMeccP+Xkc8YFliEJsgCWqhDqaO/VRF0wnr3z8tbhJ5a7Brdil7++adaU1dIY6xt1ZIkMvaQrM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=QECzsjSl; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="QECzsjSl" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 707EB1F000FF; Fri, 25 Sep 2026 10:40:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1790332852; bh=mJAZV4hfIAyfwsIfHo0B2ib9booNSbRNu3pIMkYJ/2I=; h=From:To:Cc:Subject:Date:Reply-To; b=QECzsjSlXpa8Dn8yNQjocP11lFN8A07DUhcWFvhdmZRf0EeQjMDb+xZxi12oT4XfV LcsexmtosSgL/pWlurOlXfr+7iZ/fOo4tgzK1Z2SJnBxZUrQpUDpJwbS9KHcpUZMj+ Tm2CuQh/Ze2l5daMbsqH0guwn7pl1y9MphuAOZi0= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-98101: ipv6: mcast: use copy-on-write RCU updates in ip6_mc_source() Date: Fri, 25 Sep 2026 12:39:08 +0200 Message-ID: <2026092507-CVE-2026-98101-2b19@gregkh> X-Mailer: git-send-email 2.55.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=3003; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=M9XVq03pw9NkcmzUtISmnH+pDyVyS6POdKnx1N3MnUo=; b=owGbwMvMwCRo6H6F97bub03G02pJDFnb/L1f3Tub8VPCobv3AtfZeU43J2drWXhO2xpZxCKz4 rWEV87+jlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZhI2VaGBWfC/zKybWy6E/rj ed0Bjz9zJstIaTEsWBPepTD/lO2D4o3Xz2pntD2dW/vHEgA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman Description =========== In the Linux kernel, the following vulnerability has been resolved: ipv6: mcast: use copy-on-write RCU updates in ip6_mc_source() pmc->sflist is read locklessly under rcu_read_lock() by inet6_mc_check() during packet reception in the UDP and RAW multicast receive paths. ip6_mc_source() mutated psl->sl_addr and psl->sl_count in-place when adding or removing a source filter. Additionally, when expanding the filter buffer, newpsl was published via rcu_assign_pointer() before writing the new source into the array. Because 16-byte struct in6_addr writes are not atomic and array shifting is not synchronized with RCU readers, concurrent readers in inet6_mc_check() could read torn IPv6 addresses or observe duplicated/missed source entries. Fix this by switching ip6_mc_source() to copy-on-write RCU updates: allocate and fully populate newpsl before publishing it via rcu_assign_pointer(), and reclaim the old filter via kfree_rcu(), matching ip6_mc_msfilter(). Also remove the now unused IP6_SFBLOCK macro. The Linux kernel CVE team has assigned CVE-2026-98101 to this issue. Affected and fixed versions =========================== Issue introduced in 5.13 with commit 882ba1f73c06831f2a21044ebd8864c485ac04f2 and fixed in 6.18.53 with commit 2c2091e2ee93049fc513ad1e6c99d8b6c809f467 Issue introduced in 5.13 with commit 882ba1f73c06831f2a21044ebd8864c485ac04f2 and fixed in 7.2.7 with commit 20db91a052332ef5552bd2f651ffb9db911cf67b Issue introduced in 5.13 with commit 882ba1f73c06831f2a21044ebd8864c485ac04f2 and fixed in 7.3-rc2 with commit c073d1b070f171d206b19c98d71739a97f15b3f1 Issue introduced in 5.10.261 with commit 47c75e3923c8d562fea8daf0ccf31546a7bef0ea Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2026-98101 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: include/net/if_inet6.h net/ipv6/mcast.c Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: https://git.kernel.org/stable/c/2c2091e2ee93049fc513ad1e6c99d8b6c809f467 https://git.kernel.org/stable/c/20db91a052332ef5552bd2f651ffb9db911cf67b https://git.kernel.org/stable/c/c073d1b070f171d206b19c98d71739a97f15b3f1