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 7EADD280CD5 for ; Wed, 24 Dec 2025 13:07:29 +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=1766581649; cv=none; b=CD7LaF0zRMh7CVtrAv5dDPySFXb58Zco7eVIYUvokGnYPT+6QG3QsQ87fGrV5/fq9NoFrOQjAKtP9wmTs1pApviedUnL1Qgp1KZLNL+LgZcuyhD+J8GFk5Df7MIfcrTrQf+b6g+a8eDhqoteKxkeFSzxdxyHLUdRYYILIa9bhz4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766581649; c=relaxed/simple; bh=3uEbsCqJbYT81Gz8F006s47R0ekD+g2eteSZ8pt8vjo=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=GObRn4+T8K0kDJUlX53XVS/oNhBHMgLEsyRlTLqZDDxfBDz0ghzRJV4zjD+VLMzPtHMMY5jo+M4ZaAamSLcsOlWEETu6bqTjwr71P3SnIpmpy+vItvqC4AjEVxhP6XOG6kNdYYv3NUezlMrqRahMMvkQSHgOZb7sVINgQX3empU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=cTBfK4sh; 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="cTBfK4sh" Received: by smtp.kernel.org (Postfix) with ESMTPSA id B6773C4CEFB; Wed, 24 Dec 2025 13:07:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1766581649; bh=3uEbsCqJbYT81Gz8F006s47R0ekD+g2eteSZ8pt8vjo=; h=From:To:Cc:Subject:Date:Reply-To:From; b=cTBfK4sh1waaJrM2NTjsH1zhmJIgQv3FjkuGZQNWnaig+EhWpfkZYedFi54gQko66 czTbuR/+i3SjDUZboyTdqnq+Qbh5feYbnD+R8FXu1UEU64R9ROxWNA1FnkBGb6RChC 1E/eoDuufjJ59GTKkHyChNluGmU9lXgOBXKjkkVQ= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-50762: fs/ntfs3: Avoid UBSAN error on true_sectors_per_clst() Date: Wed, 24 Dec 2025 14:06:13 +0100 Message-ID: <2025122455-CVE-2022-50762-282c@gregkh> X-Mailer: git-send-email 2.52.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=2687; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=jU/iFu3IK21WoS2eeLnCjQ1nXNGSI9HebGWRXh1Y+OY=; b=owGbwMvMwCRo6H6F97bub03G02pJDJneT415WDyecdy/v37Ts73f1h2c+0x185G91p8+zLVbK qtzM+Z1YEcsC4MgE4OsmCLLl208R/dXHFL0MrQ9DTOHlQlkCAMXpwBMJGU7w1zxao15N6+kPItl yD7pd6S8UUe36QXDgqsFNQsTt4lt9N0QHRexyf5G3OdT8gA= 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: fs/ntfs3: Avoid UBSAN error on true_sectors_per_clst() syzbot reported UBSAN error as below: [ 76.901829][ T6677] ================================================================================ [ 76.903908][ T6677] UBSAN: shift-out-of-bounds in fs/ntfs3/super.c:675:13 [ 76.905363][ T6677] shift exponent -247 is negative This patch avoid this error. The Linux kernel CVE team has assigned CVE-2022-50762 to this issue. Affected and fixed versions =========================== Issue introduced in 5.15.45 with commit 58cf68a1886d14ffdc5c892ce483a82156769e88 and fixed in 5.15.86 with commit 4b51f27d4448c84957bce190292f75d4896d56b3 Issue introduced in 5.19 with commit a3b774342fa752a5290c0de36375289dfcf4a260 and fixed in 6.0.16 with commit 8fe280ae85177c2323ae8c9849ff27a3a6b69506 Issue introduced in 5.19 with commit a3b774342fa752a5290c0de36375289dfcf4a260 and fixed in 6.1.2 with commit 95afb464c86c6e9e95ea9e595282fa6f693072e8 Issue introduced in 5.19 with commit a3b774342fa752a5290c0de36375289dfcf4a260 and fixed in 6.2 with commit caad9dd8792a2622737b7273cb34835fd9536cd2 Issue introduced in 5.17.13 with commit 4746c49b11b2403f5b5b07c6eac9e60663dcd9a3 Issue introduced in 5.18.2 with commit a2b6986316a2d106f6951e76db70fa4b2fde64a9 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-2022-50762 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/ntfs3/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/4b51f27d4448c84957bce190292f75d4896d56b3 https://git.kernel.org/stable/c/8fe280ae85177c2323ae8c9849ff27a3a6b69506 https://git.kernel.org/stable/c/95afb464c86c6e9e95ea9e595282fa6f693072e8 https://git.kernel.org/stable/c/caad9dd8792a2622737b7273cb34835fd9536cd2