{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-93811",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-09-18T17:59:28.790Z",
        "datePublished": "2026-09-24T16:02:47.745Z",
        "dateUpdated": "2026-10-03T10:57:43.607Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-10-03T10:57:43.607Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nksmbd: Fix acl.sd_buf memory leak and invalid sd_size error handling\n\n1. When ndr_decode_v4_ntacl() fails, the code jumped to free_n_data\n   which only freed n.data, skipping kfree(acl.sd_buf) and leaking\n   the buffer. Zero-initialize struct xattr_ntacl acl, reorder error\n   labels to out_free to release acl.sd_buf on all error paths.\n\n2. if (acl.sd_size < sizeof(struct smb_ntsd)) is true, original code\n   returned success without freeing sd_buf and left stale *pntsd.\n   Set rc = -EINVAL before jumping to out_free to return error code and\n   free buffer."
                }
            ],
            "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": "cb69d4d6f709f87c94afa28ae64c501576692171",
                            "lessThan": "f46a70a082bdbfecbe074af8a719c26c4deb58c6",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "8f0541186e9ad1b62accc9519cc2b7a7240272a7",
                            "lessThan": "86c2625fb9863139b359805fc6be1e31edbd3d65",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "8f0541186e9ad1b62accc9519cc2b7a7240272a7",
                            "lessThan": "edc17db83085624a2b1bacf6a4521d7f15571737",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "8f0541186e9ad1b62accc9519cc2b7a7240272a7",
                            "lessThan": "c3836f55e0dab96314774215e12d87f63fa919f2",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "8f0541186e9ad1b62accc9519cc2b7a7240272a7",
                            "lessThan": "6e6329322ad733c5b23555c609353841560b26bc",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "8f0541186e9ad1b62accc9519cc2b7a7240272a7",
                            "lessThan": "d708a36634bb7b6f94d0e76d587d2ec50b2b93b5",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "6e8f4abf584253cbaa596ea4ad13110cf61cd4c9",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "8e33102309bd6839b2e2e158f93a7b378cb4655d",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "5.15.62",
                            "lessThan": "5.15.222",
                            "status": "affected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.18.18",
                            "lessThan": "5.19",
                            "status": "affected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.19.2",
                            "lessThan": "5.20",
                            "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.0",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "6.0",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.15.222",
                            "lessThanOrEqual": "5.15.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.1.189",
                            "lessThanOrEqual": "6.1.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.6.158",
                            "lessThanOrEqual": "6.6.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.12.111",
                            "lessThanOrEqual": "6.12.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.18.53",
                            "lessThanOrEqual": "6.18.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.2",
                            "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.62",
                                    "versionEndExcluding": "5.15.222"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.0",
                                    "versionEndExcluding": "6.1.189"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.0",
                                    "versionEndExcluding": "6.6.158"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.0",
                                    "versionEndExcluding": "6.12.111"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.0",
                                    "versionEndExcluding": "6.18.53"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.0",
                                    "versionEndExcluding": "7.2"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.18.18"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.19.2"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/f46a70a082bdbfecbe074af8a719c26c4deb58c6"
                },
                {
                    "url": "https://git.kernel.org/stable/c/86c2625fb9863139b359805fc6be1e31edbd3d65"
                },
                {
                    "url": "https://git.kernel.org/stable/c/edc17db83085624a2b1bacf6a4521d7f15571737"
                },
                {
                    "url": "https://git.kernel.org/stable/c/c3836f55e0dab96314774215e12d87f63fa919f2"
                },
                {
                    "url": "https://git.kernel.org/stable/c/6e6329322ad733c5b23555c609353841560b26bc"
                },
                {
                    "url": "https://git.kernel.org/stable/c/d708a36634bb7b6f94d0e76d587d2ec50b2b93b5"
                }
            ],
            "title": "ksmbd: Fix acl.sd_buf memory leak and invalid sd_size error handling",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}