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 C567E524A5 for ; Fri, 17 May 2024 13:25:01 +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=1715952301; cv=none; b=n67Ehn0gNJYYvoJRU6OSgxZLoeSmJOfHMjHDZ4F67SIhJ9t70ysbKZA0kJ3Gz/K1gjhy3Xe++UWs/mkct3W0/Hcew0SCzBZanSXWnnXeSaEEmqLYP6vuup4CbSSCmPZsYVT7IXkwOoAbmh7HEoxS7NHuUDJN80RueyrG2sjdNWc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715952301; c=relaxed/simple; bh=6KicDeTQvop+ndAuHnnhbILLvZp+IwyefJ7039m5alM=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=sCpAosq/4wxlwlu8o5VVQMQU9D79Fyd+ZhC1W2wrs6E7iTXW4fzoVHixCBnfOhZ6HYd8GBhlnAfOR0leixlRCTPncoEqUYuVoHoLmdopPYsKyrQ2dOYCHEQzKPJh91gpCICtdocY6YBPDI0jC6Z6R6ADvfYNWqZvihrFKi9kgAU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=YxyjIkzE; 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="YxyjIkzE" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4A68EC2BD10; Fri, 17 May 2024 13:25:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1715952301; bh=6KicDeTQvop+ndAuHnnhbILLvZp+IwyefJ7039m5alM=; h=From:To:Cc:Subject:Date:Reply-to:From; b=YxyjIkzEXK8Y87Nq0CZJqa3ZfM7yy/bT0cxppwHmqGhenvG+xImwCbjJjaBn41dqO P7oLnJM6OgYLvwpcg7mZazySR8YhYxQdmt5XLHG1M7snR13GymUKkcUfOkKVZB/xSC 1kTScEyKlI+1CtRg6skL/CIQJ3GId+U+wWoImJfY= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-35800: efi: fix panic in kdump kernel Date: Fri, 17 May 2024 15:23:40 +0200 Message-ID: <2024051738-CVE-2024-35800-219a@gregkh> X-Mailer: git-send-email 2.45.1 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=2348; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=6KicDeTQvop+ndAuHnnhbILLvZp+IwyefJ7039m5alM=; b=owGbwMvMwCRo6H6F97bub03G02pJDGnuUVHr51aV3K55XFnw+XONfJD05ouMKofCtsnOZtH6l 5AYeYCpI5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACay6xTD/Mr0lVmRJ/P+/9/w +9vaSu01y3M9axnmZ++1yzmf8PnLj/gnG/juKyvLG4WcBQA= 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: efi: fix panic in kdump kernel Check if get_next_variable() is actually valid pointer before calling it. In kdump kernel this method is set to NULL that causes panic during the kexec-ed kernel boot. Tested with QEMU and OVMF firmware. The Linux kernel CVE team has assigned CVE-2024-35800 to this issue. Affected and fixed versions =========================== Issue introduced in 6.1.81 with commit a8901f331b8b and fixed in 6.1.84 with commit b9d103aca85f Issue introduced in 6.3 with commit bad267f9e18f and fixed in 6.6.24 with commit 9114ba998750 Issue introduced in 6.3 with commit bad267f9e18f and fixed in 6.7.12 with commit 7784135f134c Issue introduced in 6.3 with commit bad267f9e18f and fixed in 6.8.3 with commit 090d2b4515ad Issue introduced in 6.3 with commit bad267f9e18f and fixed in 6.9 with commit 62b71cd73d41 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-35800 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: drivers/firmware/efi/efi.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/b9d103aca85f082a343b222493f3cab1219aaaf4 https://git.kernel.org/stable/c/9114ba9987506bcfbb454f6e68558d68cb1abbde https://git.kernel.org/stable/c/7784135f134c13af17d9ffb39a57db8500bc60ff https://git.kernel.org/stable/c/090d2b4515ade379cd592fbc8931344945978210 https://git.kernel.org/stable/c/62b71cd73d41ddac6b1760402bbe8c4932e23531