ovl: relax WARN_ON in ovl_verify_area()
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
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.
From the CVE record · Linux
The Linux kernel's overlayfs copy-up path can hit a WARN_ON assertion if a lower file's size changes during the operation. A local actor able to change that file could trigger the assertion instead of the expected EIO error; the input does not specify authentication requirements or user interaction.
Engineers running the Linux kernel with overlayfs should check their versions; affected versions are not specified.