{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-99419",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-09-25T10:25:14.413Z",
        "datePublished": "2026-11-19T14:40:18.713Z",
        "dateUpdated": "2026-11-23T08:02:31.512Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-11-23T08:02:31.512Z"
            },
            "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()]"
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "fs/overlayfs/copy_up.c"
                    ],
                    "versions": [
                        {
                            "version": "e9be9d5e76e34872f0c37d72e25bc27fe9e2c54c",
                            "lessThan": "509166108df0ef63f946f328c0228e80ca6da67e",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "e9be9d5e76e34872f0c37d72e25bc27fe9e2c54c",
                            "lessThan": "7795a4233280a77d0f4905c3313e46e94c9d97a4",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "e9be9d5e76e34872f0c37d72e25bc27fe9e2c54c",
                            "lessThan": "a13c8b1cc720e463255eef7026ef90d5156d2ebe",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "e9be9d5e76e34872f0c37d72e25bc27fe9e2c54c",
                            "lessThan": "1f1e53002416b8574a5b168e6f61d02e1685bc07",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "e9be9d5e76e34872f0c37d72e25bc27fe9e2c54c",
                            "lessThan": "383a883cf71525752a3092bba3c22aa1ab04df37",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "e9be9d5e76e34872f0c37d72e25bc27fe9e2c54c",
                            "lessThan": "1d9706fb79a9499f5a0f7d7f755b6bb9b14cc426",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "e9be9d5e76e34872f0c37d72e25bc27fe9e2c54c",
                            "lessThan": "0defa3e443bbdd38628f0b594809c52295836dec",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "e9be9d5e76e34872f0c37d72e25bc27fe9e2c54c",
                            "lessThan": "f635192ad223d2009ee640b63adf5ce3198aa338",
                            "status": "affected",
                            "versionType": "git"
                        }
                    ]
                },
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "fs/overlayfs/copy_up.c"
                    ],
                    "versions": [
                        {
                            "version": "3.18",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "3.18",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.10.275",
                            "lessThanOrEqual": "5.10.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.15.226",
                            "lessThanOrEqual": "5.15.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.1.193",
                            "lessThanOrEqual": "6.1.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.6.163",
                            "lessThanOrEqual": "6.6.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.12.117",
                            "lessThanOrEqual": "6.12.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.18.61",
                            "lessThanOrEqual": "6.18.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.3.2",
                            "lessThanOrEqual": "7.3.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.4-rc1",
                            "lessThanOrEqual": "*",
                            "status": "unaffected",
                            "versionType": "original_commit_for_fix"
                        }
                    ]
                }
            ],
            "cpeApplicability": [
                {
                    "nodes": [
                        {
                            "operator": "OR",
                            "negate": false,
                            "cpeMatch": [
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "3.18",
                                    "versionEndExcluding": "5.10.275"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "3.18",
                                    "versionEndExcluding": "5.15.226"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "3.18",
                                    "versionEndExcluding": "6.1.193"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "3.18",
                                    "versionEndExcluding": "6.6.163"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "3.18",
                                    "versionEndExcluding": "6.12.117"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "3.18",
                                    "versionEndExcluding": "6.18.61"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "3.18",
                                    "versionEndExcluding": "7.3.2"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "3.18",
                                    "versionEndExcluding": "7.4-rc1"
                                }
                            ]
                        }
                    ]
                }
            ],
            "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"
            }
        }
    }
}