cvelo
P4 · InfoEPSS 0.2%

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

  • CVE-2026-99418
  • GHSA-69v9-q4h9-vwch
  • EUVD-2026-130084

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.

Text from the CVE.org record.

Recommendation

  • Linux

    • If you run a version from 4.1.18 to before 4.2update to 4.2 or laterMinor version change: check the release notes
    • If you run a version from 3.18.27 to before 3.19update to 3.19 or laterMinor version change: check the release notes

    Some affected versions have no stated fix.

Taken from the version ranges of the CVE.org record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.

Affected

  • Linux

    Affected versionsFixed in
    from 4.1.18 to before 4.24.2
    from 3.18.27 to before 3.193.19
    from 4.4.3 to before 4.5none stated
    4.5none stated
    before 4.5: not affectednone stated
    from 5.10.275 up to 5.10.*: not affectednone stated
    from 5.15.226 up to 5.15.*: not affectednone stated
    from 6.1.193 up to 6.1.*: not affectednone stated

    and 5 more

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.