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 B83643EE1C5 for ; Wed, 6 May 2026 11:28:57 +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=1778066937; cv=none; b=m9ViT3d9f5BZP7VeV/CL4DCwkfFMUKDpJr7iN5MKoTNaG6OKxxrAARwM3ppSRAbU0GU5+KN083jKSpWTklbUF6dXVtGgl1WIcaZrpXgyAdqgqSaJqkdaxDExtbOM/XG7AxliFbTeYorIzyKlbqKpUot07gVp7EPFhCCA1qKFRJs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778066937; c=relaxed/simple; bh=S0JQhH4dFSZ9H6ohPohlrfkTF3M64X7plu0gDauY6nY=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=iSajucBv2EsQUiHmeRqHEgPeIrvNkwVBX7r2HWbdrR9jcoHlCd1orBeaRSWUiaRgh8+eViGEWY/mMLH0JCIRP66rTHIwe1sFK6MEexkazM1rpVXkyBM6thloxn4jaW78zvw8Fwj2R8XHVKHD/Dwm+mEOWN6FmxXdM1p2s3yxC2s= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=IzI2hKBH; 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="IzI2hKBH" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1BA19C2BCB8; Wed, 6 May 2026 11:28:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1778066937; bh=S0JQhH4dFSZ9H6ohPohlrfkTF3M64X7plu0gDauY6nY=; h=From:To:Cc:Subject:Date:Reply-To:From; b=IzI2hKBHRbIMn6XORmxQefkWyMkm0e3YydaLAQ1bQu68cc+Op7bJZ+qyjnEZp0494 ZfB4D6+S76EZeGw1riJDS1wAlHfLE62Kjrrlbfti29kRJAvGG/vRI3Tj8JS0z9rNuB vzJKZgKvkxp/W0Ns4BEruqvU0RhC7S2aqjBVcHSA= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-71271: hfsplus: ensure sb->s_fs_info is always cleaned up Date: Wed, 6 May 2026 13:27:13 +0200 Message-ID: <2026050614-CVE-2025-71271-6cab@gregkh> X-Mailer: git-send-email 2.54.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=2356; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=GN2A1H/0ujx2lzz1cuaIrDCnvp6mr1IqZvBRkmFK164=; b=owGbwMvMwCRo6H6F97bub03G02pJDJm/VSc5fkgX+yNgsiEr8TqLpHp0cY3H1uenJF9surctp 0BnR/qOjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZhIQhjDfIf7FzStdlrsP/tD cXue7rcIj0NhLxkWHIpSCWjJOf/vSiMXc+4vMY63xqF9AA== 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: hfsplus: ensure sb->s_fs_info is always cleaned up When hfsplus 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 hfsplus_fill_super() takes ownership of the filesystem-specific s_fs_info data it was leaked. Fix this by freeing sb->s_fs_info in hfsplus_kill_super(). The Linux kernel CVE team has assigned CVE-2025-71271 to this issue. Affected and fixed versions =========================== Issue introduced in 6.13 with commit 432f7c78cb000a3151fa0d39585b000312f50d7e and fixed in 6.18.16 with commit 0bcfebb83b5460d5be4e5c9dfb19cdaf3d4cb1db Issue introduced in 6.13 with commit 432f7c78cb000a3151fa0d39585b000312f50d7e and fixed in 6.19.6 with commit 1e38d32bb04d85a2c81204a85a34878a497128c8 Issue introduced in 6.13 with commit 432f7c78cb000a3151fa0d39585b000312f50d7e and fixed in 7.0 with commit 126fb0ce99431126b44a6c360192668c818f641f 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-71271 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/hfsplus/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/0bcfebb83b5460d5be4e5c9dfb19cdaf3d4cb1db https://git.kernel.org/stable/c/1e38d32bb04d85a2c81204a85a34878a497128c8 https://git.kernel.org/stable/c/126fb0ce99431126b44a6c360192668c818f641f