From: "Danilo Krummrich" <dakr@kernel.org>
To: "Greg KH" <gregkh@linuxfoundation.org>
Cc: "Gary Guo" <gary@garyguo.net>,
stable@vger.kernel.org, stable-commits@vger.kernel.org,
"Alice Ryhl" <aliceryhl@google.com>,
"Alexandre Courbot" <acourbot@nvidia.com>,
"David Airlie" <airlied@gmail.com>,
"Simona Vetter" <simona@ffwll.ch>,
"Abdiel Janulgue" <abdiel.janulgue@gmail.com>,
"Daniel Almeida" <daniel.almeida@collabora.com>,
"Robin Murphy" <robin.murphy@arm.com>,
"Andreas Hindborg" <a.hindborg@kernel.org>,
"Miguel Ojeda" <ojeda@kernel.org>,
"Boqun Feng" <boqun@kernel.org>,
"Björn Roy Baron" <bjorn3_gh@protonmail.com>,
"Benno Lossin" <lossin@kernel.org>,
"Trevor Gross" <tmgross@umich.edu>
Subject: Re: Patch "rust: dma: use pointer projection infra for `dma_{read,write}` macro" has been added to the 6.19-stable tree
Date: Mon, 16 Mar 2026 17:19:25 +0100 [thread overview]
Message-ID: <DH4CD4IAYRS1.1P5BTFC6U3LBP@kernel.org> (raw)
In-Reply-To: <2026031639-duplicity-playroom-7b3f@gregkh>
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.
next prev parent reply other threads:[~2026-03-16 16:19 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20260315144041.25312-1-sashal@kernel.org>
2026-03-15 14:48 ` Patch "rust: dma: use pointer projection infra for `dma_{read,write}` macro" has been added to the 6.19-stable tree Gary Guo
2026-03-16 14:00 ` Greg KH
2026-03-16 16:19 ` Danilo Krummrich [this message]
2026-03-16 16:27 ` Greg KH
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=DH4CD4IAYRS1.1P5BTFC6U3LBP@kernel.org \
--to=dakr@kernel.org \
--cc=a.hindborg@kernel.org \
--cc=abdiel.janulgue@gmail.com \
--cc=acourbot@nvidia.com \
--cc=airlied@gmail.com \
--cc=aliceryhl@google.com \
--cc=bjorn3_gh@protonmail.com \
--cc=boqun@kernel.org \
--cc=daniel.almeida@collabora.com \
--cc=gary@garyguo.net \
--cc=gregkh@linuxfoundation.org \
--cc=lossin@kernel.org \
--cc=ojeda@kernel.org \
--cc=robin.murphy@arm.com \
--cc=simona@ffwll.ch \
--cc=stable-commits@vger.kernel.org \
--cc=stable@vger.kernel.org \
--cc=tmgross@umich.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox