{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-143050","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2026-12-03T03:10:28.345Z","datePublished":"2026-12-03T09:18:27.072Z","dateUpdated":"2026-12-04T03:27:51.832Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-12-04T03:27:51.832Z"},"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\novl: reject different lower idmaps on the same fs\n\nOverayfs mounted with index=on or nfs_export=on require file handle\nsupport from backing filesystems.\n\nOverlay file handles identify a backing filesystem, but not the lower\nmount used to decode it. If lower layers share a superblock and use\ndifferent idmaps, a handle can decode through the wrong layer.\n\nRecord the first idmap on a private lower clone for each backing\nfilesystem. Fail if another clone has a different idmap. Comparing\nthe private clones prevents mount_setattr() from changing the checked\nstate. Distinct idmap objects are treated as ambiguous."}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","baseScore":7.4,"baseSeverity":"HIGH"},"scenarios":[{"lang":"en","value":"AV:N - An NFSv3 READ (nfsd3_proc_read) reaches nfsd_set_fh_dentry() and exportfs_decode_fh_raw() into ovl_fh_to_dentry(), ovl_lower_fh_to_d(), and ovl_check_origin_fh(), which decodes the OVL_FILEID_V1 lower fid on the first same-superblock layer and keeps that mnt_idmap. ovl_get_layers() only runs from ovl_fill_super_creds() at mount and did not reject a second idmap.\nAC:H - The client cannot build the mount. Before the fix, ovl_get_layers() in ovl_fill_super_creds() accepted index or nfs_export with two private lower clones of one superblock whose mnt_idmap pointers differ; OVERLAY_FS_NFS_EXPORT defaults off, and can_idmap_mount() requires CAP_SYS_ADMIN in the lower superblock's user namespace.\nPR:N - ovl_fh_to_parent() returns -EACCES, so the export is no_subtree_check and 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 overlay file handle and the READ or WRITE itself. No other user must mount media or open a path; path lookup in ovl_lookup() keeps the layer it walked, and only ovl_check_origin_fh() selects the first same-superblock idmap.\nS:U - The remapped overlay i_uid and any upper inode ovl_copy_up_one() creates stay on the overlay of the host running nfsd. This is not a guest-to-host, IOMMU, or sandbox boundary crossing.\nC:H - For a non-upper file, ovl_obtain_alias() stores the first layer and ovl_copyattr() sets i_uid via i_uid_into_vfsuid() on that mnt_idmap, so nfsd_permission() can treat the caller's uid as the owner of a mode-0600 file and READ returns that file's bytes.\nI:H - A WRITE that passes the remapped owner check copy-ups in ovl_copy_up_one(); vfs_getattr() on the same wrong layer idmap feeds ovl_set_attr(), which creates an upper inode the client can then modify. The lower mount itself stays MNT_READONLY.\nA:N - ovl_check_origin_fh() returns another mount's dentry for the same inode. It does not oops, BUG_ON, deadlock, or leak, and nfsd keeps running after the wrong idmap is applied."}]}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/overlayfs/ovl_entry.h","fs/overlayfs/super.c"],"versions":[{"version":"bc70682a497c4f3c968c552e465d1d9948b1ff4c","lessThan":"d0cd409c53bed0a6ef6f0ad5f94e199aa13f2374","status":"affected","versionType":"git"},{"version":"bc70682a497c4f3c968c552e465d1d9948b1ff4c","lessThan":"cd9883d69d7fa94e4ef8c590d097b92ebd7d6f1c","status":"affected","versionType":"git"},{"version":"bc70682a497c4f3c968c552e465d1d9948b1ff4c","lessThan":"1343a71798e37e14dde7b08aa9a4d49c8cf13bbd","status":"affected","versionType":"git"},{"version":"bc70682a497c4f3c968c552e465d1d9948b1ff4c","lessThan":"720f40c05b2785406121da0151543751204f2953","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/ovl_entry.h","fs/overlayfs/super.c"],"versions":[{"version":"5.19","status":"affected"},{"version":"0","lessThan":"5.19","status":"unaffected","versionType":"semver"},{"version":"6.12.120","lessThanOrEqual":"6.12.*","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":"5.19","versionEndExcluding":"6.12.120"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.19","versionEndExcluding":"6.18.66"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.19","versionEndExcluding":"7.3.7"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.19","versionEndExcluding":"7.4-rc3"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/d0cd409c53bed0a6ef6f0ad5f94e199aa13f2374"},{"url":"https://git.kernel.org/stable/c/cd9883d69d7fa94e4ef8c590d097b92ebd7d6f1c"},{"url":"https://git.kernel.org/stable/c/1343a71798e37e14dde7b08aa9a4d49c8cf13bbd"},{"url":"https://git.kernel.org/stable/c/720f40c05b2785406121da0151543751204f2953"}],"title":"ovl: reject different lower idmaps on the same fs","x_generator":{"engine":"bippy-1.2.0"}}}}