# CVE-2026-99616: ovl: look up the index by the decoded origin


- **Severity:** Not scored
- **Exploited in the wild:** Not known
- **Fix available:** Yes
- **Published:** 20 Nov 2026
- **Updated:** 23 Nov 2026
- **Also known as:** AZL-115396, BELL-CVE-2026-99616, DEBIAN-CVE-2026-99616, GHSA-7wrf-mjrj-4ghv, UBUNTU-CVE-2026-99616

## What is CVE-2026-99616?

CVE-2026-99616 is a vulnerability in Linux, published on 20 Nov 2026. 

### Official 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.

## Which versions are affected by CVE-2026-99616?


Status by vendor (upstream, then each distribution release and vendor build):

| Who | Release | Status | Packages | Fixed in |
| --- | --- | --- | --- | --- |
| Red Hat | 8 | deferred | `bpftool`, `kernel`, `kernel-abi-stablelists` and 43 more |  |
| Red Hat | 9 | deferred | `bpftool`, `kernel`, `kernel-64k` and 104 more |  |
| Red Hat | 10 | deferred | `kernel` |  |
| Red Hat | els/6 | not affected | `kernel`, `kernel-abi-whitelists`, `kernel-bootwrapper` and 10 more |  |
| Red Hat | els/7 | deferred | `bpftool`, `kernel`, `kernel-abi-whitelists` and 23 more |  |

## How do I fix CVE-2026-99616?

Upgrade to a fixed version.

## Is CVE-2026-99616 being exploited?

There is no known exploitation of CVE-2026-99616 in the wild and no public exploit code.

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2026-99616 and fix it if it is affected.

What it is: CVE-2026-99616 is a vulnerability in Linux, published on 20 Nov 2026. 
Exploitation: There is no known exploitation of CVE-2026-99616 in the wild and no public exploit code.

Affected product: Linux. No package-level version data is available, so check the vendor advisory linked from the reference page.

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2026-99616/ (Markdown: https://insights.sbomify.com/CVE-2026-99616/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2026-99616
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-99616
- OSV: https://osv.dev/vulnerability/CVE-2026-99616

---
From sbomify Insights: https://insights.sbomify.com/CVE-2026-99616/
Summaries are generated and may contain mistakes; the official description above is the record.
