{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "fc94cdb94462e71a4a974bc9bc1f483189ae7805"
            },
            {
              "fixed": "659148924f05cfc453cca39b885d76b25b84cc29"
            },
            {
              "fixed": "9b75ba374fe03e3650d86fe9cf7fcec117389516"
            },
            {
              "fixed": "d5993c6146ad74a3dab2d9cbd09106d644d761cb"
            },
            {
              "fixed": "8fc9af68c57156ff64769f30e831553cd03b3000"
            }
          ],
          "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.17"
            },
            {
              "fixed": "6.12.118"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.64"
            }
          ],
          "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-99387.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nsmb: client: bound POSIX lock data area by response length\n\nCIFSSMBPosixLock() receives a TRANS2 response whose server-provided\nDataOffset and DataCount are not required by validate_t2() to describe an\ninterval inside the response. A server can therefore make the client read a\ncifs_posix_lock beyond the response buffer and return those kernel bytes\nthrough F_GETLK.\n\nUse smbCalcSize() to obtain the full response length after any multipart\nTRANS2 reassembly, then reject data areas that extend past it before\ndereferencing them.",
  "id": "CVE-2026-99387",
  "modified": "2026-11-19T16:45:44.603047526Z",
  "published": "2026-11-19T14:23:26.808Z",
  "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/659148924f05cfc453cca39b885d76b25b84cc29"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/8fc9af68c57156ff64769f30e831553cd03b3000"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/9b75ba374fe03e3650d86fe9cf7fcec117389516"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/d5993c6146ad74a3dab2d9cbd09106d644d761cb"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99387.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-99387"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "smb: client: bound POSIX lock data area by response length"
}