Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 66F2522FE11 for ; Sat, 16 Aug 2025 11:34:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1755344086; cv=none; b=RTAktiZajc8TT4w3Vig/T7KHXmBoE+X+05hHP7YA8xC3rHoZ4grrx2yueu/kJCHWA7FzQXeBaAmrXchQcMCwxe1kcwYtM+H0VEGQRAEnsqP4gzcOkDDEsC6I827UDkaHUdHUXi7TFvzD7tnZIa1Kgni+UmYOFxk2uVlR2//pkCk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1755344086; c=relaxed/simple; bh=dKVyty8PGkjCymcvm4JkkHK4+/awTqeR2ONuKCQGKL4=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=BPOCyrJleVeiuqq/H33kd9Wku6pxGVP7mAnsNAaT/v39+RY/GxolPZ458so2mEebYQS9eiybwGNkTw537yO2nVM1yBzJTC+MCbLulYATx8Z7qz9gF8IizfweezbVA/Rutt9b10feS1+MRB9hiN8bPRkeSDiKV1z9Q6fMjTgexNA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=KMuIAShp; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="KMuIAShp" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7F44BC4CEEF; Sat, 16 Aug 2025 11:34:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1755344085; bh=dKVyty8PGkjCymcvm4JkkHK4+/awTqeR2ONuKCQGKL4=; h=From:To:Cc:Subject:Date:Reply-to:From; b=KMuIAShpUeGHbugHGTqjM7xY2rOlLWO0l9H9Zt/i1C0eCC0iRE3UvMBZNBpa8RCgU AVgW0lpGutIvy0/PA/QHNQ9JANUWfNHCh+T6WT8+N7uc/IvuT/N3q/kPRwcE8InQ6R F3uyAhdWCsX0FwglYQ6Kz228PA3RenTsRGasvC5c= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-38550: ipv6: mcast: Delay put pmc->idev in mld_del_delrec() Date: Sat, 16 Aug 2025 13:34:27 +0200 Message-ID: <2025081628-CVE-2025-38550-9bfd@gregkh> X-Mailer: git-send-email 2.50.1 Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Reply-to: , X-Developer-Signature: v=1; a=openpgp-sha256; l=2578; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=j9KnjSHg5RBpDeRw2WEev7IdLSe8O4YPYVgsGdKVp/Y=; b=owGbwMvMwCRo6H6F97bub03G02pJDBkLco743F6SdT8+UXhL/Lt7Cc3NR79qzTJI1jqXnfr4p AjfAYb0jlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZiIUwvDgtPbnvjuFp1116vS p4GBy0W7rvFmHMOChVvehYn6HS1Yrlm/kV0/5cRSn4dCAA== 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: Delay put pmc->idev in mld_del_delrec() pmc->idev is still used in ip6_mc_clear_src(), so as mld_clear_delrec() does, the reference should be put after ip6_mc_clear_src() return. The Linux kernel CVE team has assigned CVE-2025-38550 to this issue. Affected and fixed versions =========================== Issue introduced in 5.13 with commit 63ed8de4be81b699ca727e9f8e3344bd487806d7 and fixed in 6.1.147 with commit 728db00a14cacb37f36e9382ab5fad55caf890cc Issue introduced in 5.13 with commit 63ed8de4be81b699ca727e9f8e3344bd487806d7 and fixed in 6.6.100 with commit dcbc346f50a009d8b7f4e330f9f2e22d6442fa26 Issue introduced in 5.13 with commit 63ed8de4be81b699ca727e9f8e3344bd487806d7 and fixed in 6.12.40 with commit 7929d27c747eafe8fca3eecd74a334503ee4c839 Issue introduced in 5.13 with commit 63ed8de4be81b699ca727e9f8e3344bd487806d7 and fixed in 6.15.8 with commit 5f18e0130194550dff734e155029ae734378b5ea Issue introduced in 5.13 with commit 63ed8de4be81b699ca727e9f8e3344bd487806d7 and fixed in 6.16 with commit ae3264a25a4635531264728859dbe9c659fad554 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-2025-38550 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/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/728db00a14cacb37f36e9382ab5fad55caf890cc https://git.kernel.org/stable/c/dcbc346f50a009d8b7f4e330f9f2e22d6442fa26 https://git.kernel.org/stable/c/7929d27c747eafe8fca3eecd74a334503ee4c839 https://git.kernel.org/stable/c/5f18e0130194550dff734e155029ae734378b5ea https://git.kernel.org/stable/c/ae3264a25a4635531264728859dbe9c659fad554