CVE-2026-143049: ovl: return EIO if the lowerdata is missing
In the Linux kernel, the following vulnerability has been resolved:
ovl: return EIO if the lowerdata is missing
The data of a metacopy file that redirects to a data-only layer is looked up when the file is opened, and the error of the lookup is returned as is. If the data file is missing, open() fails with ENOENT even though the file is there and stat() works.
This can be an integrity problem when using composefs: a data file that is changed or has the wrong fs-verity digest is reported with EIO, but a missing one is not reported, the file just looks like it does not exist, e.g. a configuration file that overrides the defaults.
Return EIO as it is already done in ovllookup() when no lower data is found for a metacopy file. ENOMEM is not changed.
Affected Software
Event History
Frequently Asked Questions
Which systems are affected by this behavior?
Systems using OverlayFS metacopy files that redirect data to a data-only layer are affected when the referenced lower data file is missing. The integrity concern is specifically noted for composefs usage.
How can I tell whether this condition is occurring?
A metacopy file can still appear to exist to stat(), while opening it fails with ENOENT because its lower data file is missing. After the resolution, that missing lower data condition is reported as EIO instead.