CVE-2026-99616
ovl: look up the index by the decoded origin
Check your servers for CVE-2026-99616
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-99616 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
In the Linux kernel, the following vulnerability has been resolved:
ovl: look up the index by the decoded origin
A file opened by file handle on an overlay with nfs_export=on can show the stale lower data of a file that was copied up to the upper layer. While the file opened this way stays in the inode cache, a lookup of the copied up file by path fails with ESTALE for all users. The open can also succeed for a file that was removed, where it has to fail with ESTALE. This happens with a handle that has one byte changed. The handle comes from an NFS client, or from a process that calls open_by_handle_at() with CAP_DAC_READ_SEARCH in the initial user namespace.
When a file in a lower layer is about to be modified, overlayfs first copies it to the upper layer (copy up). With nfs_export=on, each copy up also creates an entry in the index directory, a directory that overlayfs keeps for itself on the upper filesystem.
The handle of an overlay file that comes from a lower layer wraps the handle of its lower inode. Overlayfs calls this lower inode the origin. The overlay handle stays valid after a copy up.
To decode such a handle, ovl_lower_fh_to_d() first decodes the wrapped handle to the origin. If no overlay inode is cached for the origin, it looks in the index directory:
- An index entry there leads to the upper file. - A whiteout, the marker that overlayfs uses for a removed file, means that the overlay file was removed.
The name of an index entry is the handle that copy up encoded for the origin, as a hex string.
ovl_lower_fh_to_d() builds the name for this lookup from the bytes that the caller passed in. But handles with different bytes can decode to the same inode:
- Overlayfs ignores some flag bits of the handle. - A lower filesystem can accept a different fid type, extra bytes, or generation 0 for any generation.
Such a handle decodes to the origin but misses the index entry or the whiteout. So the decode returns an overlay inode that has only the lower file.
While that inode is cached, a path lookup of a copied up file fails with ESTALE, since the upper file that the lookup finds does not match the cached inode, which has none.
Reproduced on tmpfs and on ext4 with open_by_handle_at(), after a copy up and a mount cycle. A handle in which one flag bit, the fid type, the length or the generation was changed read the old lower data, and path lookups returned ESTALE.
Fix this by re-encoding the decoded origin and building the index name from that handle.
Exploitation
EPSS 0.23%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 14.1% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from f71bd9cfb692ec80236b186419bf907eb5fa348c, before 39d1cd14ab2e7c7245dcb53d59b980df578da349 affected from f71bd9cfb692ec80236b186419bf907eb5fa348c, before d7bf8cda8c761c1fb8ae667637eb18d80906ec19 affected from f71bd9cfb692ec80236b186419bf907eb5fa348c, before 73fbc5dade5624f4a4782fb9d0a93801c30a9ecf affected from f71bd9cfb692ec80236b186419bf907eb5fa348c, before 54084b6bc625642674a16e786c8bf20c6b100c1a affected from f71bd9cfb692ec80236b186419bf907eb5fa348c, before 4b0d6c2bb0eadacecf35641cd63851d8406b22f2 affected from f71bd9cfb692ec80236b186419bf907eb5fa348c, before aae380322cf51c645448d7063888fb5d14df08cb affected from f71bd9cfb692ec80236b186419bf907eb5fa348c, before 7cd237effa89a6bb59da3bc9f98c9823cf1429ba affected from f71bd9cfb692ec80236b186419bf907eb5fa348c, before 520ef67f47f69255695859b0008281a384d0bc20
Other versions: unaffected
|
| Linux |
affected 4.16 unaffected before 4.16 unaffected from 5.10.275 up to and including 5.10.* unaffected from 5.15.226 up to and including 5.15.* unaffected from 6.1.193 up to and including 6.1.* unaffected from 6.6.163 up to and including 6.6.* unaffected from 6.12.118 up to and including 6.12.* unaffected from 6.18.64 up to and including 6.18.* unaffected from 7.3.5 up to and including 7.3.* unaffected 7.4-rc2 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-99616 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-99616
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-99616
trivy image --scanners vuln IMAGE | grep CVE-2026-99616
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/39d1cd14ab2e7c7245dcb53d59b980df578da349 git.kernel.org
- https://git.kernel.org/stable/c/d7bf8cda8c761c1fb8ae667637eb18d80906ec19 git.kernel.org
- https://git.kernel.org/stable/c/73fbc5dade5624f4a4782fb9d0a93801c30a9ecf git.kernel.org
- https://git.kernel.org/stable/c/54084b6bc625642674a16e786c8bf20c6b100c1a git.kernel.org
- https://git.kernel.org/stable/c/4b0d6c2bb0eadacecf35641cd63851d8406b22f2 git.kernel.org
- https://git.kernel.org/stable/c/aae380322cf51c645448d7063888fb5d14df08cb git.kernel.org
- https://git.kernel.org/stable/c/7cd237effa89a6bb59da3bc9f98c9823cf1429ba git.kernel.org
- https://git.kernel.org/stable/c/520ef67f47f69255695859b0008281a384d0bc20 git.kernel.org
Source: the record CVE-2026-99616 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse