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 06670205AA3 for ; Wed, 16 Apr 2025 14:17:33 +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=1744813054; cv=none; b=iRDhqA3XyXlluIwtc1R1PO6XAw/7kQ73DABWUVShF7dZ0J4PZgf6TI1yCYczYZjcaoXu8ZkwOodu5N6bvGNwQrLednpFz0rUI6r3Km6PEkZhHDNK0UhWabbTkbkd1uYV/qHsJZ26CAiczfSMqhQqqhspgJC1Rce/3qgLh5VVnhE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1744813054; c=relaxed/simple; bh=elJ3B0BdGfw08s8Dj9MXzfKMgF0qLBQrXehmv8NSO4M=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=AwgvM7Fm+xxhFOLLF/6ucNSvY0JvS6ObaZWwU06FYWtcO0TTk1UTHPiKeO9QJmJhc/BC+EcCb38TRiNMB3qKKcb8S+4PQ+lJ4sHbigXO+pmotvFa2s9nxoiSN61lwutXIOX6Mi8FXDBXuNqKufHA2VWCgp8yiVxM1wz0U/LC93c= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=TQHNvyvq; 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="TQHNvyvq" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 22961C4CEE2; Wed, 16 Apr 2025 14:17:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1744813053; bh=elJ3B0BdGfw08s8Dj9MXzfKMgF0qLBQrXehmv8NSO4M=; h=From:To:Cc:Subject:Date:Reply-to:From; b=TQHNvyvqe2jdXHU3OEasms0MESuydYEUZ2JmJi6jpOD9XK34uW41ttmVJRldbTtxk PvjwfPCJhKE9j+1vC1HC+rp4sCG91X5oxVWp3hMnFB/37Db3Eq6U9ZkCVkhnpV42O0 0LBFdoT/HSAFsC36arjEsGf2nRbunPH5SZBkJJB4= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-22073: spufs: fix a leak on spufs_new_file() failure Date: Wed, 16 Apr 2025 16:12:44 +0200 Message-ID: <2025041611-CVE-2025-22073-4f4b@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=3633; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=elJ3B0BdGfw08s8Dj9MXzfKMgF0qLBQrXehmv8NSO4M=; b=owGbwMvMwCRo6H6F97bub03G02pJDOn/d+3++JJNc+2N2Pfxk+zS/tm+lPr5jEm2qFxvWsycj wbXlZOzO2JZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAir1IZ5sfkr956UC392j2u bhXfQwXfbcW19jEsmHFfQPB1gOWEdomnN/PYjCMZrDaeAwA= 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 on spufs_new_file() failure It's called from spufs_fill_dir(), and caller of that will do spufs_rmdir() in case of failure. That does remove everything we'd managed to create, but... the problem dentry is still negative. IOW, it needs to be explicitly dropped. The Linux kernel CVE team has assigned CVE-2025-22073 to this issue. Affected and fixed versions =========================== Issue introduced in 2.6.16 with commit 3f51dd91c80746a5cf76f8c4a77bfc88aa82bb9e and fixed in 5.4.292 with commit b1eef06d10c1a9848e3a762919bbbe315a0a7cb4 Issue introduced in 2.6.16 with commit 3f51dd91c80746a5cf76f8c4a77bfc88aa82bb9e and fixed in 5.10.236 with commit 132925bd6772d7614340fb755ac5415462ac8edd Issue introduced in 2.6.16 with commit 3f51dd91c80746a5cf76f8c4a77bfc88aa82bb9e and fixed in 5.15.180 with commit 53b189651c33b5f1fb3b755e6a37a8206978514e Issue introduced in 2.6.16 with commit 3f51dd91c80746a5cf76f8c4a77bfc88aa82bb9e and fixed in 6.1.134 with commit 96de7fbdc2dcadeebc17c3cb89e7cdab487bfce0 Issue introduced in 2.6.16 with commit 3f51dd91c80746a5cf76f8c4a77bfc88aa82bb9e and fixed in 6.6.87 with commit 90d1b276d1b1379d20ad27d1f6349ba9f44a2e00 Issue introduced in 2.6.16 with commit 3f51dd91c80746a5cf76f8c4a77bfc88aa82bb9e and fixed in 6.12.23 with commit 35f789ccebd69f6f9a1e0a9b85435003b2450065 Issue introduced in 2.6.16 with commit 3f51dd91c80746a5cf76f8c4a77bfc88aa82bb9e and fixed in 6.13.11 with commit d791985ceeb081155b4e96d314ca54c7605dcbe0 Issue introduced in 2.6.16 with commit 3f51dd91c80746a5cf76f8c4a77bfc88aa82bb9e and fixed in 6.14.2 with commit 0bd56e4e72c354b65c0a7e5ac1c09eca81949d5b Issue introduced in 2.6.16 with commit 3f51dd91c80746a5cf76f8c4a77bfc88aa82bb9e and fixed in 6.15-rc1 with commit d1ca8698ca1332625d83ea0d753747be66f9906d 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-22073 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/b1eef06d10c1a9848e3a762919bbbe315a0a7cb4 https://git.kernel.org/stable/c/132925bd6772d7614340fb755ac5415462ac8edd https://git.kernel.org/stable/c/53b189651c33b5f1fb3b755e6a37a8206978514e https://git.kernel.org/stable/c/96de7fbdc2dcadeebc17c3cb89e7cdab487bfce0 https://git.kernel.org/stable/c/90d1b276d1b1379d20ad27d1f6349ba9f44a2e00 https://git.kernel.org/stable/c/35f789ccebd69f6f9a1e0a9b85435003b2450065 https://git.kernel.org/stable/c/d791985ceeb081155b4e96d314ca54c7605dcbe0 https://git.kernel.org/stable/c/0bd56e4e72c354b65c0a7e5ac1c09eca81949d5b https://git.kernel.org/stable/c/d1ca8698ca1332625d83ea0d753747be66f9906d