Re: [PATCH] block: Fix WARNING in _copy_from_iter

From: Jens Axboe
Date: Tue Jan 23 2024 - 10:57:44 EST



On Sun, 21 Jan 2024 21:26:34 +0100, Christian A. Ehrhardt wrote:
> Syzkaller reports a warning in _copy_from_iter because an
> iov_iter is supposedly used in the wrong direction. The reason
> is that syzcaller managed to generate a request with
> a transfer direction of SG_DXFER_TO_FROM_DEV. This instructs
> the kernel to copy user buffers into the kernel, read into
> the copied buffers and then copy the data back to user space.
>
> [...]

Applied, thanks!

[1/1] block: Fix WARNING in _copy_from_iter
commit: 13f3956eb5681a4045a8dfdef48df5dc4d9f58a6

Best regards,
--
Jens Axboe