{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-143048","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2026-12-03T03:10:28.345Z","datePublished":"2026-12-03T09:18:24.873Z","dateUpdated":"2026-12-04T03:27:48.981Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-12-04T03:27:48.981Z"},"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\novl: do not allow nfs_export with data-only layers\n\nSince data-only layers no longer require metacopy=on, which conflicts\nwith nfs_export=on, an overlay with data-only layers can be mounted\nwith nfs_export=on.\n\nDecoding a file handle of a lower metacopy file whose data is in a\ndata-only layer builds the inode only from the decoded lower dentry,\nwithout the lazy lowerdata redirect, so the data of the file would be\nread from the metacopy file in the lower layer.\n\nFail the mount with explicit nfs_export=on and data-only layers and\notherwise disable nfs_export with data-only layers."}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:L","baseScore":7,"baseSeverity":"HIGH"},"scenarios":[{"lang":"en","value":"AV:N - An NFS READ (nfsd3_proc_read / nfsd4_read) reaches nfsd_set_fh_dentry() then exportfs_decode_fh_raw() into ovl_fh_to_dentry(), ovl_lower_fh_to_d(), and ovl_obtain_alias(), which builds the inode from the lower metacopy dentry only. The READ reply returns that body instead of the data-only layer file.\nAC:H - The client cannot create this mount: ovl_fill_super_creds() calls ovl_fs_params_verify(), and before the fix that function allowed nfs_export with data-only layers, which OVERLAY_FS_NFS_EXPORT leaves off by default. ovl_obtain_alias() installs the bad inode only when ovl_get_inode() misses the lower-inode icache key, and a remote client cannot drop that entry.\nPR:N - Overlay exports use no_subtree_check because ovl_fh_to_parent() returns -EACCES, so nfsd_set_fh_dentry() raises CAP_NFSD_SET, which includes CAP_DAC_READ_SEARCH, before ovl_decode_real_fh(). On AUTH_SYS the client asserts a uid and nfsd performs no cryptographic authentication.\nUI:N - The NFS client sends the file handle and the READ or SETATTR itself. No other user must mount an image or open a path; a local ovl_lookup() is not the path that omits the lowerdata redirect.\nS:U - The metacopy bytes and the upper file ovl_copy_up_file() writes them into stay on the overlay of the host running nfsd. The bug does not cross a guest-to-host, IOMMU, or sandbox boundary.\nC:L - ovl_verify_lowerdata() returns at once because ovl_obtain_alias() leaves lowerdata_redirect NULL and the only lower dentry is already set, so ovl_path_realdata() reads the metacopy inode. That body is not the data-only file a path lookup would return, and it is not kernel memory.\nI:H - nfs_export forces metacopy off, so ovl_need_meta_copy_up() is false. SETATTR or WRITE copy-up runs ovl_copy_up_file() on ovl_path_lowerdata() (the metacopy body) and ovl_set_upperdata(), permanently replacing the file with that body and dropping the data-only layer.\nA:L - READ serves the wrong body and copy-up can replace the upper file, but ovl_copy_up_file() does not oops, BUG_ON, deadlock, or hang when the metacopy dentry is non-NULL. nfsd and the kernel keep running."}]}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/overlayfs/params.c"],"versions":[{"version":"5ef7bcdeecc982ae17d13b682a85123c7d74b200","lessThan":"5c45f045c866c5e036586312101137bc7e684660","status":"affected","versionType":"git"},{"version":"5ef7bcdeecc982ae17d13b682a85123c7d74b200","lessThan":"51567368603443a18fa5b575ccb5a91df0185dd4","status":"affected","versionType":"git"},{"version":"5ef7bcdeecc982ae17d13b682a85123c7d74b200","lessThan":"fba955b070d13e2fdac097577ce3c6ffbeda4ea9","status":"affected","versionType":"git"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/overlayfs/params.c"],"versions":[{"version":"6.16","status":"affected"},{"version":"0","lessThan":"6.16","status":"unaffected","versionType":"semver"},{"version":"6.18.66","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.3.7","lessThanOrEqual":"7.3.*","status":"unaffected","versionType":"semver"},{"version":"7.4-rc3","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.16","versionEndExcluding":"6.18.66"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.16","versionEndExcluding":"7.3.7"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.16","versionEndExcluding":"7.4-rc3"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/5c45f045c866c5e036586312101137bc7e684660"},{"url":"https://git.kernel.org/stable/c/51567368603443a18fa5b575ccb5a91df0185dd4"},{"url":"https://git.kernel.org/stable/c/fba955b070d13e2fdac097577ce3c6ffbeda4ea9"}],"title":"ovl: do not allow nfs_export with data-only layers","x_generator":{"engine":"bippy-1.2.0"}}}}