{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "0a4b92c05ed02ad7abdd165823eaf4bbcb33ae5c"
            },
            {
              "fixed": "520b48753e3c54172a078e7e4b82aec83ae2e08d"
            },
            {
              "fixed": "d55c0c19b0d1f5c0101f9aa3b60534b6d6e11052"
            },
            {
              "fixed": "83d0d5e0ca22233c75daf139ec0063b9d2ff1ac7"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "2.6.16"
            },
            {
              "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-99380.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nsmb: client: validate NT transaction response layout and offsets\n\nvalidate_ntransact() assumes that the response uses the fixed 18-word NT\ntransaction layout. A different WordCount makes get_bcc() locate the byte\ncount at a different offset from pSMBr-\u003eByteCount, allowing the subsequent\nbounds checks to use inconsistent response boundaries.\n\nThe function also turns the 32-bit ParameterOffset and DataOffset fields\ninto pointers before checking their bounds. On a 32-bit client, a large\noffset can wrap the pointer below end_of_smb and pass the one-sided pointer\ncomparison. The caller then dereferences the parameter pointer or copies\nfrom the data pointer.\n\nRequire the expected WordCount before reading the byte count. Check each\noffset and count against the received SMB length as integers before forming\neither pointer. Use subtraction after validating the offset so that the\nrange checks cannot overflow.",
  "id": "CVE-2026-99380",
  "modified": "2026-11-19T16:46:06.901218236Z",
  "published": "2026-11-19T14:23:20.787Z",
  "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/520b48753e3c54172a078e7e4b82aec83ae2e08d"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/83d0d5e0ca22233c75daf139ec0063b9d2ff1ac7"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/d55c0c19b0d1f5c0101f9aa3b60534b6d6e11052"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99380.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-99380"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "smb: client: validate NT transaction response layout and offsets"
}