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 D746E274FDB for ; Wed, 1 Oct 2025 11:57:05 +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=1759319825; cv=none; b=Xy9EuJzR+sWutK6eUqRAYfgY7HED7z1ag5NStqwmlcRij0aIV8E+KFZDH3QWl5DXj/GhLyrJAvZowfieVjHK30z3158tu0T8QzZfRrVup2ZHLgXV07TNTTHK6nI0GGi+ufrUlCExt5xwUsdHDh7c4IMyROgTr0b5Pnk7Vffw8Dc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1759319825; c=relaxed/simple; bh=mJpZBImxdkmQJUWNTFXEKbG84mFNPhuBivGstblHeyM=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=J8dZC9YJgB0jbZGWbdfv3l4pZw0qVvFlUmC+6cGdrLyQLeRm/NQYJlelvTPYR26VCQBmcDhjAYxpjNwjYs5QKk7b/83yaTsok2oWQXnq+Ab130XYk2K+UYRAHIbvl8Bgdw5KY1H18ObmXlc/VUKA0yr6jzCDhFhPK3toVyXLZOY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=gC+dJFh0; 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="gC+dJFh0" Received: by smtp.kernel.org (Postfix) with ESMTPSA id F0198C4CEF4; Wed, 1 Oct 2025 11:57:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1759319825; bh=mJpZBImxdkmQJUWNTFXEKbG84mFNPhuBivGstblHeyM=; h=From:To:Cc:Subject:Date:Reply-to:From; b=gC+dJFh0MuLp966fA5+b1Vr/R/wzY4CxWOnFAO9CkI9ENUJNbQoKvN+bD0nUbasVR yVWxZtbZsOfvjoh6i4/TkE3R/BKbPyQrJyREUo8ubDgVJU86NXZRJorjXli2hX12fP hVehmodnJzZ8VCuWbIxWSc61XhnqrtI6xw6ENZ+M= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-53506: udf: Do not bother merging very long extents Date: Wed, 1 Oct 2025 13:45:58 +0200 Message-ID: <2025100128-CVE-2023-53506-2778@gregkh> X-Mailer: git-send-email 2.51.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=2824; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=/5g3u23Kg50Gj9SJVK8aSuIvv2+XmOZP9wYWlGWoLJM=; b=owGbwMvMwCRo6H6F97bub03G02pJDBl3RSIYbRcm7qtdYXXB9cb8q1xsRsrRiyI4GPXkzmofM ZgcOc2rI5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACZitIdhwRRF3Q52a8myiXO4 Y0KbFt4xXObvxjDPYvVhJ/bwD/pefOXZ2+y6Vty41n8YAA== 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: udf: Do not bother merging very long extents When merging very long extents we try to push as much length as possible to the first extent. However this is unnecessarily complicated and not really worth the trouble. Furthermore there was a bug in the logic resulting in corrupting extents in the file as syzbot reproducer shows. So just don't bother with the merging of extents that are too long together. The Linux kernel CVE team has assigned CVE-2023-53506 to this issue. Affected and fixed versions =========================== Fixed in 4.14.308 with commit d52252a1de4cf96a34f722b0cd8902d8ff78eb57 Fixed in 4.19.276 with commit 5d029799d381a9ee06209a222cae75f04c5d5304 Fixed in 5.4.235 with commit 3d20e3b768aff32112bdce8d3219d923ae75f9f1 Fixed in 5.10.173 with commit 965982feb333aefa9256c0fe188b5f1b958aef63 Fixed in 5.15.99 with commit 9a8d602f0723586e668bae7e65c832ceb9bcc8bc Fixed in 6.1.16 with commit adac9ac6d2e04ea0782b91a00ba10706002f3ec4 Fixed in 6.2.3 with commit 7a965da79f2d22601f329cbfce588386b0847544 Fixed in 6.3 with commit 53cafe1d6d8ef9f93318e5bfccc0d24f27d41ced 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-2023-53506 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/udf/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/d52252a1de4cf96a34f722b0cd8902d8ff78eb57 https://git.kernel.org/stable/c/5d029799d381a9ee06209a222cae75f04c5d5304 https://git.kernel.org/stable/c/3d20e3b768aff32112bdce8d3219d923ae75f9f1 https://git.kernel.org/stable/c/965982feb333aefa9256c0fe188b5f1b958aef63 https://git.kernel.org/stable/c/9a8d602f0723586e668bae7e65c832ceb9bcc8bc https://git.kernel.org/stable/c/adac9ac6d2e04ea0782b91a00ba10706002f3ec4 https://git.kernel.org/stable/c/7a965da79f2d22601f329cbfce588386b0847544 https://git.kernel.org/stable/c/53cafe1d6d8ef9f93318e5bfccc0d24f27d41ced