{
  "id": "CVE-2026-64387",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-64387",
  "published_at": "2026-07-25T08:50:35.543Z",
  "title": "smb: client: fix query directory replay double-free",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 9.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/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 query directory replay double-free\n\nA response-bearing attempt can return a replayable error and free its\nresponse buffer. If SMB2_query_directory_init() fails before the next send,\ncleanup retains the previous buffer type and frees that response again.\n\nReset response bookkeeping before each attempt to prevent the stale free.",
  "cwe": "CWE-415",
  "cpes": [
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.8:-:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.8:rc2:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.8:rc3:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.8:rc4:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.8:rc5:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.8:rc6:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.8:rc7:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 9.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= 433042a91f9373241307725b52de573933ffedbf, \u003c 3409aedf3c81a810243da94164f6621c9d205c98",
          "\u003e= 4f1fffa2376922f3d1d506e49c0fd445b023a28e, \u003c 1665f25b1dea30bf2d02e16245d203a944c9d994",
          "\u003e= 4f1fffa2376922f3d1d506e49c0fd445b023a28e, \u003c 00b0fa425941438b664950a8ee65dfba2def4336",
          "\u003e= 4f1fffa2376922f3d1d506e49c0fd445b023a28e, \u003c 3317a5d015fca976475aa71df224056777316fde",
          "\u003e= 4f1fffa2376922f3d1d506e49c0fd445b023a28e, \u003c 9647492b5e41954be59d5157eddbcd4cdc1656f7",
          "\u003e= 6.6.32, \u003c 6.6.145"
        ],
        "fixed_in": [
          "3409aedf3c81a810243da94164f6621c9d205c98",
          "1665f25b1dea30bf2d02e16245d203a944c9d994",
          "00b0fa425941438b664950a8ee65dfba2def4336",
          "3317a5d015fca976475aa71df224056777316fde",
          "9647492b5e41954be59d5157eddbcd4cdc1656f7",
          "6.6.145"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "6.8"
        ],
        "fixed_in": [
          "0",
          "6.6.145",
          "6.12.96",
          "6.18.39",
          "7.1.4",
          "7.2"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to 3409aedf3c81a810243da94164f6621c9d205c98 or 1665f25b1dea30bf2d02e16245d203a944c9d994 or 00b0fa425941438b664950a8ee65dfba2def4336 or 3317a5d015fca976475aa71df224056777316fde or 9647492b5e41954be59d5157eddbcd4cdc1656f7 or 6.6.145 or later.",
      "Upgrade Linux to 0 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": []
}
