Description
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.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
42dd69ae1af42cf72d167e63a039b8c63653eb7f to < 2a1c1e8264ffff29b66074852087889daa53af28affected42dd69ae1af42cf72d167e63a039b8c63653eb7f to < 04fac1d6ce16a81b37d8f544fe8199a110ebba7daffected42dd69ae1af42cf72d167e63a039b8c63653eb7f to < 93969ee3a994a11c5167986b39f8532a54e20be6affected42dd69ae1af42cf72d167e63a039b8c63653eb7f to < 0d5e729c515f4ae4eacc179dbcf350d9b499a161affected
Linux Linux
Default version status: affected
6.5affected0 to < 6.5unaffected6.12.120 to ≤ 6.12.*unaffected6.18.66 to ≤ 6.18.*unaffected7.3.7 to ≤ 7.3.*unaffected7.4-rc3 to ≤ *unaffected