CVE-2026-99418
ovl: do not copy up an xattr value that was never read
Description
In the Linux kernel, the following vulnerability has been resolved: ovl: do not copy up an xattr value that was never read Copy-up stores uninitialized kernel memory in an xattr of the upper file, where the user can read it. ovl_copy_xattr() may only pass bytes to ovl_do_setxattr() that ovl_do_getxattr() has read. When the read fails with -ERANGE the function asks for the size again, and if the new size fits the buffer it stores the buffer although nothing was read into it. The buffer comes from kvmalloc(), or it still holds the value of the previous xattr. A FUSE lower layer that answers every sized GETXATTR with -ERANGE made copy-up store 4096 bytes that the server never sent, with a kernel pointer in them, as an xattr of the upper file. Fix this by failing the copy-up with -EIO when the size that follows -ERANGE fits the buffer.
INFO
Published Date :
Nov. 19, 2026, 3:17 p.m.
Last Modified :
Nov. 23, 2026, 8:17 a.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Solution
- Apply relevant Linux kernel patches.
- Ensure xattr copy-up logic is fixed.
- Validate extended attribute handling.
- Update kernel to a secure version.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-99418.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-99418 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-99418
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-99418 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-99418 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Nov. 23, 2026
Action Type Old Value New Value Added Affected Affected value modified. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/99xxx/CVE-2026-99418.json">CVE-2026-99418</a> Added Reference https://git.kernel.org/stable/c/16fe398cdbcad6ee230aff5deb4386bc4560baca Added Reference https://git.kernel.org/stable/c/2dedd7b7b805ce8a466c610115cc4565182f952e Added Reference https://git.kernel.org/stable/c/6501862d1842865c163fcc6db5fc06da479bb456 Added Reference https://git.kernel.org/stable/c/8ed53aab9c9f12f9d258ebd2e4b268e92d4f9cf8 -
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Nov. 19, 2026
Action Type Old Value New Value Added Description In the Linux kernel, the following vulnerability has been resolved: ovl: do not copy up an xattr value that was never read Copy-up stores uninitialized kernel memory in an xattr of the upper file, where the user can read it. ovl_copy_xattr() may only pass bytes to ovl_do_setxattr() that ovl_do_getxattr() has read. When the read fails with -ERANGE the function asks for the size again, and if the new size fits the buffer it stores the buffer although nothing was read into it. The buffer comes from kvmalloc(), or it still holds the value of the previous xattr. A FUSE lower layer that answers every sized GETXATTR with -ERANGE made copy-up store 4096 bytes that the server never sent, with a kernel pointer in them, as an xattr of the upper file. Fix this by failing the copy-up with -EIO when the size that follows -ERANGE fits the buffer. Added Affected New affected value received. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/99xxx/CVE-2026-99418.json">CVE-2026-99418</a> Added Reference https://git.kernel.org/stable/c/3b1f5a4652539014f0162944f1a5f71ee520188a Added Reference https://git.kernel.org/stable/c/628260a7204314ab5f1cd93bddb1721cc0226b38 Added Reference https://git.kernel.org/stable/c/755b5c5c9277be251a51623d6065abab948c61bc Added Reference https://git.kernel.org/stable/c/e35c3b1dc69b8c8efe3d751fafb9b50a85f0e2f7