diff options
author | Amir Goldstein <amir73il@gmail.com> | 2024-03-17 13:59:43 +0200 |
---|---|---|
committer | Amir Goldstein <amir73il@gmail.com> | 2024-03-17 15:59:41 +0200 |
commit | 77a28aa476873048024ad56daf8f4f17d58ee48e (patch) | |
tree | 94e3c50296b58d7d48c3e6025f11b5256eeac782 /mm/secretmem.c | |
parent | 1b17f399a6e07405059fe401cfbe59f9b572093d (diff) | |
download | linux-77a28aa476873048024ad56daf8f4f17d58ee48e.tar.gz linux-77a28aa476873048024ad56daf8f4f17d58ee48e.tar.bz2 linux-77a28aa476873048024ad56daf8f4f17d58ee48e.zip |
ovl: relax WARN_ON in ovl_verify_area()
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>
Diffstat (limited to 'mm/secretmem.c')
0 files changed, 0 insertions, 0 deletions