CVE-2026-99419 (GCVE-0-2026-99419)

Vulnerability from cvelistv5 – Published: 2026-11-19 14:40 – Updated: 2026-11-23 08:02
VLAI
Title
ovl: do not copy up a dentry that was removed
Summary
In the Linux kernel, the following vulnerability has been resolved: ovl: do not copy up a dentry that was removed A change to a removed file through an open descriptor replaces whatever has its old name in the upper layer. Copy up must only create a name in the upper directory, never replace one. After an unlink, an rmdir or a rename over a lower dentry, a dentry that an open file keeps alive still has its old parent and name, but in the upper directory that name is now a whiteout or a new object. ovl_copy_up_workdir() renames the copy over it, which brings back the removed object and destroys whatever took its name. An unprivileged user opened a lower FIFO and unlinked it, root created a file at that name, and fchmod on the old descriptor replaced the file of root with the FIFO. Fix this by looking up the target name of the rename in ovl_copy_up_workdir() with LOOKUP_EXCL, so that copy up fails with -EEXIST if the name is taken, as copy up with O_TMPFILE already does when it links the copy to the name. [amir: use LOOKUP_EXCL instead of relying on d_unhashed()]
Severity
No CVSS data available.
Impacted products
Vendor Product Version
Linux Linux Affected: e9be9d5e76e34872f0c37d72e25bc27fe9e2c54c , < 509166108df0ef63f946f328c0228e80ca6da67e (git)
Affected: e9be9d5e76e34872f0c37d72e25bc27fe9e2c54c , < 7795a4233280a77d0f4905c3313e46e94c9d97a4 (git)
Affected: e9be9d5e76e34872f0c37d72e25bc27fe9e2c54c , < a13c8b1cc720e463255eef7026ef90d5156d2ebe (git)
Affected: e9be9d5e76e34872f0c37d72e25bc27fe9e2c54c , < 1f1e53002416b8574a5b168e6f61d02e1685bc07 (git)
Affected: e9be9d5e76e34872f0c37d72e25bc27fe9e2c54c , < 383a883cf71525752a3092bba3c22aa1ab04df37 (git)
Affected: e9be9d5e76e34872f0c37d72e25bc27fe9e2c54c , < 1d9706fb79a9499f5a0f7d7f755b6bb9b14cc426 (git)
Affected: e9be9d5e76e34872f0c37d72e25bc27fe9e2c54c , < 0defa3e443bbdd38628f0b594809c52295836dec (git)
Affected: e9be9d5e76e34872f0c37d72e25bc27fe9e2c54c , < f635192ad223d2009ee640b63adf5ce3198aa338 (git)
Create a notification for this product.
Linux Linux Affected: 3.18
Unaffected: 0 , < 3.18 (semver)
Unaffected: 5.10.275 , ≤ 5.10.* (semver)
Unaffected: 5.15.226 , ≤ 5.15.* (semver)
Unaffected: 6.1.193 , ≤ 6.1.* (semver)
Unaffected: 6.6.163 , ≤ 6.6.* (semver)
Unaffected: 6.12.117 , ≤ 6.12.* (semver)
Unaffected: 6.18.61 , ≤ 6.18.* (semver)
Unaffected: 7.3.2 , ≤ 7.3.* (semver)
Unaffected: 7.4-rc1 , ≤ * (original_commit_for_fix)
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "fs/overlayfs/copy_up.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "509166108df0ef63f946f328c0228e80ca6da67e",
              "status": "affected",
              "version": "e9be9d5e76e34872f0c37d72e25bc27fe9e2c54c",
              "versionType": "git"
            },
            {
              "lessThan": "7795a4233280a77d0f4905c3313e46e94c9d97a4",
              "status": "affected",
              "version": "e9be9d5e76e34872f0c37d72e25bc27fe9e2c54c",
              "versionType": "git"
            },
            {
              "lessThan": "a13c8b1cc720e463255eef7026ef90d5156d2ebe",
              "status": "affected",
              "version": "e9be9d5e76e34872f0c37d72e25bc27fe9e2c54c",
              "versionType": "git"
            },
            {
              "lessThan": "1f1e53002416b8574a5b168e6f61d02e1685bc07",
              "status": "affected",
              "version": "e9be9d5e76e34872f0c37d72e25bc27fe9e2c54c",
              "versionType": "git"
            },
            {
              "lessThan": "383a883cf71525752a3092bba3c22aa1ab04df37",
              "status": "affected",
              "version": "e9be9d5e76e34872f0c37d72e25bc27fe9e2c54c",
              "versionType": "git"
            },
            {
              "lessThan": "1d9706fb79a9499f5a0f7d7f755b6bb9b14cc426",
              "status": "affected",
              "version": "e9be9d5e76e34872f0c37d72e25bc27fe9e2c54c",
              "versionType": "git"
            },
            {
              "lessThan": "0defa3e443bbdd38628f0b594809c52295836dec",
              "status": "affected",
              "version": "e9be9d5e76e34872f0c37d72e25bc27fe9e2c54c",
              "versionType": "git"
            },
            {
              "lessThan": "f635192ad223d2009ee640b63adf5ce3198aa338",
              "status": "affected",
              "version": "e9be9d5e76e34872f0c37d72e25bc27fe9e2c54c",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "fs/overlayfs/copy_up.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "3.18"
            },
            {
              "lessThan": "3.18",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.275",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.226",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.193",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.163",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.117",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.61",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.3.*",
              "status": "unaffected",
              "version": "7.3.2",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.4-rc1",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.275",
                  "versionStartIncluding": "3.18",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.226",
                  "versionStartIncluding": "3.18",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.193",
                  "versionStartIncluding": "3.18",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.163",
                  "versionStartIncluding": "3.18",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.117",
                  "versionStartIncluding": "3.18",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.61",
                  "versionStartIncluding": "3.18",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.3.2",
                  "versionStartIncluding": "3.18",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.4-rc1",
                  "versionStartIncluding": "3.18",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\novl: do not copy up a dentry that was removed\n\nA change to a removed file through an open descriptor replaces whatever\nhas its old name in the upper layer.\n\nCopy up must only create a name in the upper directory, never replace\none. After an unlink, an rmdir or a rename over a lower dentry, a\ndentry that an open file keeps alive still has its old parent and name,\nbut in the upper directory that name is now a whiteout or a new object.\novl_copy_up_workdir() renames the copy over it, which brings back the\nremoved object and destroys whatever took its name.\n\nAn unprivileged user opened a lower FIFO and unlinked it, root created\na file at that name, and fchmod on the old descriptor replaced the file\nof root with the FIFO.\n\nFix this by looking up the target name of the rename in\novl_copy_up_workdir() with LOOKUP_EXCL, so that copy up fails with\n-EEXIST if the name is taken, as copy up with O_TMPFILE already does\nwhen it links the copy to the name.\n\n[amir: use LOOKUP_EXCL instead of relying on d_unhashed()]"
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-11-23T08:02:31.512Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/509166108df0ef63f946f328c0228e80ca6da67e"
        },
        {
          "url": "https://git.kernel.org/stable/c/7795a4233280a77d0f4905c3313e46e94c9d97a4"
        },
        {
          "url": "https://git.kernel.org/stable/c/a13c8b1cc720e463255eef7026ef90d5156d2ebe"
        },
        {
          "url": "https://git.kernel.org/stable/c/1f1e53002416b8574a5b168e6f61d02e1685bc07"
        },
        {
          "url": "https://git.kernel.org/stable/c/383a883cf71525752a3092bba3c22aa1ab04df37"
        },
        {
          "url": "https://git.kernel.org/stable/c/1d9706fb79a9499f5a0f7d7f755b6bb9b14cc426"
        },
        {
          "url": "https://git.kernel.org/stable/c/0defa3e443bbdd38628f0b594809c52295836dec"
        },
        {
          "url": "https://git.kernel.org/stable/c/f635192ad223d2009ee640b63adf5ce3198aa338"
        }
      ],
      "title": "ovl: do not copy up a dentry that was removed",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-99419",
    "datePublished": "2026-11-19T14:40:18.713Z",
    "dateReserved": "2026-09-25T10:25:14.413Z",
    "dateUpdated": "2026-11-23T08:02:31.512Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-99419",
      "date": "2026-11-22",
      "epss": "0.00192",
      "percentile": "0.08869"
    },
    "microsoft_vex": {
      "current_release_date": "2026-11-21T01:10:37.000Z",
      "cve": "CVE-2026-99419",
      "id": "msrc_CVE-2026-99419",
      "initial_release_date": "2026-11-21T01:10:37.000Z",
      "product_status:known_affected": "1",
      "source": "Microsoft CSAF VEX",
      "status": "final",
      "title": "ovl: do not copy up a dentry that was removed",
      "url": "https://msrc.microsoft.com/csaf/vex/2026/msrc_cve-2026-99419.json",
      "version": "1"
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "defaultStatus": "unaffected",
                "product": "Linux",
                "programFiles": [
                  "fs/overlayfs/copy_up.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "lessThan": "509166108df0ef63f946f328c0228e80ca6da67e",
                    "status": "affected",
                    "version": "e9be9d5e76e34872f0c37d72e25bc27fe9e2c54c",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "7795a4233280a77d0f4905c3313e46e94c9d97a4",
                    "status": "affected",
                    "version": "e9be9d5e76e34872f0c37d72e25bc27fe9e2c54c",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "a13c8b1cc720e463255eef7026ef90d5156d2ebe",
                    "status": "affected",
                    "version": "e9be9d5e76e34872f0c37d72e25bc27fe9e2c54c",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "1f1e53002416b8574a5b168e6f61d02e1685bc07",
                    "status": "affected",
                    "version": "e9be9d5e76e34872f0c37d72e25bc27fe9e2c54c",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "383a883cf71525752a3092bba3c22aa1ab04df37",
                    "status": "affected",
                    "version": "e9be9d5e76e34872f0c37d72e25bc27fe9e2c54c",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "1d9706fb79a9499f5a0f7d7f755b6bb9b14cc426",
                    "status": "affected",
                    "version": "e9be9d5e76e34872f0c37d72e25bc27fe9e2c54c",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "0defa3e443bbdd38628f0b594809c52295836dec",
                    "status": "affected",
                    "version": "e9be9d5e76e34872f0c37d72e25bc27fe9e2c54c",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "f635192ad223d2009ee640b63adf5ce3198aa338",
                    "status": "affected",
                    "version": "e9be9d5e76e34872f0c37d72e25bc27fe9e2c54c",
                    "versionType": "git"
                  }
                ]
              },
              {
                "defaultStatus": "affected",
                "product": "Linux",
                "programFiles": [
                  "fs/overlayfs/copy_up.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "status": "affected",
                    "version": "3.18"
                  },
                  {
                    "lessThan": "3.18",
                    "status": "unaffected",
                    "version": "0",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "5.10.*",
                    "status": "unaffected",
                    "version": "5.10.275",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "5.15.*",
                    "status": "unaffected",
                    "version": "5.15.226",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.1.*",
                    "status": "unaffected",
                    "version": "6.1.193",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.6.*",
                    "status": "unaffected",
                    "version": "6.6.163",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.12.*",
                    "status": "unaffected",
                    "version": "6.12.117",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.18.*",
                    "status": "unaffected",
                    "version": "6.18.61",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "7.3.*",
                    "status": "unaffected",
                    "version": "7.3.2",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "*",
                    "status": "unaffected",
                    "version": "7.4-rc1",
                    "versionType": "original_commit_for_fix"
                  }
                ]
              }
            ],
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
          }
        ],
        "cveTags": [],
        "descriptions": [
          {
            "lang": "en",
            "value": "In the Linux kernel, the following vulnerability has been resolved:\n\novl: do not copy up a dentry that was removed\n\nA change to a removed file through an open descriptor replaces whatever\nhas its old name in the upper layer.\n\nCopy up must only create a name in the upper directory, never replace\none. After an unlink, an rmdir or a rename over a lower dentry, a\ndentry that an open file keeps alive still has its old parent and name,\nbut in the upper directory that name is now a whiteout or a new object.\novl_copy_up_workdir() renames the copy over it, which brings back the\nremoved object and destroys whatever took its name.\n\nAn unprivileged user opened a lower FIFO and unlinked it, root created\na file at that name, and fchmod on the old descriptor replaced the file\nof root with the FIFO.\n\nFix this by looking up the target name of the rename in\novl_copy_up_workdir() with LOOKUP_EXCL, so that copy up fails with\n-EEXIST if the name is taken, as copy up with O_TMPFILE already does\nwhen it links the copy to the name.\n\n[amir: use LOOKUP_EXCL instead of relying on d_unhashed()]"
          }
        ],
        "id": "CVE-2026-99419",
        "lastModified": "2026-11-23T08:17:45.407",
        "metrics": {},
        "published": "2026-11-19T15:17:54.753",
        "references": [
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/0defa3e443bbdd38628f0b594809c52295836dec"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/1d9706fb79a9499f5a0f7d7f755b6bb9b14cc426"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/1f1e53002416b8574a5b168e6f61d02e1685bc07"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/383a883cf71525752a3092bba3c22aa1ab04df37"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/509166108df0ef63f946f328c0228e80ca6da67e"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/7795a4233280a77d0f4905c3313e46e94c9d97a4"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/a13c8b1cc720e463255eef7026ef90d5156d2ebe"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/f635192ad223d2009ee640b63adf5ce3198aa338"
          }
        ],
        "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "vulnStatus": "Received"
      }
    },
    "redhat_vex": {
      "aggregate_severity": "Important",
      "current_release_date": "2026-11-19T21:49:10+00:00",
      "cve": "CVE-2026-99419",
      "id": "CVE-2026-99419",
      "initial_release_date": "2026-11-19T14:40:18.713000+00:00",
      "product_status:known_affected": "190",
      "product_status:known_not_affected": "14",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: kernel: Unauthorized file replacement in OverlayFS via copy-up of removed files",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-99419.json",
      "version": "3"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…