diff options
author | Amir Goldstein <[email protected]> | 2024-03-17 13:59:43 +0200 |
---|---|---|
committer | Amir Goldstein <[email protected]> | 2024-03-17 15:59:41 +0200 |
commit | 77a28aa476873048024ad56daf8f4f17d58ee48e (patch) | |
tree | 94e3c50296b58d7d48c3e6025f11b5256eeac782 /drivers/usb/cdns3 | |
parent | 1b17f399a6e07405059fe401cfbe59f9b572093d (diff) |
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: [email protected]
Fixes: ca7ab482401c ("ovl: add permission hooks outside of do_splice_direct()")
Signed-off-by: Amir Goldstein <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3')
0 files changed, 0 insertions, 0 deletions