{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "8f0541186e9ad1b62accc9519cc2b7a7240272a7"
            },
            {
              "fixed": "c3836f55e0dab96314774215e12d87f63fa919f2"
            },
            {
              "fixed": "6e6329322ad733c5b23555c609353841560b26bc"
            },
            {
              "fixed": "d708a36634bb7b6f94d0e76d587d2ec50b2b93b5"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "cb69d4d6f709f87c94afa28ae64c501576692171"
            },
            {
              "last_affected": "6e8f4abf584253cbaa596ea4ad13110cf61cd4c9"
            },
            {
              "last_affected": "8e33102309bd6839b2e2e158f93a7b378cb4655d"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "5.15.62"
            },
            {
              "fixed": "5.16"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "5.18.18"
            },
            {
              "fixed": "5.19"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "5.19.2"
            },
            {
              "fixed": "5.20"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "6.0.0"
            },
            {
              "fixed": "6.12.111"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.53"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/93xxx/CVE-2026-93811.json"
  },
  "details": "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 \u003c 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.",
  "id": "CVE-2026-93811",
  "modified": "2026-09-27T03:30:26.911697221Z",
  "published": "2026-09-24T16:02:47.745Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/6e6329322ad733c5b23555c609353841560b26bc"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/c3836f55e0dab96314774215e12d87f63fa919f2"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/d708a36634bb7b6f94d0e76d587d2ec50b2b93b5"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/93xxx/CVE-2026-93811.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-93811"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.9.0",
  "summary": "ksmbd: Fix acl.sd_buf memory leak and invalid sd_size error handling"
}