{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9"
            },
            {
              "fixed": "b7cb5bf0855470799f12da825de91e48951b3876"
            },
            {
              "fixed": "62d80d7c2d9428085e7458ad4c06ca8c0984039b"
            },
            {
              "fixed": "337022d9dfac441c3b35e4455a51aa981996e02e"
            },
            {
              "fixed": "61fd3559199f7fa693dcbff35e59477e24af041a"
            },
            {
              "fixed": "5152c6d49e3fd4e9f2e857c57527aead752f1f87"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "5.15.0"
            },
            {
              "fixed": "6.6.148"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.7.0"
            },
            {
              "fixed": "6.12.101"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.42"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.1.6"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/68xxx/CVE-2026-68097.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nksmbd: validate ACE size against SID sub-authorities\n\nset_ntacl_dacl() validates sid.num_subauth before copying an ACE, but\ndoes not verify that the declared ACE size contains all sub-authorities\ndescribed by that field. An undersized ACE can therefore be copied\nand later make the POSIX ACL deduplication walk inspect data beyond\nthe copied ACE boundary.\n\nThe existing initial bound check is also too small. It only ensures\nthat the ACE size field is accessible before set_ntacl_dacl() reads\nsid.num_subauth farther into the input buffer.\n\nRequire enough input for the fixed SID header before accessing\nnum_subauth, reject ACEs smaller than that header, and skip ACEs\nwhose declared size cannot contain the complete SID. This makes the\nvalidation consistent with the other ACE walk paths.",
  "id": "CVE-2026-68097",
  "modified": "2026-08-15T11:31:21.387267327Z",
  "published": "2026-08-10T11:58:11.289Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/337022d9dfac441c3b35e4455a51aa981996e02e"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/5152c6d49e3fd4e9f2e857c57527aead752f1f87"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/61fd3559199f7fa693dcbff35e59477e24af041a"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/62d80d7c2d9428085e7458ad4c06ca8c0984039b"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/b7cb5bf0855470799f12da825de91e48951b3876"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/68xxx/CVE-2026-68097.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-68097"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "ksmbd: validate ACE size against SID sub-authorities"
}