Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-99416

published

ovl: read the nlink xattr of every indexed non-dir

Published
19 Nov 2026, 14:40:14 UTC
Updated
23 Nov 2026, 08:02:28 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linuxfbd2d2074bde2e333d9a9eeda5864cd593fbe29c to < 3608b53735e5554b98825ee7c21cf7df489569f1 · fbd2d2074bde2e333d9a9eeda5864cd593fbe29c to < 358cd0602a79792dbf968478536bd6fc8151a37c · fbd2d2074bde2e333d9a9eeda5864cd593fbe29c to < 8938407fd80d92f286466674e9e9ad4e1bc81e27 · fbd2d2074bde2e333d9a9eeda5864cd593fbe29c to < 9597ef3f028c2972d2a4a6d246161bd0736a1178 · fbd2d2074bde2e333d9a9eeda5864cd593fbe29c to < 07b000b5b458723ca85d67dbbe5f6359c0202cfc · fbd2d2074bde2e333d9a9eeda5864cd593fbe29c to < 9b50f28c22c948b0c134d5c5dbd62ea0ada97fc3 · fbd2d2074bde2e333d9a9eeda5864cd593fbe29c to < ffe508adf85acdd57db01a234161e795b7403062 · fbd2d2074bde2e333d9a9eeda5864cd593fbe29c to < eb644ed5c6d9afdb1554c41cef1f39d150fbc554 · Other versions: unaffected Affected Not stated Linux
Linux — Linux4.16 (affected) · 0 to < 4.16 (unaffected · semver) · 5.10.275 through 5.10.* (unaffected · semver) · 5.15.226 through 5.15.* (unaffected · semver) · 6.1.193 through 6.1.* (unaffected · semver) · 6.6.163 through 6.6.* (unaffected · semver) · 6.12.117 through 6.12.* (unaffected · semver) · 6.18.61 through 6.18.* (unaffected · semver) · 7.3.2 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Pending Fix; Not Affected Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Pending Fix Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluationALAS2023-2026-3538 Fixed Not stated Amazon Linux assessment
Debian bookworm linux-6.12 Advisory build 6.12.117-1~deb12u1 DLA-4927-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-develaarch64 Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
Amazon Linux AL2023 kernel6.18aarch64 Listed in advisory Not stated ALAS2023-2026-3538
Show 17 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
SUSE / openSUSE openSUSE-Tumbleweed kernel-develppc64le Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-devels390x Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-develx86_64 Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-macrosaarch64 Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-macrosppc64le Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-macross390x Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-macrosx86_64 Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-sourceaarch64 Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-sourceppc64le Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-sources390x Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-sourcex86_64 Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-source-vanillaaarch64 Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-source-vanillappc64le Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-source-vanillas390x Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-source-vanillax86_64 Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
Amazon Linux AL2023 kernel6.18src Listed in advisory Not stated ALAS2023-2026-3538
Amazon Linux AL2023 kernel6.18x86_64 Listed in advisory Not stated ALAS2023-2026-3538

Description

