cvelo
P4 · InfoEPSS 0.2%

ovl: fix a torn path in ovl_get_redirect()

  • CVE-2026-99417
  • GHSA-gf6p-4r6j-5cjv
  • EUVD-2026-130083

Description

In the Linux kernel, the following vulnerability has been resolved: ovl: fix a torn path in ovl_get_redirect() A hard link of a metacopy file that races with a rename of an ancestor stores a redirect to the wrong lower file. Each component of an absolute redirect must be the name that a dentry has in the parent that the walk continues with. ovl_get_redirect() copies the name under d_lock and calls dget_parent() after the unlock, and the callers for a hard link hold no lock that stops a rename across directories. A rename between the two steps combines the old name with the new parent. With delays in ovl_get_redirect(), an unprivileged user hard-linked a metacopy file while renaming its ancestor to another directory, the stored redirect named another lower path, and after a remount the file showed the data of a root-only file. Fix this by taking the parent first and checking it again under d_lock.

Text from the CVE.org record.

Recommendation

  • Linux

    • If you run 5.10.xupdate to 5.10.275 or laterPatch update: breaking changes are unlikely
    • If you run a version from 5.4.97 to before 5.5update to 5.5 or laterMinor version change: check the release notes
    • If you run a version from 4.19.175 to before 4.20update to 4.20 or laterMinor version change: check the release notes
    • If you run a version from 4.14.221 to before 4.15update to 4.15 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 5.10.15 to before 5.10.2755.10.275
    from 5.4.97 to before 5.55.5
    from 4.19.175 to before 4.204.20
    from 4.14.221 to before 4.154.15
    5.11none stated
    before 5.11: 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

    and 6 more

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.