CVE-2026-143050: ovl: reject different lower idmaps on the same fs
In the Linux kernel, the following vulnerability has been resolved:
ovl: reject different lower idmaps on the same fs
Overayfs mounted with index=on or nfsexport=on require file handle support from backing filesystems.
Overlay file handles identify a backing filesystem, but not the lower mount used to decode it. If lower layers share a superblock and use different idmaps, a handle can decode through the wrong layer.
Record the first idmap on a private lower clone for each backing filesystem. Fail if another clone has a different idmap. Comparing the private clones prevents mountsetattr() from changing the checked state. Distinct idmap objects are treated as ambiguous.
Affected Software
Event History
Frequently Asked Questions
Which OverlayFS deployments are exposed to this ambiguity?
The issue applies to OverlayFS mounts using index=on or nfs_export=on, where lower layers share the same backing filesystem superblock but have different idmaps. These options require backing filesystem file-handle support.
What condition makes file-handle decoding unsafe?
An OverlayFS file handle identifies the backing filesystem but does not identify the lower mount used to decode it. When multiple lower mounts on that filesystem use distinct idmaps, a handle can be decoded through the wrong lower layer.
What behavior does the resolution introduce?
OverlayFS records the first idmap for each backing filesystem on a private lower clone and rejects another clone with a different idmap. Distinct idmap objects are treated as ambiguous, and private-clone comparison prevents mount_setattr() from changing the checked state.