summaryrefslogtreecommitdiff
path: root/io_uring
diff options
context:
space:
mode:
authorAmir Goldstein <amir73il@gmail.com>2024-03-17 14:59:43 +0300
committerSasha Levin <sashal@kernel.org>2024-03-27 01:17:28 +0300
commitc3c85aefc0da1e5074a06c682542a54ccc99bdca (patch)
tree580057e1e265dab0d6864177b433ca9610523538 /io_uring
parentdac068f164ad05b35e7c0be13f138c3f6adca58f (diff)
downloadlinux-c3c85aefc0da1e5074a06c682542a54ccc99bdca.tar.xz
ovl: relax WARN_ON in ovl_verify_area()
[ Upstream commit 77a28aa476873048024ad56daf8f4f17d58ee48e ] syzbot hit an assertion in copy up data loop which looks like it is the result of a lower file whose size is being changed underneath overlayfs. This type of use case is documented to cause undefined behavior, so returning EIO error for the copy up makes sense, but it should not be causing a WARN_ON assertion. Reported-and-tested-by: syzbot+3abd99031b42acf367ef@syzkaller.appspotmail.com Fixes: ca7ab482401c ("ovl: add permission hooks outside of do_splice_direct()") Signed-off-by: Amir Goldstein <amir73il@gmail.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'io_uring')
0 files changed, 0 insertions, 0 deletions