{
  "schemaVersion": 1,
  "attribution": [
    {
      "source": "CISA Known Exploited Vulnerabilities",
      "url": "https://www.cisa.gov/known-exploited-vulnerabilities-catalog",
      "licence": "US government work"
    },
    {
      "source": "GitHub Advisory Database",
      "url": "https://github.com/advisories",
      "licence": "CC BY 4.0"
    },
    {
      "source": "Have I Been Pwned",
      "url": "https://haveibeenpwned.com/",
      "licence": "CC BY 4.0"
    },
    {
      "source": "CVE Program (CVE records)",
      "url": "https://www.cve.org/Legal/TermsOfUse",
      "licence": "CVE Terms of Use",
      "notice": "Copyright © 1999-2026, The MITRE Corporation. CVE is a trademark and the CVE logo is a registered trademark of The MITRE Corporation.",
      "terms": "CVE Usage: MITRE hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute Common Vulnerabilities and Exposures (CVE™). Any copy you make for such purposes is authorized provided that you reproduce MITRE's copyright designation and this license in any such copy."
    },
    {
      "source": "FIRST EPSS",
      "url": "https://www.first.org/epss/",
      "licence": "free to use; FIRST requests attribution"
    }
  ],
  "record": {
    "id": "CVE-2026-64139",
    "sourceURL": "https://www.cve.org/CVERecord?id=CVE-2026-64139",
    "idYear": 2026,
    "status": "PUBLISHED",
    "publishedAt": "2026-07-19T15:40:32.459Z",
    "updatedAt": "2026-08-23T12:45:33.681Z",
    "importedAt": "2026-10-24T01:58:25.636Z",
    "snapshot": {
      "id": "cve_2026-10-24_midnight_baseline",
      "at": "2026-10-24T00:00:00.000Z",
      "source": "https://github.com/CVEProject/cvelistV5/releases/tag/cve_2026-10-24_0100Z"
    },
    "facts": {
      "title": "ksmbd: fix SID memory leak in set_posix_acl_entries_dacl() on overflow",
      "summary": "In the Linux kernel, the following vulnerability has been resolved:\n\nksmbd: fix SID memory leak in set_posix_acl_entries_dacl() on overflow\n\nCommit 299f962c0b02 (\"ksmbd: use check_add_overflow() to prevent u16\nDACL size overflow\") added check_add_overflow() guards that break out\nof the ACE-building loops in set_posix_acl_entries_dacl() when the\naccumulated DACL size would wrap past 65535.\n\nHowever, each iteration allocates a struct smb_sid via kmalloc_obj()\nat the top of the loop and relies on the kfree(sid) call at the end\nof the loop body (the 'pass_same_sid' label in the first loop, and\nthe explicit kfree at the tail of the second loop) to release it.\nThe newly introduced 'break' statements bypass those kfree() calls,\nleaking the sid buffer every time an overflow is detected.\n\nA malicious or malformed file with enough POSIX ACL entries to trip\nthe overflow check will leak one or more struct smb_sid allocations\non every request that touches the file's DACL, providing a trivial\nkernel memory exhaustion vector.\n\nFree sid before breaking out of the loops to plug the leak.",
      "affected": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "41e53a773db6342ac9a689ee5ba635c31744c9f0",
              "status": "affected",
              "versionType": "git",
              "lessThan": "9b0a8985b419a71ee1cc9c0cc6a9e1bb7815a2c5"
            },
            {
              "version": "8d5729350b236896f51379588d9a690b7fafb8db",
              "status": "affected",
              "versionType": "git",
              "lessThan": "9d378e17c864da08c3a4df41dae92cfa6468b00a"
            },
            {
              "version": "e1955a94b6f17f4b058afa955a6f187eb3ed7615",
              "status": "affected",
              "versionType": "git",
              "lessThan": "519fb0a42ce5d7e46935577309fb282a5f2c6ea3"
            },
            {
              "version": "5e7b8f3c539d69b2ed5f2408e2f75e68ce7eef43",
              "status": "affected",
              "versionType": "git",
              "lessThan": "0e198f09cb2a554c04de0fea4e790f1250a943ca"
            },
            {
              "version": "ef7902be3f215b6bf7babe4dc9dd9a7d57dad7a7",
              "status": "affected",
              "versionType": "git",
              "lessThan": "eced48cb08f07393a5ea770fdd1026452883c3ad"
            },
            {
              "version": "299f962c0b02d048fb45d248b4da493d03f3175d",
              "status": "affected",
              "versionType": "git",
              "lessThan": "af92ee994cc7f7e83a41c2025f32257a2f82a7ef"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "6.1.175",
              "status": "affected",
              "versionType": "semver",
              "lessThan": "6.1.184"
            },
            {
              "version": "6.6.136",
              "status": "affected",
              "versionType": "semver",
              "lessThan": "6.6.142"
            },
            {
              "version": "6.12.84",
              "status": "affected",
              "versionType": "semver",
              "lessThan": "6.12.92"
            },
            {
              "version": "6.18.25",
              "status": "affected",
              "versionType": "semver",
              "lessThan": "6.18.34"
            },
            {
              "version": "7.0.2",
              "status": "affected",
              "versionType": "semver",
              "lessThan": "7.0.11"
            }
          ]
        }
      ]
    }
  }
}