{
  "id": "CVE-2026-64016",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-64016",
  "published_at": "2026-07-19T15:39:11.266Z",
  "title": "ksmbd: fix durable reconnect error path file lifetime",
  "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\nksmbd: fix durable reconnect error path file lifetime\n\nAfter a durable reconnect succeeds, ksmbd_reopen_durable_fd() republishes\nthe same ksmbd_file into the session volatile-id table. If smb2_open()\nthen takes a later error path, cleanup first calls ksmbd_fd_put(work, fp)\nand then unconditionally calls ksmbd_put_durable_fd(dh_info.fp).\n\nIn this case fp and dh_info.fp are the same object. The first put drops the\nreconnect lookup reference, but the final durable put can run\n__ksmbd_close_fd(NULL, fp). Because the final close is not session-aware,\nit can free the file object without removing the volatile-id entry that was\njust published into the session table.\n\nUse the session-aware put for the final reconnect drop when the reconnect\nhad already succeeded and the error path is cleaning up the republished\nfile. Earlier reconnect failures, before fp is assigned to dh_info.fp, keep\nusing the durable-only put path.",
  "cwe": "CWE-416",
  "cpes": [
    "cpe:2.3:o:linux:linux_kernel:6.18.33:*:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.0.10:*:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.1:rc1:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.1:rc2:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.1:rc3:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.1:rc4:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 9.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= f0ff7f12398e85b3a11745ff7feab6246f3d75c2, \u003c 5e641e4ee0bc1937408d41051a908ad4151be63b",
          "\u003e= 4db3dcac84c2f14a45ae201efb38de1fb1bfc009, \u003c 478bfaa036bd0c7e179acff8b8484bccdee3b8c7",
          "\u003e= ce2e164c1c51c3f7813b80f8c926836e896bcbb3, \u003c a1a39f227c80cbf369767badc32cba2b225147d1",
          "\u003e= 97a0cd55283b4e63fd92804da91c8d9896adcad9, \u003c 6cb0b9385320110fe24a5d5ac0000ade4bb3a3f3",
          "\u003e= 1baff47b81f94f9231c91236aa511420d0e266b9, \u003c 3515503322f4819277091839eed46b695096aca5"
        ],
        "fixed_in": [
          "5e641e4ee0bc1937408d41051a908ad4151be63b",
          "478bfaa036bd0c7e179acff8b8484bccdee3b8c7",
          "a1a39f227c80cbf369767badc32cba2b225147d1",
          "6cb0b9385320110fe24a5d5ac0000ade4bb3a3f3",
          "3515503322f4819277091839eed46b695096aca5"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= 6.18.33, \u003c 6.18.34",
          "\u003e= 7.0.10, \u003c 7.0.11"
        ],
        "fixed_in": [
          "6.18.34",
          "7.0.11"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to 5e641e4ee0bc1937408d41051a908ad4151be63b or 478bfaa036bd0c7e179acff8b8484bccdee3b8c7 or a1a39f227c80cbf369767badc32cba2b225147d1 or 6cb0b9385320110fe24a5d5ac0000ade4bb3a3f3 or 3515503322f4819277091839eed46b695096aca5 or later.",
      "Upgrade Linux to 6.18.34 or 7.0.11 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
