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 0363730FF10 for ; Wed, 18 Feb 2026 14:54:13 +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=1771426454; cv=none; b=ififXqlcNIHvftJPQ0j0luBEK1CS+c6ogZATccGlgy1w8061IxZ/vPMNnM9jxF+F9/OZ2X8sF/IPiGiQ0Xcnsmx1Ii/wLp+6XxCsVs0UN9cWz94YIiySzVj/V80XmMfHi55NlpeaA12EVzRYJwCgnidMzQfV58Pv480cEykhpvQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771426454; c=relaxed/simple; bh=RHpPwietvt6qJDj6+VL28a9+EBTe3wnaLAMYVxRjy2g=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=lMZ8rmvJiatwDIgnSk7LcgHZ3D/YSUpraTYabHg5QYmg8bmW8BcW1e5Y6Y1M8h/lsM680vCsz+qp/ymggT35vxc8+lNNEZO7hz6/YRCJ5VfS5IowGtqvUnhFM8JOfFxItdLOTcoqcZ3VB2o7WkNGLOTZxhbAf8EyaB3Y46am9Pw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=LhDHIzev; 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="LhDHIzev" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 082E8C116D0; Wed, 18 Feb 2026 14:54:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1771426453; bh=RHpPwietvt6qJDj6+VL28a9+EBTe3wnaLAMYVxRjy2g=; h=From:To:Cc:Subject:Date:Reply-To:From; b=LhDHIzev4HnLDjilHhvDg2edQZCn+7hA9Zg7dnT7p6luUNOqLL33QCWSRl1umosSr p2UmJBqAMWt0ymTuGEUMebaJgyUaLfbTgaqjrkKhFH4lzuS1SeGsRX9qjx/lzwIO+B TrmfCXaHdXCn7IF070PFWmbW5iKI8Km3y5DWCxb0= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-71230: hfs: ensure sb->s_fs_info is always cleaned up Date: Wed, 18 Feb 2026 15:54:01 +0100 Message-ID: <2026021804-CVE-2025-71230-8e25@gregkh> X-Mailer: git-send-email 2.53.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=2037; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=Pf2ZKg6dEp44z41KKRYcKFU0lXaBd9m7CG/ieUNQ3DM=; b=owGbwMvMwCRo6H6F97bub03G02pJDJlTL/X0tD1r0Q8u0Rdz/3KNe/ZNcYnoCrGDk1e3hru0r mu+F3yyI5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACaS1sMwV+TtQpmbB54q23mq Hmhi+sKgxLVNkGF+xPnwH+9iUl23Pm7/pMPgey3z/vtiAA== 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: hfs: ensure sb->s_fs_info is always cleaned up When hfs was converted to the new mount api a bug was introduced by changing the allocation pattern of sb->s_fs_info. If setup_bdev_super() fails after a new superblock has been allocated by sget_fc(), but before hfs_fill_super() takes ownership of the filesystem-specific s_fs_info data it was leaked. Fix this by freeing sb->s_fs_info in hfs_kill_super(). The Linux kernel CVE team has assigned CVE-2025-71230 to this issue. Affected and fixed versions =========================== Fixed in 6.18.11 with commit 46c1d56ad321fb024761abd9af61a0cb616cf2f6 Fixed in 6.19.1 with commit 399219831514126bc9541e8eadefe02c6fbd9166 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-71230 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: fs/hfs/mdb.c fs/hfs/super.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/46c1d56ad321fb024761abd9af61a0cb616cf2f6 https://git.kernel.org/stable/c/399219831514126bc9541e8eadefe02c6fbd9166 https://git.kernel.org/stable/c/05ce49a902be15dc93854cbfc20161205a9ee446