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 534CC12C499 for ; Mon, 21 Oct 2024 20:10:09 +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=1729541409; cv=none; b=HunSX6lhe13CD1AO8KwQkN0Hxd54zxEbgPoEsYbHze1HvO8vA6tolqBoazjDcAb1rEC3tADvnXQkf2RQ8im/Vgeqnq1PYqjwbv0L+N3cTfs4C1shk4qdzlKmrzYUrIMWQp42TGxbKkF7UE8wb3snEtQ1nBflLZBOdcSSxcHyq6E= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729541409; c=relaxed/simple; bh=XZ7qJzztRZb7qaFY+yMgYIaLAU/riTKfMfylHFB58Ew=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=f+C1CkReL2hCzxnRPrBhf+xEUqfxcltpKPnBX1KxyQG6Qm1ltJUaqGJHctULRCPQYWAx0jzkouuYBuMk3bfcPX06GB6ibPkpimUDFS0v9YGFAuuQIJLADVqhcKe0LoYH1MwS4JYTnoG9M1I1rIvgsGsRaA9kE5s0Vpz5Vtoa0Sw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=LYP5nhLx; 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="LYP5nhLx" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7E865C4CEC3; Mon, 21 Oct 2024 20:10:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1729541408; bh=XZ7qJzztRZb7qaFY+yMgYIaLAU/riTKfMfylHFB58Ew=; h=From:To:Cc:Subject:Date:Reply-to:From; b=LYP5nhLxrFNsKWNRqlPw0QXrwWrd+N86Ht+husRP6P2K56We+4ieGD52aRe4tuHVJ eXsBgdBIUqKcdQl26EA5LKxDq9Nq/gMJ63gqhiklkeGmVMFBz2EouTwHFMNPFQBwf8 AUyw1HZGzpi2brsiNnTsB6WSqj7uF/TXO8d2eK/I= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-48946: udf: Fix preallocation discarding at indirect extent boundary Date: Mon, 21 Oct 2024 22:05:38 +0200 Message-ID: <2024102138-CVE-2022-48946-5989@gregkh> X-Mailer: git-send-email 2.47.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=2585; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=XZ7qJzztRZb7qaFY+yMgYIaLAU/riTKfMfylHFB58Ew=; b=owGbwMvMwCRo6H6F97bub03G02pJDOliW4Q+Hws8vmjRlttP3Oeqfw1ifLmwYfl3r9ol3dFrd VhvuP080RHLwiDIxCArpsjyZRvP0f0VhxS9DG1Pw8xhZQIZwsDFKQATWTWPYb5vnuMko8nrVr5/ /KlEtNt4+7b9x0UZFuyKVBH/FTyr+Ul2xkd1S997/SK62wE= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit Description =========== In the Linux kernel, the following vulnerability has been resolved: udf: Fix preallocation discarding at indirect extent boundary When preallocation extent is the first one in the extent block, the code would corrupt extent tree header instead. Fix the problem and use udf_delete_aext() for deleting extent to avoid some code duplication. The Linux kernel CVE team has assigned CVE-2022-48946 to this issue. Affected and fixed versions =========================== Fixed in 4.9.337 with commit c8b6fa4511a7 Fixed in 4.14.303 with commit 7665857f8855 Fixed in 4.19.270 with commit 72f651c96c8a Fixed in 5.4.229 with commit 4d835efd561d Fixed in 5.10.161 with commit 1a075f4a5494 Fixed in 5.15.85 with commit 63dbbd8f1499 Fixed in 6.0.15 with commit ae56d9a01772 Fixed in 6.1.1 with commit 12a88f572d6d Fixed in 6.2 with commit cfe4c1b25dd6 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-48946 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/truncate.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/c8b6fa4511a7900db9fb0353b630d4d2ed1ba99c https://git.kernel.org/stable/c/7665857f88557c372da35534165721156756f77f https://git.kernel.org/stable/c/72f651c96c8aadf087fd782d551bf7db648a8c2e https://git.kernel.org/stable/c/4d835efd561dfb9bf5409f11f4ecd428d5d29226 https://git.kernel.org/stable/c/1a075f4a549481ce6e8518d8379f193ccec6b746 https://git.kernel.org/stable/c/63dbbd8f1499b0a161e701a04aa50148d60bd1f7 https://git.kernel.org/stable/c/ae56d9a017724f130cf1a263dd82a78d2a6e3852 https://git.kernel.org/stable/c/12a88f572d6d94b5c0b72e2d1782cc2e96ac06cf https://git.kernel.org/stable/c/cfe4c1b25dd6d2f056afc00b7c98bcb3dd0b1fc3