{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-99535",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-09-25T10:25:14.420Z",
        "datePublished": "2026-11-19T14:44:48.628Z",
        "dateUpdated": "2026-11-23T08:03:59.397Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-11-23T08:03:59.397Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nksmbd: prevent share root removal through empty paths\n\nA FileLinkInformation request can supply \"/\" as the new link name.\nsmb2_get_name() strips the trailing slash and passes an empty string to\nksmbd_vfs_kern_path_start_removing().\n\nksmbd_vfs_path_lookup() resolves an empty pathname as the configured share\npath, without LOOKUP_BENEATH. With ReplaceIfExists set, smb2_create_link()\ncan therefore remove the share root from its parent before link creation\nfails. An authenticated client with a writable share and DELETE access to\na file can trigger this if the share root is empty and the mapped user\nhas write and search permission on its parent directory.\n\nReturn -EINVAL for empty pathnames when for_remove is set, before\nresolving the share path or acquiring removal resources. Ordinary lookups\ncontinue to accept empty pathnames for opening the share root."
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "fs/smb/server/vfs.c"
                    ],
                    "versions": [
                        {
                            "version": "019aae488dbc67c97a33db03652e20e2c9e3afa7",
                            "lessThan": "c718c89d0a36275580fd478bc86c23f2d1e6034a",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "6927ffe7479c72e7ebf885507227266a75f7c97d",
                            "lessThan": "a87ef12487a1cc6232076d709e0470f5f309fc60",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "74d7970febf7e9005375aeda0df821d2edffc9f7",
                            "lessThan": "c73044f67fc01705eb9eb921da55a51f03f83566",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "74d7970febf7e9005375aeda0df821d2edffc9f7",
                            "lessThan": "007eaa56b06fd05c55b86afabab3354ff7c24653",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "74d7970febf7e9005375aeda0df821d2edffc9f7",
                            "lessThan": "2756a41a82d618bf1d8b41d74108311815cb695c",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "74d7970febf7e9005375aeda0df821d2edffc9f7",
                            "lessThan": "1f8945d2eb20a135b4e22e6fe2348a0191be208a",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "74d7970febf7e9005375aeda0df821d2edffc9f7",
                            "lessThan": "9fd1fcbbf84986a7bcf601a2b90540899069d263",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "ef6cc1c465786b3e4e735d1ab8b616b3e94402df",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "5.15.145",
                            "lessThan": "5.15.226",
                            "status": "affected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.1.71",
                            "lessThan": "6.1.193",
                            "status": "affected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.3.10",
                            "lessThan": "6.4",
                            "status": "affected",
                            "versionType": "semver"
                        }
                    ]
                },
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "fs/smb/server/vfs.c"
                    ],
                    "versions": [
                        {
                            "version": "6.4",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "6.4",
                            "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": "5.15.145",
                                    "versionEndExcluding": "5.15.226"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.1.71",
                                    "versionEndExcluding": "6.1.193"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.4",
                                    "versionEndExcluding": "6.6.163"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.4",
                                    "versionEndExcluding": "6.12.117"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.4",
                                    "versionEndExcluding": "6.18.61"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.4",
                                    "versionEndExcluding": "7.3.2"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.4",
                                    "versionEndExcluding": "7.4-rc1"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.3.10"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/c718c89d0a36275580fd478bc86c23f2d1e6034a"
                },
                {
                    "url": "https://git.kernel.org/stable/c/a87ef12487a1cc6232076d709e0470f5f309fc60"
                },
                {
                    "url": "https://git.kernel.org/stable/c/c73044f67fc01705eb9eb921da55a51f03f83566"
                },
                {
                    "url": "https://git.kernel.org/stable/c/007eaa56b06fd05c55b86afabab3354ff7c24653"
                },
                {
                    "url": "https://git.kernel.org/stable/c/2756a41a82d618bf1d8b41d74108311815cb695c"
                },
                {
                    "url": "https://git.kernel.org/stable/c/1f8945d2eb20a135b4e22e6fe2348a0191be208a"
                },
                {
                    "url": "https://git.kernel.org/stable/c/9fd1fcbbf84986a7bcf601a2b90540899069d263"
                }
            ],
            "title": "ksmbd: prevent share root removal through empty paths",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}