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 07CD612DD98; Fri, 24 May 2024 15:27:42 +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=1716564463; cv=none; b=Dq3Ae6XBp8pi2rplNd02cHarGK6qeec1fN0ZRVZ9xVz6xlwtpkOYBD+T1sJjObu1BHVBqw1BxAhdL/X5KdwJLVMeJwd5W2xm1lKF9u6hz0qJd/SXk0IADHuenf9TharA1JB3NlCK0YY1SLwMO6g3VmjopgpIo7I7PIx7h4esZU8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716564463; c=relaxed/simple; bh=EWjF42HyXFIgPE/ta6fPNwbxqec2D+5L3iGHiCR4VVE=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=UUIvRG/qSqlobwgvDioP4rE/qR8Pb0j0/jP6DhzlXwHzyGQkASa745b0DIc826zmWSwacOMozYHUf1AxVqDWKm/vbChn3Rk0gXk4M99HItUUMAp2oFHwHAZ4W8IaVIk2/5s50LfACkDr9wxgM++NBQGI5sHH9qBOlc7oF1XJ+Fg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=ySVIarrI; 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="ySVIarrI" Received: by smtp.kernel.org (Postfix) with ESMTPSA id E2D2FC2BBFC; Fri, 24 May 2024 15:27:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1716564462; bh=EWjF42HyXFIgPE/ta6fPNwbxqec2D+5L3iGHiCR4VVE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ySVIarrIR6ZWmjPpQVVQ9tWKvUgXSa6m1ze/sqoVetRaVplOtZC/3uK+7FFWyCtmu tHdk1KijyfvxBZx0nonTxR8+lddXEXVXPa1RjyMy66uQiXI+TThy/cnhT/ux+zW1YS XXBmXfuFAYjKCXx0bObb7N7LcHSo/fBkpyA7yWC8= Date: Fri, 24 May 2024 17:27:39 +0200 From: Greg Kroah-Hartman To: Jiri Bohac Cc: cve@kernel.org, linux-kernel@vger.kernel.org, linux-cve-announce@vger.kernel.org, Eric Biederman , kexec@lists.infradead.org Subject: Re: CVE-2023-52823: kernel: kexec: copy user-array safely Message-ID: <2024052431-decline-limes-da66@gregkh> References: <2024052106-CVE-2023-52823-3d81@gregkh> <2024052420-clang-flatterer-366b@gregkh> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On Fri, May 24, 2024 at 04:13:53PM +0200, Jiri Bohac wrote: > On Fri, May 24, 2024 at 02:38:04PM +0200, Jiri Bohac wrote: > > On Fri, May 24, 2024 at 12:15:47PM +0200, Greg Kroah-Hartman wrote: > > > Nice, but then why was this commit worded this way? Now we check twice? > > > Double safe? Should it be reverted? > > > > double safe's good; turning it into a CVE not so much :( > > CVE-2023-52822, CVE-2023-52824 and CVE-2023-52820, originally from the same patch > > series, seem to be the exact same case. > > Same thing: CVE-2023-52758 Agreed, now rejected, thanks for the review! greg k-h