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 ovl_lookup() when no lower data is found for a metacopy file. ENOMEM is not changed.
https://git.kernel.org/stable/c/93969ee3a994a11c5167986b39f8532a54e20be6
https://git.kernel.org/stable/c/2a1c1e8264ffff29b66074852087889daa53af28
https://git.kernel.org/stable/c/0d5e729c515f4ae4eacc179dbcf350d9b499a161
https://git.kernel.org/stable/c/04fac1d6ce16a81b37d8f544fe8199a110ebba7d