CVE-2026-99418
ovl: do not copy up an xattr value that was never read
- CVSS
- —
- EPSS
- 0.22% (p14)
- Published
- 2026-11-19
- Age
- 15d old
- Modified
- 2026-12-01
- Product
- Linux Linux
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.
Fixed in
16fe398cdbcad6ee230aff5deb4386bc4560baca · 2dedd7b7b805ce8a466c610115cc4565182f952e · 3.19 · 3b1f5a4652539014f0162944f1a5f71ee520188a · 4.2 · 4.5 · 5.10.275 · 5.15.226 · 6.1.193 · 6.12.117 · 6.18.61 · 6.6.163 · 628260a7204314ab5f1cd93bddb1721cc0226b38 · 6501862d1842865c163fcc6db5fc06da479bb456 · 7.3.2 · 755b5c5c9277be251a51623d6065abab948c61bc · 8ed53aab9c9f12f9d258ebd2e4b268e92d4f9cf8 · e35c3b1dc69b8c8efe3d751fafb9b50a85f0e2f7
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| Linux | Kernel | >=3.18.27, <3.19 | 3.19 |
| Linux | Kernel | >=4.1.18, <4.2 | 4.2 |
| Linux | Kernel | >=4.4.3, <4.5 | 4.5 |
| Linux | Kernel | >=4.5.0, <5.10.275 | 5.10.275 |
| Linux | Kernel | >=5.11.0, <5.15.226 | 5.15.226 |
| Linux | Kernel | >=5.16.0, <6.1.193 | 6.1.193 |
| Linux | Kernel | >=6.13.0, <6.18.61 | 6.18.61 |
| Linux | Kernel | >=6.19.0, <7.3.2 | 7.3.2 |
| Linux | Kernel | >=6.2.0, <6.6.163 | 6.6.163 |
| Linux | Kernel | >=6.7.0, <6.12.117 | 6.12.117 |
| vendor | Linux | >=3.18.27, <3.19 | 3.19 |
| vendor | Linux | >=4.1.18, <4.2 | 4.2 |
| vendor | Linux | >=4.4.3, <4.5 | 4.5 |
| vendor | Linux | >=e4ad29fa0d224d05e08b2858e65f112fd8edd4fe, <16fe398cdbcad6ee230aff5deb4386bc4560baca | 16fe398cdbcad6ee230aff5deb4386bc4560baca |
| vendor | Linux | >=e4ad29fa0d224d05e08b2858e65f112fd8edd4fe, <2dedd7b7b805ce8a466c610115cc4565182f952e | 2dedd7b7b805ce8a466c610115cc4565182f952e |
| vendor | Linux | >=e4ad29fa0d224d05e08b2858e65f112fd8edd4fe, <3b1f5a4652539014f0162944f1a5f71ee520188a | 3b1f5a4652539014f0162944f1a5f71ee520188a |
| vendor | Linux | >=e4ad29fa0d224d05e08b2858e65f112fd8edd4fe, <628260a7204314ab5f1cd93bddb1721cc0226b38 | 628260a7204314ab5f1cd93bddb1721cc0226b38 |
| vendor | Linux | >=e4ad29fa0d224d05e08b2858e65f112fd8edd4fe, <6501862d1842865c163fcc6db5fc06da479bb456 | 6501862d1842865c163fcc6db5fc06da479bb456 |
| vendor | Linux | >=e4ad29fa0d224d05e08b2858e65f112fd8edd4fe, <755b5c5c9277be251a51623d6065abab948c61bc | 755b5c5c9277be251a51623d6065abab948c61bc |
| vendor | Linux | >=e4ad29fa0d224d05e08b2858e65f112fd8edd4fe, <8ed53aab9c9f12f9d258ebd2e4b268e92d4f9cf8 | 8ed53aab9c9f12f9d258ebd2e4b268e92d4f9cf8 |
| vendor | Linux | >=e4ad29fa0d224d05e08b2858e65f112fd8edd4fe, <e35c3b1dc69b8c8efe3d751fafb9b50a85f0e2f7 | e35c3b1dc69b8c8efe3d751fafb9b50a85f0e2f7 |
Sources
- NVD · first seen 15d ago · NVD terms of use
- OSV · first seen 3d ago · CC-BY 4.0
- CVE List · first seen 15d ago · CVE Terms of Use
References
- https://git.kernel.org/stable/c/3b1f5a4652539014f0162944f1a5f71ee520188a other
- https://git.kernel.org/stable/c/628260a7204314ab5f1cd93bddb1721cc0226b38 other
- https://git.kernel.org/stable/c/e35c3b1dc69b8c8efe3d751fafb9b50a85f0e2f7 other
- https://git.kernel.org/stable/c/755b5c5c9277be251a51623d6065abab948c61bc other
- https://git.kernel.org/stable/c/8ed53aab9c9f12f9d258ebd2e4b268e92d4f9cf8 other
- https://git.kernel.org/stable/c/16fe398cdbcad6ee230aff5deb4386bc4560baca other
- https://git.kernel.org/stable/c/2dedd7b7b805ce8a466c610115cc4565182f952e other
- https://git.kernel.org/stable/c/6501862d1842865c163fcc6db5fc06da479bb456 other
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99418.json advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-99418 advisory
- https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git package