# CVE-2026-99418: ovl: do not copy up an xattr value that was never read

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 13% of CVEs (2026-12-01)
- Published: 2026-11-19T14:40:16.914Z
- Modified: 2026-11-23T08:17:45.273Z
- Assigned by: 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.

(As written by CVE List.)

## Affected

- Linux Linux: from e4ad29fa0d224d05e08b2858e65f112fd8edd4fe before 8ed53aab9c9f12f9d258ebd2e4b268e92d4f9cf8; from e4ad29fa0d224d05e08b2858e65f112fd8edd4fe before 16fe398cdbcad6ee230aff5deb4386bc4560baca; from e4ad29fa0d224d05e08b2858e65f112fd8edd4fe before 2dedd7b7b805ce8a466c610115cc4565182f952e; from e4ad29fa0d224d05e08b2858e65f112fd8edd4fe before 6501862d1842865c163fcc6db5fc06da479bb456; from e4ad29fa0d224d05e08b2858e65f112fd8edd4fe before 3b1f5a4652539014f0162944f1a5f71ee520188a; from e4ad29fa0d224d05e08b2858e65f112fd8edd4fe before 628260a7204314ab5f1cd93bddb1721cc0226b38; from e4ad29fa0d224d05e08b2858e65f112fd8edd4fe before e35c3b1dc69b8c8efe3d751fafb9b50a85f0e2f7; from e4ad29fa0d224d05e08b2858e65f112fd8edd4fe before 755b5c5c9277be251a51623d6065abab948c61bc; f641fdbd8ca737df49e96d9d58206fb0a9d82512; 3c0a63d74b4a12a0a98cd85b195031d8d4b109a6; fa932190a5f332e1936ab0223c7c5d79b5596a9c; from 3.18.27 before 3.19; and 3 more (not affected: before 4.5; from 5.10.275 up to 5.10.*; from 5.15.226 up to 5.15.*; from 6.1.193 up to 6.1.*; from 6.6.163 up to 6.6.*; from 6.12.117 up to 6.12.*; from 6.18.61 up to 6.18.*; from 7.3.2 up to 7.3.*; from 7.4-rc1 up to *)

## References

- <https://git.kernel.org/stable/c/8ed53aab9c9f12f9d258ebd2e4b268e92d4f9cf8>
- <https://git.kernel.org/stable/c/16fe398cdbcad6ee230aff5deb4386bc4560baca>
- <https://git.kernel.org/stable/c/2dedd7b7b805ce8a466c610115cc4565182f952e>
- <https://git.kernel.org/stable/c/6501862d1842865c163fcc6db5fc06da479bb456>
- <https://git.kernel.org/stable/c/3b1f5a4652539014f0162944f1a5f71ee520188a>
- <https://git.kernel.org/stable/c/628260a7204314ab5f1cd93bddb1721cc0226b38>
- <https://git.kernel.org/stable/c/e35c3b1dc69b8c8efe3d751fafb9b50a85f0e2f7>
- <https://git.kernel.org/stable/c/755b5c5c9277be251a51623d6065abab948c61bc>

## Sources

- CVE List: [CVE-2026-99418](https://www.cve.org/CVERecord?id=CVE-2026-99418), CVE Terms of Use, modified 2026-11-23
- NVD: [CVE-2026-99418](https://nvd.nist.gov/vuln/detail/CVE-2026-99418), Public domain, modified 2026-11-23

---

Page: https://cve.day/CVE-2026-99418 · Whole record: https://cve.day/CVE-2026-99418.json · Rebuilt by cve.day 2026-11-25T22:59:52.062Z
