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 75CF718C32C for ; Fri, 27 Sep 2024 12:40:30 +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=1727440830; cv=none; b=m54wGMmscfN1XqNXzqq3WAIerYpATSxrqyAObOmjjTqB/nL5xjerM6Tqi7/CQriJYF6QvxgvcdTsL9vcOWq9ZFXISElZzB4+MtW6xMBey+3rpqSsqp7sIwxmXMLbbTuCFUmKdhFe/O+sy9HehKkjZKDLmkQGnxARgWKhF4jHh9I= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727440830; c=relaxed/simple; bh=7R55aK85mwjKesGL2kz27mKJi+X6awMcjYcFZnD0cmk=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Q/j6wb1prAyfQ1rSlnDe0C6Zgbg6zoWyTqkrdHz6S8ku214GbNcypajg1WVF1dlqyAPf8XTK4TwxbYZVS/9ogMFGktVsy+gL3kt1tq4T2wjBDUV0roffzAH8HJiWqAQ5v4CaoFlqOfYKxL7AMiADS1vsnUr7FC9z2DYE+Zq+Dq4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=FCbdaAUO; 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="FCbdaAUO" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0440DC4CEC4; Fri, 27 Sep 2024 12:40:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1727440830; bh=7R55aK85mwjKesGL2kz27mKJi+X6awMcjYcFZnD0cmk=; h=From:To:Cc:Subject:Date:Reply-to:From; b=FCbdaAUOZP9rjviiKaxpvxERWjeLetZrcPIIq0EC0RF0kHy8BgaEzXu2yObLT5z3F uuARa91kzhgGI9DIfAiMPyCUrvA60PhCLXqqCVlb7T16puM9vLZOJzcYTQLw9cKUHk ElJGnH3e5J7gKe3+982XYcfWJFarz7/bpdbEe/Ec= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-46841: btrfs: don't BUG_ON on ENOMEM from btrfs_lookup_extent_info() in walk_down_proc() Date: Fri, 27 Sep 2024 14:40:09 +0200 Message-ID: <2024092754-CVE-2024-46841-7572@gregkh> X-Mailer: git-send-email 2.46.2 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=1637; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=7R55aK85mwjKesGL2kz27mKJi+X6awMcjYcFZnD0cmk=; b=owGbwMvMwCRo6H6F97bub03G02pJDGnfls+yWFIxu6mceb0Rv+xj3TU5+7+IPs/0XGbVH7mM1 dMnVX1mRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAEyk5xnDXOm42hub1tiaJidf rFkZtIhd/d/0KIYFh31uz5242emKS88Un2Ddhe0NpyxnAwA= 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: btrfs: don't BUG_ON on ENOMEM from btrfs_lookup_extent_info() in walk_down_proc() We handle errors here properly, ENOMEM isn't fatal, return the error. The Linux kernel CVE team has assigned CVE-2024-46841 to this issue. Affected and fixed versions =========================== Fixed in 6.10.10 with commit 704c359b4093 Fixed in 6.11 with commit a580fb2c3479 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-46841 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/btrfs/extent-tree.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/704c359b4093a2af650a20eaa030c435d7c30f91 https://git.kernel.org/stable/c/a580fb2c3479d993556e1c31b237c9e5be4944a3