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 66169824A3 for ; Tue, 16 Sep 2025 08:13:51 +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=1758010431; cv=none; b=cgm9CPu6cAWtr5wdOFLA8gC3In3TyXhNo7yLrwdshdpXawvAXii8s0/mfiBzdp4umERJ/kdILrucwf2/6+huRDhdlw0c15BgaqF0J82hlyrUlfJ3cTJvoOrVQqIDLIGFJZRD0YJ0dCcXbpNyz3gzN0JTc5ei57E0JrphW0KHNcI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1758010431; c=relaxed/simple; bh=Za1WbcvJdNEuHjvSEhhNkYzv1C1XZ6QcrmUeiA5BYzo=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=G8PZff9GNdUeJM4+/7DEy+/d0B5NK6UcQjPRWwapNUDQWrC3lNtnZZD7eJLgbn+/U6UOgqvRCjEuXYN6DZ60Ypjr/f8iWiB8CeD63JNZTb9CyPAYPSWN+1YaOf1pUjIhYUjA+4hGDNwej6FwBZr4HtHdS/5xkqJvMoImC2OeT+I= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=IcBwf/yx; 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="IcBwf/yx" Received: by smtp.kernel.org (Postfix) with ESMTPSA id DB1ABC4CEEB; Tue, 16 Sep 2025 08:13:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1758010431; bh=Za1WbcvJdNEuHjvSEhhNkYzv1C1XZ6QcrmUeiA5BYzo=; h=From:To:Cc:Subject:Date:Reply-to:From; b=IcBwf/yxJ5h9I4yM/UBmAbnTRF8ye4J3K9QIeLb4hdi9f5xGix9PapV6QYTH5L/Vs FtZgaBd0eK/E3gKX+Wii8HzhO/j0kgf8VFf8YTWxMlQL7VCfL9JCRSx1APlr+ax3+T GWn2IXr9QKL4UN0W43vqpiNZhEJPv6bx0yU3rkzg= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-53295: udf: Do not update file length for failed writes to inline files Date: Tue, 16 Sep 2025 10:11:45 +0200 Message-ID: <2025091627-CVE-2023-53295-046c@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=2688; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=HdyikrU3LMh8YAP4CuUGvgL9DORe461jzZWnQvG4DCM=; b=owGbwMvMwCRo6H6F97bub03G02pJDBknpdfvb3lQtWK/a7Bjns2KvRqTnqSWn9imu11G/eNzf 78XjRcSOmJZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAisvUM8+v0W5qrn4n/sduU w7lCerl8h8qD7wyzmDuvhhX5ubP1Tyqotb/H3PI4UvknAA== 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 update file length for failed writes to inline files When write to inline file fails (or happens only partly), we still updated length of inline data as if the whole write succeeded. Fix the update of length of inline data to happen only if the write succeeds. The Linux kernel CVE team has assigned CVE-2023-53295 to this issue. Affected and fixed versions =========================== Fixed in 4.14.308 with commit 5621f7a8139053d0c3c47fb68ee9f602139eb40a Fixed in 4.19.276 with commit 5a6c373d761f55635e175fa2f407544bae8f583b Fixed in 5.4.235 with commit 7bd8d9e1cf5607ee14407f4060b9a1dbb3c42802 Fixed in 5.10.173 with commit eb2133900cac2d2f78befd6be41666cf1a2315d9 Fixed in 5.15.99 with commit c5787d77a5c29fffd295d138bd118b334990a567 Fixed in 6.1.16 with commit 6837910aeb2c9101fc036dcd1b1f32615c20ec1a Fixed in 6.2.3 with commit 6d18cedc1ef0caeb1567cab660079e48844ff6d6 Fixed in 6.3 with commit 256fe4162f8b5a1625b8603ca5f7ff79725bfb47 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-53295 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/file.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/5621f7a8139053d0c3c47fb68ee9f602139eb40a https://git.kernel.org/stable/c/5a6c373d761f55635e175fa2f407544bae8f583b https://git.kernel.org/stable/c/7bd8d9e1cf5607ee14407f4060b9a1dbb3c42802 https://git.kernel.org/stable/c/eb2133900cac2d2f78befd6be41666cf1a2315d9 https://git.kernel.org/stable/c/c5787d77a5c29fffd295d138bd118b334990a567 https://git.kernel.org/stable/c/6837910aeb2c9101fc036dcd1b1f32615c20ec1a https://git.kernel.org/stable/c/6d18cedc1ef0caeb1567cab660079e48844ff6d6 https://git.kernel.org/stable/c/256fe4162f8b5a1625b8603ca5f7ff79725bfb47