Re: [PATCH] rust: kernel: fix lifetime of copy_from_iter_raw
From: Miguel Ojeda
Date: Sat Nov 14 2026 - 06:16:47 EST
On Sat, Nov 14, 2026 at 3:45 AM Marwan Mohamed Zein
<marawanzein222@xxxxxxxxx> wrote:
>
> Reported-by: spidermana <xuyiwen14@xxxxxxxxx>
> Closes: https://github.com/Rust-for-Linux/linux/issues/1265
> Signed-off-by: martell0x1 <marawanzein222@xxxxxxxxx>
Thanks for the patch!
On top of what Alexandre said, for fixes, please try to find which
commit introduced the issue and then add a Fixes tag to it. Then,
please consider if it is something that may need to be backported:
https://docs.kernel.org/process/submitting-patches.html#describe-your-changes
https://docs.kernel.org/process/stable-kernel-rules.html
So we would have written:
Cc: stable@xxxxxxxxxxxxxxx
Fixes: 06cb58b310ea ("rust: iov: add iov_iter abstractions for ITER_SOURCE")
Cheers,
Miguel