{
  "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-98171",
    "sourceURL": "https://www.cve.org/CVERecord?id=CVE-2026-98171",
    "idYear": 2026,
    "status": "PUBLISHED",
    "publishedAt": "2026-10-06T08:44:15.927Z",
    "updatedAt": "2026-10-19T09:15:02.660Z",
    "importedAt": "2026-10-24T01:58:41.756Z",
    "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": "smb: client: fix next_buffer UAF and NextCommand bounds in compound PDUs",
      "summary": "In the Linux kernel, the following vulnerability has been resolved:\n\nsmb: client: fix next_buffer UAF and NextCommand bounds in compound PDUs\n\nFix several related bounds checking and pointer lifecycle issues in\nreceive_encrypted_standard()'s handling of compound encrypted frames:\n\n- Clear next_buffer after assigning it to server->bigbuf. A stale\n  next_buffer pointer can lead to a use-after-free on subsequent\n  error paths.\n- Update pdu_length to the decrypted plaintext size (buf_size). Using\n  the pre-decryption length allows NextCommand to point into stale\n  ciphertext residue.\n- Reject next_cmd values smaller than MID_HEADER_SIZE(server).\n- Fix an integer overflow in the upper bound check by verifying\n  pdu_length - next_cmd < MID_HEADER_SIZE(server), ensuring the\n  trailing slice is large enough for a header.",
      "affected": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "b24df3e30cbf48255db866720fb71f14bf9d2f39",
              "status": "affected",
              "versionType": "git",
              "lessThan": "72eaef1f37a3b6bec11c342736834dc3707be3e4"
            },
            {
              "version": "b24df3e30cbf48255db866720fb71f14bf9d2f39",
              "status": "affected",
              "versionType": "git",
              "lessThan": "491e33144dee872cffda207f6fcb09260728f803"
            },
            {
              "version": "b24df3e30cbf48255db866720fb71f14bf9d2f39",
              "status": "affected",
              "versionType": "git",
              "lessThan": "8749946579708ea0d339034bb7f423a67dbe89cf"
            },
            {
              "version": "b24df3e30cbf48255db866720fb71f14bf9d2f39",
              "status": "affected",
              "versionType": "git",
              "lessThan": "96c436e4b010711452b2872558938f4ef276492a"
            },
            {
              "version": "b24df3e30cbf48255db866720fb71f14bf9d2f39",
              "status": "affected",
              "versionType": "git",
              "lessThan": "858d5ac22cb889266993e7670f9f0c4f4aeedd78"
            },
            {
              "version": "b24df3e30cbf48255db866720fb71f14bf9d2f39",
              "status": "affected",
              "versionType": "git",
              "lessThan": "05762c5bc1cfdcac36747994fde2c04387a457f1"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "versions": [
            {
              "version": "4.19",
              "status": "affected"
            },
            {
              "version": "0",
              "status": "unaffected",
              "versionType": "semver",
              "lessThan": "4.19"
            },
            {
              "version": "6.1.189",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.1.*"
            },
            {
              "version": "6.6.158",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.6.*"
            },
            {
              "version": "6.12.112",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.12.*"
            },
            {
              "version": "6.18.54",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.18.*"
            },
            {
              "version": "7.2.8",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "7.2.*"
            },
            {
              "version": "7.3",
              "status": "unaffected",
              "versionType": "original_commit_for_fix",
              "lessThanOrEqual": "*"
            }
          ]
        }
      ]
    }
  }
}