[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <170602542154.1916499.2341274393906762651.b4-ty@kernel.dk>
Date: Tue, 23 Jan 2024 08:57:01 -0700
From: Jens Axboe <axboe@...nel.dk>
To: linux-block@...r.kernel.org, linux-kernel@...r.kernel.org,
"Christian A. Ehrhardt" <lk@...e.de>
Cc: syzbot+a532b03fdfee2c137666@...kaller.appspotmail.com,
syzbot+63dec323ac56c28e644f@...kaller.appspotmail.com,
Andrew Morton <akpm@...ux-foundation.org>,
Alexander Viro <viro@...iv.linux.org.uk>
Subject: Re: [PATCH] block: Fix WARNING in _copy_from_iter
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
Powered by blists - more mailing lists