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 F41041CEEB6 for ; Fri, 8 Nov 2024 06:10:15 +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=1731046216; cv=none; b=R3nXMx+kBDCeXdnYP8IGDQOrMpDZbZ/BuUZPGdnB5qKlVgjccJqK4Ie4OkXJHJczQr8EJUuTzRop0LjCo3HgXOhUWdSdbQ4/RGM8HCNKawwDIFsfggJf5sgHeIv5YeFagiHHXnyNCJtcuzky+O7eUXJpCPfNlq52ZTaW6WtRP9o= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1731046216; c=relaxed/simple; bh=dR2o/UfsUXTGiWNV1SRVqItKgOMBYQ9LVpSqq+KWxgk=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=CJP6Q+eCC02f0JsGwtg/1sWL2GcOtRP8Km1krVoQj0WKZxRHeur0gEwFuxGKu9ENR3pSkK4IMyiH6REBPm8O3PbA8T/lmbv7bMd/hdRy6ez2Wbl89ziSHYYspfU4/JmRDxZoPsikDuE8YizrN3XRVVogjJ5ixygG/NFtXUMVBg4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=UeYFtbzN; 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="UeYFtbzN" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 15A27C4CECE; Fri, 8 Nov 2024 06:10:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1731046215; bh=dR2o/UfsUXTGiWNV1SRVqItKgOMBYQ9LVpSqq+KWxgk=; h=From:To:Cc:Subject:Date:Reply-to:From; b=UeYFtbzNJPjpT8DZ+ptcrbPlX2Q1ysvFzdYcbShT3t9ubf7omv+CTQ4IpC0B0/+Sm 2kFLeWeYfBi4bPJE6VHcJru1NIvv2gVDzOUxLMo3WEplE4ADIJvIx8nulu1BzMK0jY 7Ao/fLDoZcq/jLLWbN2mvsbhJmnmYqi9Da1tISBQ= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-50211: udf: refactor inode_bmap() to handle error Date: Fri, 8 Nov 2024 07:10:12 +0100 Message-ID: <2024110811-CVE-2024-50211-feda@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=2000; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=dR2o/UfsUXTGiWNV1SRVqItKgOMBYQ9LVpSqq+KWxgk=; b=owGbwMvMwCRo6H6F97bub03G02pJDOm6q50nSR22SlzhqZSd9Nw3YMHpRS49k25MOOHF2sbV/ nJZr9DvjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZiImynDPCONWU/rHtxQ22sT bj136ZxcGcvLfxkW7D66buJmtw/yG5YnS/zqulB0JafvCAA= 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: refactor inode_bmap() to handle error Refactor inode_bmap() to handle error since udf_next_aext() can return error now. On situations like ftruncate, udf_extend_file() can now detect errors and bail out early without resorting to checking for particular offsets and assuming internal behavior of these functions. The Linux kernel CVE team has assigned CVE-2024-50211 to this issue. Affected and fixed versions =========================== Fixed in 6.6.59 with commit 493447dd8336 Fixed in 6.11.6 with commit b22d9a5698ab Fixed in 6.12-rc2 with commit c226964ec786 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-2024-50211 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/directory.c fs/udf/inode.c fs/udf/partition.c fs/udf/truncate.c fs/udf/udfdecl.h 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/493447dd8336607fce426f7879e581095f6c606e https://git.kernel.org/stable/c/b22d9a5698abf04341f8fbc30141e0673863c3a6 https://git.kernel.org/stable/c/c226964ec786f3797ed389a16392ce4357697d24