{"id":"CVE-2026-99616","aliases":[],"cve":{"records":[{"id":"CVE-2026-99616","source":"Linux","state":"PUBLISHED","reasons":[],"replacements":[],"disputed":false,"unsupportedWhenAssigned":false,"reserved":"2026-09-25T10:25:14.425Z","published":"2026-11-20T05:49:37.659Z","modified":"2026-11-20T05:49:37.659Z"}],"publishers":[{"name":"Linux","role":"CNA","organizationId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","modified":"2026-11-20T05:49:37.659Z"}],"references":[{"url":"https://git.kernel.org/stable/c/4b0d6c2bb0eadacecf35641cd63851d8406b22f2","tags":[],"source":"Linux"},{"url":"https://git.kernel.org/stable/c/aae380322cf51c645448d7063888fb5d14df08cb","tags":[],"source":"Linux"},{"url":"https://git.kernel.org/stable/c/7cd237effa89a6bb59da3bc9f98c9823cf1429ba","tags":[],"source":"Linux"},{"url":"https://git.kernel.org/stable/c/520ef67f47f69255695859b0008281a384d0bc20","tags":[],"source":"Linux"}],"weaknesses":[],"applicability":[{"source":"Linux","statements":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.16","versionEndExcluding":"6.12.118"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.16","versionEndExcluding":"6.18.64"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.16","versionEndExcluding":"7.3.5"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.16","versionEndExcluding":"7.4-rc2"}]}]}]}],"prioritization":[]},"title":"ovl: look up the index by the decoded origin","titleSource":"Linux","descriptionSource":"Linux","description":"In the Linux kernel, the following vulnerability has been resolved:\n\novl: look up the index by the decoded origin\n\nA file opened by file handle on an overlay with nfs_export=on can show\nthe stale lower data of a file that was copied up to the upper layer.\nWhile the file opened this way stays in the inode cache, a lookup of the\ncopied up file by path fails with ESTALE for all users. The open can\nalso succeed for a file that was removed, where it has to fail with\nESTALE. This happens with a handle that has one byte changed. The handle\ncomes from an NFS client, or from a process that calls\nopen_by_handle_at() with CAP_DAC_READ_SEARCH in the initial user\nnamespace.\n\nWhen a file in a lower layer is about to be modified, overlayfs first\ncopies it to the upper layer (copy up). With nfs_export=on, each copy up\nalso creates an entry in the index directory, a directory that overlayfs\nkeeps for itself on the upper filesystem.\n\nThe handle of an overlay file that comes from a lower layer wraps the\nhandle of its lower inode. Overlayfs calls this lower inode the origin.\nThe overlay handle stays valid after a copy up.\n\nTo decode such a handle, ovl_lower_fh_to_d() first decodes the wrapped\nhandle to the origin. If no overlay inode is cached for the origin, it\nlooks in the index directory:\n\n- An index entry there leads to the upper file.\n- A whiteout, the marker that overlayfs uses for a removed file, means\n  that the overlay file was removed.\n\nThe name of an index entry is the handle that copy up encoded for the\norigin, as a hex string.\n\novl_lower_fh_to_d() builds the name for this lookup from the bytes that\nthe caller passed in. But handles with different bytes can decode to the\nsame inode:\n\n- Overlayfs ignores some flag bits of the handle.\n- A lower filesystem can accept a different fid type, extra bytes, or\n  generation 0 for any generation.\n\nSuch a handle decodes to the origin but misses the index entry or the\nwhiteout. So the decode returns an overlay inode that has only the lower\nfile.\n\nWhile that inode is cached, a path lookup of a copied up file fails with\nESTALE, since the upper file that the lookup finds does not match the\ncached inode, which has none.\n\nReproduced on tmpfs and on ext4 with open_by_handle_at(), after a copy\nup and a mount cycle. A handle in which one flag bit, the fid type, the\nlength or the generation was changed read the old lower data, and path\nlookups returned ESTALE.\n\nFix this by re-encoding the decoded origin and building the index name\nfrom that handle.","score":null,"severity":"unknown","published":"2026-11-20T05:49:37.659Z","modified":"2026-11-20T05:49:37.659Z","withdrawn":false,"knownExploited":false,"affected":[],"products":[{"vendor":"Linux","name":"Linux","platforms":[],"versions":[{"version":"f71bd9cfb692ec80236b186419bf907eb5fa348c","status":"affected","lessThan":"4b0d6c2bb0eadacecf35641cd63851d8406b22f2","versionType":"git"},{"version":"f71bd9cfb692ec80236b186419bf907eb5fa348c","status":"affected","lessThan":"aae380322cf51c645448d7063888fb5d14df08cb","versionType":"git"},{"version":"f71bd9cfb692ec80236b186419bf907eb5fa348c","status":"affected","lessThan":"7cd237effa89a6bb59da3bc9f98c9823cf1429ba","versionType":"git"},{"version":"f71bd9cfb692ec80236b186419bf907eb5fa348c","status":"affected","lessThan":"520ef67f47f69255695859b0008281a384d0bc20","versionType":"git"}],"defaultStatus":"unaffected","cpes":[],"source":"Linux","url":"https://www.cve.org/CVERecord?id=CVE-2026-99616"},{"vendor":"Linux","name":"Linux","platforms":[],"versions":[{"version":"4.16","status":"affected"},{"version":"0","status":"unaffected","lessThan":"4.16","versionType":"semver"},{"version":"6.12.118","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.64","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.5","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc2","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"defaultStatus":"affected","cpes":[],"source":"Linux","url":"https://www.cve.org/CVERecord?id=CVE-2026-99616"}],"remediation":[],"references":["https://git.kernel.org/stable/c/4b0d6c2bb0eadacecf35641cd63851d8406b22f2","https://git.kernel.org/stable/c/aae380322cf51c645448d7063888fb5d14df08cb","https://git.kernel.org/stable/c/7cd237effa89a6bb59da3bc9f98c9823cf1429ba","https://git.kernel.org/stable/c/520ef67f47f69255695859b0008281a384d0bc20"],"sources":[{"name":"CVE","id":"CVE-2026-99616","modified":"2026-11-20T05:49:37.659Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-99616"}],"assessments":[],"sourceAffected":[],"observedAt":"2026-11-20T06:05:25.984Z","kev":{"status":"not-listed","checkedAt":"2026-11-22T13:20:32.081Z"},"coverage":[{"source":"NVD","status":"available","checkedAt":"2026-11-21T13:25:32.256Z","attemptedAt":"2026-11-21T13:25:32.256Z"},{"source":"GHSA","status":"available","checkedAt":"2026-11-21T13:10:35.533Z","attemptedAt":"2026-11-21T13:10:35.533Z"},{"source":"EUVD","status":"available","checkedAt":"2026-11-21T12:25:35.688Z","attemptedAt":"2026-11-21T12:25:35.688Z"},{"source":"EPSS","status":"available","checkedAt":"2026-11-21T11:45:36.066Z","attemptedAt":"2026-11-21T11:45:36.066Z"}],"evidence":[{"source":"FIRST EPSS","id":"CVE-2026-99616","url":"https://www.first.org/epss/","probability":0.00201,"percentile":0.10115,"date":"2026-11-20","checkedAt":"2026-11-21T11:45:36.066Z"},{"source":"ENISA EUVD","id":"EUVD-2026-131066","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-131066","modified":"Nov 20, 2026, 5:49:37 AM","checkedAt":"2026-11-21T12:25:35.688Z"},{"source":"GitHub Advisory Database","id":"GHSA-7wrf-mjrj-4ghv","url":"https://github.com/advisories/GHSA-7wrf-mjrj-4ghv","modified":"2026-11-20T06:32:10Z","checkedAt":"2026-11-21T13:10:35.533Z"},{"source":"NVD","id":"CVE-2026-99616","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99616","modified":"2026-11-20T06:17:54.073","checkedAt":"2026-11-21T13:25:32.256Z"}],"aiSummary":null}