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 D81E537187C for ; Sat, 15 Aug 2026 06:22:24 +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=1786774946; cv=none; b=mK7VxbBrIzwg1r0y29xwJo1qftudGsM/umNTAVcSdRd1NaizH0zUhRPQSQ9biX178DxtfL4o3mQ/+eTkLhdxakgwBgAVHT9aj9s9gfNFOFnA0/DI1Y0py7oR2EaOlkvk+7bNTycWve26qA0IwrglA3b9bk61Ew/9kRHrQIOPYmo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786774946; c=relaxed/simple; bh=s2GjG8gKbNadIvZwvoJSSxim7BDvF+aqnq3ogx1aoK4=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Pdi5jRfCAJ4J17/mNyS4XE3TmQ6HGmxL6TQcc2EbVnQoPh/yMgDCfJT195qIshiuQV3i49TaCLFqfu4om7lhFydR6Ol9pCWvcSY02/bjQ7HqoRrFt3l93o72HWxe8AqyHlIAF3GjizOxcJhRkvBInmlPdqwN9z0zjQdq6topLz0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=iKmzr10b; 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="iKmzr10b" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1FC151F000E9; Sat, 15 Aug 2026 06:22:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1786774944; bh=bfxxKmDJ0lKCfaEeZ6XcYDL6YDwch4XfZIEevdSFzWE=; h=From:To:Cc:Subject:Date:Reply-To; b=iKmzr10bSyj3AL079tIROwJ5G37Jq87/cLERcUwvHNzWJh6Fss3dJXuuYMVnRYcK+ qqUBfA2SuyXhnFELAlWXbUW0z2vf1iatEvrNel/EX7VDpfbo430AFyydFnEkB1A9vq Hf6B09zrOKqpGBq478/okj9AgNr3vZUA/XrS+aDI= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-72321: ipv4: igmp: Fix potential memory leaks in igmp_mod_timer() and igmp_stop_timer() Date: Sat, 15 Aug 2026 15:06:40 +0900 Message-ID: <2026081506-CVE-2026-72321-da99@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=2908; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=zwPBXlk2bj/knY2DvoAxAT5fsDHdDNlydWoQl5kazmk=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkNDPdMFR8zFFo+vz0l3lVt1e6p67Z0316YtNu8U7bwd 1IHs6VHRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAExE14xhnrlOQ2KuiXPCk3pH pYuLAiTPihzJZ5inK/FHrOzRxrzCjetu3mh82Xywb4sIAA== 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: ipv4: igmp: Fix potential memory leaks in igmp_mod_timer() and igmp_stop_timer() When a timer is deleted and not re-armed in igmp_mod_timer(), or stopped in igmp_stop_timer(), the code currently decrements the reference counter of the multicast list entry @im using refcount_dec(&im->refcnt). However, both functions can be called from the RCU reader path: - igmp_mod_timer() via igmp_heard_query() -> for_each_pmc_rcu() - igmp_stop_timer() via igmp_rcv() -> igmp_heard_report() If the group im was concurrently removed from the list by ip_mc_dec_group(), its reference count might have already been decremented to 1. In this case, timer_delete() succeeds, and refcount_dec() decrements the refcount from 1 to 0. Since refcount_dec() does not free the object when it hits 0 (unlike ip_ma_put()), the im structure is leaked. Fix this by using ip_ma_put(im) instead of refcount_dec(&im->refcnt), and deferring the put until after the spinlock is released. The Linux kernel CVE team has assigned CVE-2026-72321 to this issue. Affected and fixed versions =========================== Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 6.18.40 with commit f60ec3058a85447008b88b762c859d336163acb3 Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 7.1.5 with commit 95128dc74425ec19ed4f2077ccc651e791ff4b75 Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 7.2-rc3 with commit 3546deaa0c30a14c7cdb5dc8f2432cb428f0cd36 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-72321 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: net/ipv4/igmp.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/f60ec3058a85447008b88b762c859d336163acb3 https://git.kernel.org/stable/c/95128dc74425ec19ed4f2077ccc651e791ff4b75 https://git.kernel.org/stable/c/3546deaa0c30a14c7cdb5dc8f2432cb428f0cd36