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 239042C375A; Mon, 16 Mar 2026 16:27:09 +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=1773678429; cv=none; b=kVlLZ636r76ZF1frnmLTrcc1Tt1Bn8lmnBPp1kZRPT2Ad4SGZikVRlBFe4mwTgXwhBqit0OCr+Yep8iGr4FZfwWeM5Ust3F5uxaUxwQyXwLcYgVn7/gWCliaJeX7frtV51ANlxlyF3e36Hjcs4xFMf6vdVAmW+gSio3PVypaz7o= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773678429; c=relaxed/simple; bh=D7ir28HxqgZVVuv+H8f05mPzZEmFxVTr4ETWI9qZkCY=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=TNKc+uZCY43YOibfNc4Ft2fUP2bGw1hArfrEG45UxlZiWkKFEbYlNo6/cDf1GzrIXe7gpQz/NZdZ83W51pkERpF1LxPp4lOCBx0FNku7bfi6+q8P8mbjDM+Ako6KO9D2ysPMxKJT8BUPlvD+aNuJFQA5TA4s6IAdmrPnaM2bKRc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=dYt29tYu; 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="dYt29tYu" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 54079C19421; Mon, 16 Mar 2026 16:27:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1773678428; bh=D7ir28HxqgZVVuv+H8f05mPzZEmFxVTr4ETWI9qZkCY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=dYt29tYu/MsLg1zpQeTCxW6Eg5SiX5wo/cc779MKKAJ0JDJ6sGKZFurU1URN9rJSH AjkTdx+qHKHL0ljEtwy26IykDujFpm56WZ/APfJLBKrJ/NkYfo8JdB9tJms6ckQ/xJ mi32xaVIMqTmw1qdlX+JeGfG5rTaVracbCCNBYIs= Date: Mon, 16 Mar 2026 17:27:04 +0100 From: Greg KH To: Danilo Krummrich Cc: Gary Guo , stable@vger.kernel.org, stable-commits@vger.kernel.org, Alice Ryhl , Alexandre Courbot , David Airlie , Simona Vetter , Abdiel Janulgue , Daniel Almeida , Robin Murphy , Andreas Hindborg , Miguel Ojeda , Boqun Feng , =?iso-8859-1?Q?Bj=F6rn?= Roy Baron , Benno Lossin , Trevor Gross Subject: Re: Patch "rust: dma: use pointer projection infra for `dma_{read,write}` macro" has been added to the 6.19-stable tree Message-ID: <2026031640-grueling-java-61f9@gregkh> References: <20260315144041.25312-1-sashal@kernel.org> <2026031639-duplicity-playroom-7b3f@gregkh> Precedence: bulk X-Mailing-List: stable@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 Mon, Mar 16, 2026 at 05:19:25PM +0100, Danilo Krummrich wrote: > On Mon Mar 16, 2026 at 3:00 PM CET, Greg KH wrote: > > On Sun, Mar 15, 2026 at 02:48:52PM +0000, Gary Guo wrote: > >> On Sun Mar 15, 2026 at 2:40 PM GMT, Sasha Levin wrote: > >> > This is a note to let you know that I've just added the patch titled > >> > > >> > rust: dma: use pointer projection infra for `dma_{read,write}` macro > >> > > >> > to the 6.19-stable tree which can be found at: > >> > http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary > >> > > >> > The filename of the patch is: > >> > rust-dma-use-pointer-projection-infra-for-dma_-read-.patch > >> > and it can be found in the queue-6.19 subdirectory. > >> > >> Hi Sasha, > >> > >> commit 08da98f18f4f ("rust: ptr: add `KnownSize` trait to support DST size info > >> extraction") and commit f41941aab3ac ("rust: ptr: add projection > >> infrastructure") are dependencies of this fix. > >> > >> It doesn't look like these commits are currently being picked. They're needed > >> for building. > >> > >> They're part of the same series: https://lore.kernel.org/rust-for-linux/20260302164239.284084-1-gary@kernel.org/ > > > > Yeah, this breaks the build on my systems. I'll go drop this patch for > > now, and if you want these in the stable trees, can you provide a > > backported series of them? > > The DMA soundness fix, as a potential bug, is probably not crucial to backport. > > There are two nova-core fixes on top of it. One of them fixes a UB condition > reading from and writing to a DMA buffer, the other one is a potential stack > overflow. > > nova-core is still work in progress, so I'm not too worried about this as far as > stable trees are concerned. > > I think we usually backport soundness fixes anyway, plus everything should apply > without conflicts, so it probably doesn't hurt to pick them up regardless. > > I can send a separate series if preferred. I've dropped all the nova-core patches from the queue as well. If you think they are needed in 6.19.y, please send backports. thanks, greg k-h