{
  "id": "CVE-2026-64381",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-64381",
  "published_at": "2026-07-25T08:50:31.209Z",
  "title": "smb: client: Fix next buffer leak in receive_encrypted_standard()",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 7.8,
    "source": "nvd",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "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.",
  "cwe": "CWE-787",
  "cpes": [
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "nvd": 7.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= b24df3e30cbf48255db866720fb71f14bf9d2f39, \u003c 94e4f672db029414b9888b5137a7559f1febf2d8",
          "\u003e= b24df3e30cbf48255db866720fb71f14bf9d2f39, \u003c 68fc0b6cc03ca58060c0f36454e169f5fe258974",
          "\u003e= b24df3e30cbf48255db866720fb71f14bf9d2f39, \u003c 07e0ab81df1790afa35732a4e8e07ff831b29008",
          "\u003e= b24df3e30cbf48255db866720fb71f14bf9d2f39, \u003c 9136a08dc29328edd9867f2545e73906ac9df93b",
          "\u003e= b24df3e30cbf48255db866720fb71f14bf9d2f39, \u003c 67097772df7791c53d608f04bd31c676ccf79b83",
          "\u003e= b24df3e30cbf48255db866720fb71f14bf9d2f39, \u003c 297243e365fc9fe2f8e9b7dd535a65d922cd108b",
          "\u003e= b24df3e30cbf48255db866720fb71f14bf9d2f39, \u003c 927d4805aea0a287d36dd4f826ee24d69a2afee3",
          "\u003e= b24df3e30cbf48255db866720fb71f14bf9d2f39, \u003c 1c6267a1d5cf4c73b656f8181b310cbbb3e4767b"
        ],
        "fixed_in": [
          "94e4f672db029414b9888b5137a7559f1febf2d8",
          "68fc0b6cc03ca58060c0f36454e169f5fe258974",
          "07e0ab81df1790afa35732a4e8e07ff831b29008",
          "9136a08dc29328edd9867f2545e73906ac9df93b",
          "67097772df7791c53d608f04bd31c676ccf79b83",
          "297243e365fc9fe2f8e9b7dd535a65d922cd108b",
          "927d4805aea0a287d36dd4f826ee24d69a2afee3",
          "1c6267a1d5cf4c73b656f8181b310cbbb3e4767b"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "4.19"
        ],
        "fixed_in": [
          "0",
          "5.10.261",
          "5.15.212",
          "6.1.178",
          "6.6.145",
          "6.12.96",
          "6.18.39",
          "7.1.4",
          "7.2"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to 94e4f672db029414b9888b5137a7559f1febf2d8 or 68fc0b6cc03ca58060c0f36454e169f5fe258974 or 07e0ab81df1790afa35732a4e8e07ff831b29008 or 9136a08dc29328edd9867f2545e73906ac9df93b or 67097772df7791c53d608f04bd31c676ccf79b83 or 297243e365fc9fe2f8e9b7dd535a65d922cd108b or 927d4805aea0a287d36dd4f826ee24d69a2afee3 or 1c6267a1d5cf4c73b656f8181b310cbbb3e4767b or later.",
      "Upgrade Linux to 0 or 5.10.261 or 5.15.212 or 6.1.178 or 6.6.145 or 6.12.96 or 6.18.39 or 7.1.4 or 7.2 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