In the Linux kernel, the following vulnerability has been resolved: ovl: read the nlink xattr of every indexed non-dir With nfs_export=on, data written through a file handle to a lower file, i.e. a file that exists only in a lower layer of the overlay, can be lost on the next mount. A lookup of the file by name then returns -EIO. Also, a file with one name reports st_nlink 2 once it has been copied to the upper layer. After such a file is removed, its file handle can still open it until the next mount. Before a lower file is changed for the first time, overlayfs copies it to the writable upper layer. This is called copy up. The index directory is $workdir/index, where $workdir is the directory given by the workdir= option. Each entry is named after the file handle of a lower inode, so that overlayfs can get from the handle to the copied up inode. With nfs_export=on, copy up indexes every non-directory: it copies the file to an entry in the index directory and then hard links that entry into the upper directory. The index entry is an extra link to the upper inode, so overlayfs stores the link count that users should see in the overlay.nlink xattr. A file can also be opened by handle, either by an NFS client or by a process with CAP_DAC_READ_SEARCH calling open_by_handle_at(). If the file is not in the dcache, its overlay dentry is disconnected, i.e. it has no parent yet. Copy up then creates the index entry but no hard link in the upper directory. The index entry has i_nlink 1 and holds the only copy of the data written to the file. ovl_get_nlink() reads the stored count. Its caller passes a default, which the function returns if there is no stored count. If the lower inode has i_nlink 1, the function returns the default without reading the xattr. That was correct as long as only lower files with multiple links were indexed. On the next mount, ovl_verify_index() looks for orphans, i.e. index entries of files whose last name was removed. For an index entry with i_nlink 1, it passes a default of 0 to ovl_get_nlink() and treats a result of 0 as an orphan. Here the lower inode also has i_nlink 1, so the result is the default. ovl_indexdir_cleanup() then replaces the entry with a whiteout, which in the index marks a file as deleted. The written data is lost. A lookup by name then returns -EIO, because a whiteout as the index entry of a lower file that still exists is a bad index. ovl_get_inode() gets the wrong count the same way. Its default is the i_nlink of the upper inode, which includes the index entry, so a copied up file with one name reports st_nlink 2. When that name is removed, the count drops to 1 rather than 0. ovl_nlink_end() replaces the index entry with a whiteout only at a count of 0, so the entry stays, and the handle of the removed file still opens it. Reproduced by writing through open_by_handle_at() to an uncached lower file with one link. After a remount the data was lost, and the name returned EIO. Fix this by adding an argument to ovl_get_nlink() that says whether the caller found an index entry, and by skipping the xattr only if the caller found none. Known gaps: - An index entry that a kernel without this patch left behind for a removed file now stays, and the handle of that file keeps working. The entry has i_nlink 1 and a stored count of 1, just like the entry of a file that was only written by handle. Without this patch, the next mount treated it as an orphan.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

3

Assessment

CVSS risk assessment and additional context for this vulnerability.

No normalized assessments.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux fbd2d2074bde2e333d9a9eeda5864cd593fbe29c to < 3608b53735e5554b98825ee7c21cf7df489569f1 (affected · git)fbd2d2074bde2e333d9a9eeda5864cd593fbe29c to < 358cd0602a79792dbf968478536bd6fc8151a37c (affected · git)fbd2d2074bde2e333d9a9eeda5864cd593fbe29c to < 8938407fd80d92f286466674e9e9ad4e1bc81e27 (affected · git)fbd2d2074bde2e333d9a9eeda5864cd593fbe29c to < 9597ef3f028c2972d2a4a6d246161bd0736a1178 (affected · git)fbd2d2074bde2e333d9a9eeda5864cd593fbe29c to < 07b000b5b458723ca85d67dbbe5f6359c0202cfc (affected · git)fbd2d2074bde2e333d9a9eeda5864cd593fbe29c to < 9b50f28c22c948b0c134d5c5dbd62ea0ada97fc3 (affected · git)fbd2d2074bde2e333d9a9eeda5864cd593fbe29c to < ffe508adf85acdd57db01a234161e795b7403062 (affected · git)fbd2d2074bde2e333d9a9eeda5864cd593fbe29c to < eb644ed5c6d9afdb1554c41cef1f39d150fbc554 (affected · git)Default: unaffected Linux · cna
Linux Linux 4.16 (affected)0 to < 4.16 (unaffected · semver)5.10.275 through 5.10.* (unaffected · semver)5.15.226 through 5.15.* (unaffected · semver)6.1.193 through 6.1.* (unaffected · semver)6.6.163 through 6.6.* (unaffected · semver)6.12.117 through 6.12.* (unaffected · semver)6.18.61 through 6.18.* (unaffected · semver)7.3.2 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

8

Provider assertions

1

Linux · cna

ovl: read the nlink xattr of every indexed non-dir

Provenance

Schema
5.2
Searchable
yes
Content hash
1b34e55f61894b5adb44a30efe347a2297bde507daad70c886865c4c9486cdda
Ingested
23 Nov 2026, 14:35:29 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected