CVE-2026-64381 (GCVE-0-2026-64381)

Vulnerability from cvelistv5 – Published: 2026-07-25 08:50 – Updated: 2026-07-25 08:50
VLAI
Title
smb: client: Fix next buffer leak in receive_encrypted_standard()
Summary
In the Linux kernel, the following vulnerability has been resolved: smb: client: Fix next buffer leak in receive_encrypted_standard() receive_encrypted_standard() allocates next_buffer before checking whether the number of compound PDUs already reached MAX_COMPOUND. If the limit check fails, the function returns immediately and the newly allocated next_buffer is not assigned to server->smallbuf/server->bigbuf, making it leaked. Move the MAX_COMPOUND check before allocating next_buffer.
Severity
No CVSS data available.
Assigner
Impacted products
Vendor Product Version
Linux Linux Affected: b24df3e30cbf48255db866720fb71f14bf9d2f39 , < 94e4f672db029414b9888b5137a7559f1febf2d8 (git)
Affected: b24df3e30cbf48255db866720fb71f14bf9d2f39 , < 68fc0b6cc03ca58060c0f36454e169f5fe258974 (git)
Affected: b24df3e30cbf48255db866720fb71f14bf9d2f39 , < 07e0ab81df1790afa35732a4e8e07ff831b29008 (git)
Affected: b24df3e30cbf48255db866720fb71f14bf9d2f39 , < 9136a08dc29328edd9867f2545e73906ac9df93b (git)
Affected: b24df3e30cbf48255db866720fb71f14bf9d2f39 , < 67097772df7791c53d608f04bd31c676ccf79b83 (git)
Affected: b24df3e30cbf48255db866720fb71f14bf9d2f39 , < 297243e365fc9fe2f8e9b7dd535a65d922cd108b (git)
Affected: b24df3e30cbf48255db866720fb71f14bf9d2f39 , < 927d4805aea0a287d36dd4f826ee24d69a2afee3 (git)
Affected: b24df3e30cbf48255db866720fb71f14bf9d2f39 , < 1c6267a1d5cf4c73b656f8181b310cbbb3e4767b (git)
Create a notification for this product.
Linux Linux Affected: 4.19
Unaffected: 0 , < 4.19 (semver)
Unaffected: 5.10.261 , ≤ 5.10.* (semver)
Unaffected: 5.15.212 , ≤ 5.15.* (semver)
Unaffected: 6.1.178 , ≤ 6.1.* (semver)
Unaffected: 6.6.145 , ≤ 6.6.* (semver)
Unaffected: 6.12.96 , ≤ 6.12.* (semver)
Unaffected: 6.18.39 , ≤ 6.18.* (semver)
Unaffected: 7.1.4 , ≤ 7.1.* (semver)
Unaffected: 7.2-rc1 , ≤ * (original_commit_for_fix)
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "fs/smb/client/smb2ops.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "94e4f672db029414b9888b5137a7559f1febf2d8",
              "status": "affected",
              "version": "b24df3e30cbf48255db866720fb71f14bf9d2f39",
              "versionType": "git"
            },
            {
              "lessThan": "68fc0b6cc03ca58060c0f36454e169f5fe258974",
              "status": "affected",
              "version": "b24df3e30cbf48255db866720fb71f14bf9d2f39",
              "versionType": "git"
            },
            {
              "lessThan": "07e0ab81df1790afa35732a4e8e07ff831b29008",
              "status": "affected",
              "version": "b24df3e30cbf48255db866720fb71f14bf9d2f39",
              "versionType": "git"
            },
            {
              "lessThan": "9136a08dc29328edd9867f2545e73906ac9df93b",
              "status": "affected",
              "version": "b24df3e30cbf48255db866720fb71f14bf9d2f39",
              "versionType": "git"
            },
            {
              "lessThan": "67097772df7791c53d608f04bd31c676ccf79b83",
              "status": "affected",
              "version": "b24df3e30cbf48255db866720fb71f14bf9d2f39",
              "versionType": "git"
            },
            {
              "lessThan": "297243e365fc9fe2f8e9b7dd535a65d922cd108b",
              "status": "affected",
              "version": "b24df3e30cbf48255db866720fb71f14bf9d2f39",
              "versionType": "git"
            },
            {
              "lessThan": "927d4805aea0a287d36dd4f826ee24d69a2afee3",
              "status": "affected",
              "version": "b24df3e30cbf48255db866720fb71f14bf9d2f39",
              "versionType": "git"
            },
            {
              "lessThan": "1c6267a1d5cf4c73b656f8181b310cbbb3e4767b",
              "status": "affected",
              "version": "b24df3e30cbf48255db866720fb71f14bf9d2f39",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "fs/smb/client/smb2ops.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "4.19"
            },
            {
              "lessThan": "4.19",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.261",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.212",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.178",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.145",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.96",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.39",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.1.*",
              "status": "unaffected",
              "version": "7.1.4",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.2-rc1",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.261",
                  "versionStartIncluding": "4.19",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.212",
                  "versionStartIncluding": "4.19",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.178",
                  "versionStartIncluding": "4.19",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.145",
                  "versionStartIncluding": "4.19",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.96",
                  "versionStartIncluding": "4.19",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.39",
                  "versionStartIncluding": "4.19",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.1.4",
                  "versionStartIncluding": "4.19",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2-rc1",
                  "versionStartIncluding": "4.19",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nsmb: client: Fix next buffer leak in receive_encrypted_standard()\n\nreceive_encrypted_standard() allocates next_buffer before checking\nwhether the number of compound PDUs already reached MAX_COMPOUND. If\nthe limit check fails, the function returns immediately and the newly\nallocated next_buffer is not assigned to server-\u003esmallbuf/server-\u003ebigbuf,\nmaking it leaked.\n\nMove the MAX_COMPOUND check before allocating next_buffer."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-07-25T08:50:31.209Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/94e4f672db029414b9888b5137a7559f1febf2d8"
        },
        {
          "url": "https://git.kernel.org/stable/c/68fc0b6cc03ca58060c0f36454e169f5fe258974"
        },
        {
          "url": "https://git.kernel.org/stable/c/07e0ab81df1790afa35732a4e8e07ff831b29008"
        },
        {
          "url": "https://git.kernel.org/stable/c/9136a08dc29328edd9867f2545e73906ac9df93b"
        },
        {
          "url": "https://git.kernel.org/stable/c/67097772df7791c53d608f04bd31c676ccf79b83"
        },
        {
          "url": "https://git.kernel.org/stable/c/297243e365fc9fe2f8e9b7dd535a65d922cd108b"
        },
        {
          "url": "https://git.kernel.org/stable/c/927d4805aea0a287d36dd4f826ee24d69a2afee3"
        },
        {
          "url": "https://git.kernel.org/stable/c/1c6267a1d5cf4c73b656f8181b310cbbb3e4767b"
        }
      ],
      "title": "smb: client: Fix next buffer leak in receive_encrypted_standard()",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-64381",
    "datePublished": "2026-07-25T08:50:31.209Z",
    "dateReserved": "2026-07-19T15:36:31.784Z",
    "dateUpdated": "2026-07-25T08:50:31.209Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-64381",
      "date": "2026-07-26",
      "epss": "0.00177",
      "percentile": "0.07468"
    },
    "nvd": "{\"cve\":{\"id\":\"CVE-2026-64381\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2026-07-25T10:17:21.347\",\"lastModified\":\"2026-07-25T10:17:21.347\",\"vulnStatus\":\"Received\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nsmb: client: Fix next buffer leak in receive_encrypted_standard()\\n\\nreceive_encrypted_standard() allocates next_buffer before checking\\nwhether the number of compound PDUs already reached MAX_COMPOUND. If\\nthe limit check fails, the function returns immediately and the newly\\nallocated next_buffer is not assigned to server-\u003esmallbuf/server-\u003ebigbuf,\\nmaking it leaked.\\n\\nMove the MAX_COMPOUND check before allocating next_buffer.\"}],\"affected\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"affectedData\":[{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"unaffected\",\"programFiles\":[\"fs/smb/client/smb2ops.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"b24df3e30cbf48255db866720fb71f14bf9d2f39\",\"lessThan\":\"94e4f672db029414b9888b5137a7559f1febf2d8\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"b24df3e30cbf48255db866720fb71f14bf9d2f39\",\"lessThan\":\"68fc0b6cc03ca58060c0f36454e169f5fe258974\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"b24df3e30cbf48255db866720fb71f14bf9d2f39\",\"lessThan\":\"07e0ab81df1790afa35732a4e8e07ff831b29008\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"b24df3e30cbf48255db866720fb71f14bf9d2f39\",\"lessThan\":\"9136a08dc29328edd9867f2545e73906ac9df93b\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"b24df3e30cbf48255db866720fb71f14bf9d2f39\",\"lessThan\":\"67097772df7791c53d608f04bd31c676ccf79b83\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"b24df3e30cbf48255db866720fb71f14bf9d2f39\",\"lessThan\":\"297243e365fc9fe2f8e9b7dd535a65d922cd108b\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"b24df3e30cbf48255db866720fb71f14bf9d2f39\",\"lessThan\":\"927d4805aea0a287d36dd4f826ee24d69a2afee3\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"b24df3e30cbf48255db866720fb71f14bf9d2f39\",\"lessThan\":\"1c6267a1d5cf4c73b656f8181b310cbbb3e4767b\",\"versionType\":\"git\",\"status\":\"affected\"}]},{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"affected\",\"programFiles\":[\"fs/smb/client/smb2ops.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"4.19\",\"status\":\"affected\"},{\"version\":\"0\",\"lessThan\":\"4.19\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"5.10.261\",\"lessThanOrEqual\":\"5.10.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"5.15.212\",\"lessThanOrEqual\":\"5.15.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.1.178\",\"lessThanOrEqual\":\"6.1.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.6.145\",\"lessThanOrEqual\":\"6.6.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.12.96\",\"lessThanOrEqual\":\"6.12.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.18.39\",\"lessThanOrEqual\":\"6.18.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"7.1.4\",\"lessThanOrEqual\":\"7.1.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"7.2-rc1\",\"lessThanOrEqual\":\"*\",\"versionType\":\"original_commit_for_fix\",\"status\":\"unaffected\"}]}]}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/07e0ab81df1790afa35732a4e8e07ff831b29008\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/1c6267a1d5cf4c73b656f8181b310cbbb3e4767b\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/297243e365fc9fe2f8e9b7dd535a65d922cd108b\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/67097772df7791c53d608f04bd31c676ccf79b83\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/68fc0b6cc03ca58060c0f36454e169f5fe258974\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/9136a08dc29328edd9867f2545e73906ac9df93b\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/927d4805aea0a287d36dd4f826ee24d69a2afee3\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/94e4f672db029414b9888b5137a7559f1febf2d8\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}",
    "suse_vex": {
      "aggregate_severity": "not set",
      "current_release_date": "2026-07-25T16:00:32Z",
      "cve": "CVE-2026-64381",
      "id": "CVE-2026-64381",
      "initial_release_date": "2026-07-25T16:00:32Z",
      "source": "SUSE CSAF VEX",
      "status": "interim",
      "title": "SUSE CVE CVE-2026-64381",
      "url": "https://ftp.suse.com/pub/projects/security/csaf-vex/cve-2026-64381.json",
      "version": "2"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…

Loading…