{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9"
            },
            {
              "fixed": "5a04348b4492fe993ed709e601f01877e5dab220"
            },
            {
              "fixed": "4a7f332fd43eee2541197d6e1e297b9ef2e1b07f"
            },
            {
              "fixed": "44950fdcc645041912fecc257c01a1f253abf05e"
            },
            {
              "fixed": "19d180c7baab7126af5848ed87d5f7b5add0cef2"
            }
          ],
          "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.12.117"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.61"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.3.2"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99323.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nksmbd: fix invalid pointer dereference when get_inode_acl() fails\n\nWhen get_inode_acl() fails, it returns an ERR_PTR(), but\nksmbd_acls_fattr() stored that pointer in smb_fattr without\nchecking for errors. Later callers then passed the error pointer\nto security descriptor helpers or posix_acl_release(), resulting\nin an invalid pointer dereference.\n\nThis was reproduced on an XFS-backed share when xfs_get_acl()\nreturned ERR_PTR(-ENOMEM). Querying the SMB ACL from a CIFS client\ntriggered the crash:\n\n  BUG: unable to handle page fault for address: fffffffffffffff8\n  RIP: smb_acl_sec_desc_scratch_len+0x58/0x90 [ksmbd]\n  Call Trace:\n   smb2_query_info+0x40d/0x17c0 [ksmbd]\n   handle_ksmbd_work+0x1ca/0x770 [ksmbd]\n\nFix this by checking the return values from get_inode_acl() in\nksmbd_acls_fattr(). Treat -EOPNOTSUPP as indicating that no ACL is\navailable, and propagate all other errors to the callers. Update\nsmb2_open() and smb2_get_info_sec() to handle these errors.",
  "id": "CVE-2026-99323",
  "modified": "2026-11-19T16:45:42.166603437Z",
  "published": "2026-11-19T14:21:31.581Z",
  "references": [
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/19d180c7baab7126af5848ed87d5f7b5add0cef2"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/44950fdcc645041912fecc257c01a1f253abf05e"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/4a7f332fd43eee2541197d6e1e297b9ef2e1b07f"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/5a04348b4492fe993ed709e601f01877e5dab220"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99323.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-99323"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "ksmbd: fix invalid pointer dereference when get_inode_acl() fails"
}