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 7AE501B87E2 for ; Wed, 16 Apr 2025 14:17:27 +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=1744813047; cv=none; b=Bgc1ihI9gxYlKnpQeQeq6em7odUULFnpMsHaD8sHCEQ2W5G4fS6hksMF8RmIJmHWbpO1G3dZJsaGAiosFVp4SxpF7Fq1mPhZqZKV+BRPm9w1yfifsImidUthXyp5U33Lj8C0gJuPWqBgvLOfJXm1x8uK/pfjwYPpZAfW9FX0AGk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1744813047; c=relaxed/simple; bh=iDKhO8Fr3S0NpfZLG0r3BOlAtVWW9XaKb/4QaljKTFI=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=YAbxAGJEpjoWjU9u1O4angvQLNzCVq6OWaJXtEpPDfkuZ+QQoYTS7ZyjvnJH39tbzTNaB9k3NUkxmcCPrhqOT/vaFeOJd06qVfYF2GxMkBbTFRWgs8fR27qPrd+TiUhN6TvLW0EPIjBzZT85uSn4FXTZzXo1beNBcf3VRKJ8bqw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=Q8ZrcCNL; 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="Q8ZrcCNL" Received: by smtp.kernel.org (Postfix) with ESMTPSA id F3E93C4CEE4; Wed, 16 Apr 2025 14:17:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1744813047; bh=iDKhO8Fr3S0NpfZLG0r3BOlAtVWW9XaKb/4QaljKTFI=; h=From:To:Cc:Subject:Date:Reply-to:From; b=Q8ZrcCNLsHzLq9/hfRLfQBocnmTcdH5NCE+7/bvPjq0Xpen/GoZNZbMT6+z9o6RBV ckaDJc5SWVZavYnQmhEluUDmKsiPlQq2iq/dU6U3m+CBjGSlLganqOekSWGraphSDf EN//RUajpqItnwUq/k6++kIXPxH2oSi1fwB435GE= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-22071: spufs: fix a leak in spufs_create_context() Date: Wed, 16 Apr 2025 16:12:42 +0200 Message-ID: <2025041610-CVE-2025-22071-ca32@gregkh> X-Mailer: git-send-email 2.49.0 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=3537; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=iDKhO8Fr3S0NpfZLG0r3BOlAtVWW9XaKb/4QaljKTFI=; b=owGbwMvMwCRo6H6F97bub03G02pJDOn/d+3aES2Rd+/YSU2PjBMCESXTzllviLqkrV4ocSPEz Kiz1GV6RywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAExkRTDD/MqDjb7TJ7iY6jd5 vg/QtYm3kOrdyDBXtvixbqBccfVMs8oHcbs/bswwvukOAA== X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit Description =========== In the Linux kernel, the following vulnerability has been resolved: spufs: fix a leak in spufs_create_context() Leak fixes back in 2008 missed one case - if we are trying to set affinity and spufs_mkdir() fails, we need to drop the reference to neighbor. The Linux kernel CVE team has assigned CVE-2025-22071 to this issue. Affected and fixed versions =========================== Issue introduced in 2.6.25 with commit 58119068cb27ef7513f80aff44b62a3a8f40ef5f and fixed in 5.4.292 with commit 829bd6139968e2e759f3928cf65ad0db1e302fe3 Issue introduced in 2.6.25 with commit 58119068cb27ef7513f80aff44b62a3a8f40ef5f and fixed in 5.10.236 with commit 410c787d89c92df4215d7b1a338e2c1a8aba6b9b Issue introduced in 2.6.25 with commit 58119068cb27ef7513f80aff44b62a3a8f40ef5f and fixed in 5.15.180 with commit c4e72a0d75442237b6f3bcca10a7d81b89376d16 Issue introduced in 2.6.25 with commit 58119068cb27ef7513f80aff44b62a3a8f40ef5f and fixed in 6.1.134 with commit a333f223e555d27609f8b45d75a08e8e1d36c432 Issue introduced in 2.6.25 with commit 58119068cb27ef7513f80aff44b62a3a8f40ef5f and fixed in 6.6.87 with commit 239ea3c34673b3244a499fd65771c47e5bffcbb0 Issue introduced in 2.6.25 with commit 58119068cb27ef7513f80aff44b62a3a8f40ef5f and fixed in 6.12.23 with commit d04600f43569d48262e1328eaa1592fcefa2c19c Issue introduced in 2.6.25 with commit 58119068cb27ef7513f80aff44b62a3a8f40ef5f and fixed in 6.13.11 with commit 5a90b699844a5bb96961e5892e51cc59255444a3 Issue introduced in 2.6.25 with commit 58119068cb27ef7513f80aff44b62a3a8f40ef5f and fixed in 6.14.2 with commit 4a7448c83e117ed68597952ecaede1cebc4427a7 Issue introduced in 2.6.25 with commit 58119068cb27ef7513f80aff44b62a3a8f40ef5f and fixed in 6.15-rc1 with commit 0f5cce3fc55b08ee4da3372baccf4bcd36a98396 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-22071 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: arch/powerpc/platforms/cell/spufs/inode.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/829bd6139968e2e759f3928cf65ad0db1e302fe3 https://git.kernel.org/stable/c/410c787d89c92df4215d7b1a338e2c1a8aba6b9b https://git.kernel.org/stable/c/c4e72a0d75442237b6f3bcca10a7d81b89376d16 https://git.kernel.org/stable/c/a333f223e555d27609f8b45d75a08e8e1d36c432 https://git.kernel.org/stable/c/239ea3c34673b3244a499fd65771c47e5bffcbb0 https://git.kernel.org/stable/c/d04600f43569d48262e1328eaa1592fcefa2c19c https://git.kernel.org/stable/c/5a90b699844a5bb96961e5892e51cc59255444a3 https://git.kernel.org/stable/c/4a7448c83e117ed68597952ecaede1cebc4427a7 https://git.kernel.org/stable/c/0f5cce3fc55b08ee4da3372baccf4bcd36a98396