From mboxrd@z Thu Jan 1 00:00:00 1970 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 5810B3BED36; Thu, 5 Mar 2026 15:13:06 +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=1772723587; cv=none; b=Ck8yWZC2hoM8x29Wsr2+hanjjahZehMwGjMJd3h6p4RstTBrMa924bi/ezQRHbStzYw1K9HUAbo796UKcKQ1HBXzT6w8TIR8GklL2oojotVesGVtDuUgEqgTIx3yLlBdt+A33wZ3Xg4eH5zKZcI77nPhS1Hs19Z+utsg5eydUAU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772723587; c=relaxed/simple; bh=GmIDgFVHe8JF0vl+VygOfi4IcAnTQNNndatSOdAQlsM=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=iq3ZAw+XQ7aqL9PcHG65S0i4+CAynJk21ajPRhhRllJ1EDy+RIeqJ/Ao2mx10kJNJedOqMSgTC9Yod0d3cTKsGc/LX3ZKUl9K8E5U1t9X1bVuYP5cq+7oWD9hzBp0G7GJPsjvBOfMevlcB9GW7W8SZn3QcLZMmJY2gQZqZrulSE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=C56pSXDi; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="C56pSXDi" Received: by smtp.kernel.org (Postfix) with ESMTPSA id EB77AC2BC87; Thu, 5 Mar 2026 15:13:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1772723586; bh=GmIDgFVHe8JF0vl+VygOfi4IcAnTQNNndatSOdAQlsM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=C56pSXDiI2dDFUpAc5rFH5LhBs1WAG/8+acb4iKiUcxeijSLTthciL2lYHfFmbRmV WE5brQGmcG6igvZGw9u/DwqnQMqURlnb3CemS6C3e11rRTeRhvFFAn5yvrG/+mn+mP rADmAo8MSHAyfgoSdXPhhvuafe3w6tp1BWfMix24AkoNU52gUTud2fApRyMQwX87Je uUoObexM5z+eTNgOLCW9seDykatdRT9GNdeGYFOFrcpAFuopmh15DPevpKpPXaHkzy e85O075M38lXvE+pT6iK47iUxvR8TSya1AboSJnGEQ4BCvL76o7KSoiHMo5HzRaJq+ 6kXTOQMzx4ElQ== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org, akpm@linux-foundation.org, torvalds@linux-foundation.org Cc: lwn@lwn.net, jslaby@suse.cz, gregkh@linuxfoundation.org Subject: Re: Linux 6.1.166 Date: Thu, 5 Mar 2026 10:13:03 -0500 Message-ID: <20260305151303.676629-2-sashal@kernel.org> X-Mailer: git-send-email 2.51.0 In-Reply-To: <20260305151303.676629-1-sashal@kernel.org> References: <20260305151303.676629-1-sashal@kernel.org> Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit diff --git a/Makefile b/Makefile index ab1cb6f2e6ee2..5c06e9d3dfd37 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 VERSION = 6 PATCHLEVEL = 1 -SUBLEVEL = 165 +SUBLEVEL = 166 EXTRAVERSION = NAME = Curry Ramen diff --git a/arch/x86/kernel/setup.c b/arch/x86/kernel/setup.c index 38f48875df91a..18a034613d94d 100644 --- a/arch/x86/kernel/setup.c +++ b/arch/x86/kernel/setup.c @@ -377,15 +377,9 @@ int __init ima_free_kexec_buffer(void) int __init ima_get_kexec_buffer(void **addr, size_t *size) { - int ret; - if (!ima_kexec_buffer_size) return -ENOENT; - ret = ima_validate_range(ima_kexec_buffer_phys, ima_kexec_buffer_size); - if (ret) - return ret; - *addr = __va(ima_kexec_buffer_phys); *size = ima_kexec_buffer_size;