ovl: do not copy up an xattr value that was never read

Summary

CVECVE-2026-99418
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-11-19 15:17:54 UTC
Updated2026-11-23 08:17:45 UTC
DescriptionIn 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.

Risk And Classification

EPSS: 0.002220000 probability, percentile 0.128170000 (date 2026-11-23)

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected e4ad29fa0d224d05e08b2858e65f112fd8edd4fe 8ed53aab9c9f12f9d258ebd2e4b268e92d4f9cf8 git Not specified
CNA Linux Linux affected e4ad29fa0d224d05e08b2858e65f112fd8edd4fe 16fe398cdbcad6ee230aff5deb4386bc4560baca git Not specified
CNA Linux Linux affected e4ad29fa0d224d05e08b2858e65f112fd8edd4fe 2dedd7b7b805ce8a466c610115cc4565182f952e git Not specified
CNA Linux Linux affected e4ad29fa0d224d05e08b2858e65f112fd8edd4fe 6501862d1842865c163fcc6db5fc06da479bb456 git Not specified
CNA Linux Linux affected e4ad29fa0d224d05e08b2858e65f112fd8edd4fe 3b1f5a4652539014f0162944f1a5f71ee520188a git Not specified
CNA Linux Linux affected e4ad29fa0d224d05e08b2858e65f112fd8edd4fe 628260a7204314ab5f1cd93bddb1721cc0226b38 git Not specified
CNA Linux Linux affected e4ad29fa0d224d05e08b2858e65f112fd8edd4fe e35c3b1dc69b8c8efe3d751fafb9b50a85f0e2f7 git Not specified
CNA Linux Linux affected e4ad29fa0d224d05e08b2858e65f112fd8edd4fe 755b5c5c9277be251a51623d6065abab948c61bc git Not specified
CNA Linux Linux affected f641fdbd8ca737df49e96d9d58206fb0a9d82512 git Not specified
CNA Linux Linux affected 3c0a63d74b4a12a0a98cd85b195031d8d4b109a6 git Not specified
CNA Linux Linux affected fa932190a5f332e1936ab0223c7c5d79b5596a9c git Not specified
CNA Linux Linux affected 3.18.27 3.19 semver Not specified
CNA Linux Linux affected 4.1.18 4.2 semver Not specified
CNA Linux Linux affected 4.4.3 4.5 semver Not specified
CNA Linux Linux affected 4.5 Not specified
CNA Linux Linux unaffected 4.5 semver Not specified
CNA Linux Linux unaffected 5.10.275 5.10.* semver Not specified
CNA Linux Linux unaffected 5.15.226 5.15.* semver Not specified
CNA Linux Linux unaffected 6.1.193 6.1.* semver Not specified
CNA Linux Linux unaffected 6.6.163 6.6.* semver Not specified
CNA Linux Linux unaffected 6.12.117 6.12.* semver Not specified
CNA Linux Linux unaffected 6.18.61 6.18.* semver Not specified
CNA Linux Linux unaffected 7.3.2 7.3.* semver Not specified
CNA Linux Linux unaffected 7.4-rc1 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/16fe398cdbcad6ee230aff5deb4386bc4560baca 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/8ed53aab9c9f12f9d258ebd2e4b268e92d4f9cf8 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/2dedd7b7b805ce8a466c610115cc4565182f952e 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/755b5c5c9277be251a51623d6065abab948c61bc 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/6501862d1842865c163fcc6db5fc06da479bb456 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/628260a7204314ab5f1cd93bddb1721cc0226b38 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/e35c3b1dc69b8c8efe3d751fafb9b50a85f0e2f7 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/3b1f5a4652539014f0162944f1a5f71ee520188a 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report