{
  "id": "CVE-2026-64390",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-64390",
  "published_at": "2026-07-25T08:50:37.406Z",
  "title": "ksmbd: track the connection owning a byte-range lock",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 8.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/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\nksmbd: track the connection owning a byte-range lock\n\nSMB2_LOCK adds each granted byte-range lock to both the file lock list\nand the lock list of the connection which handled the request.  The\nfinal close and durable handle paths, however, remove the connection\nlist entry while holding fp-\u003econn-\u003ellist_lock.\n\nWith SMB3 multichannel, the connection handling the LOCK request can be\ndifferent from the connection which opened the file.  The entry can\ntherefore be removed under a different spinlock from the one protecting\nthe list it belongs to.  A concurrent traversal can then access freed\nstruct ksmbd_lock and struct file_lock objects.\n\nRecord the connection owning each lock's clist entry and hold a\nreference to it while the entry is linked.  Use that connection and its\nllist_lock for unlock, rollback, close, and durable preserve.  Durable\nreconnect assigns the new connection as the owner when publishing the\nlocks again.",
  "cpes": [
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 8.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= f5a544e3bab78142207e0242d22442db85ba1eff, \u003c 22d38cf75b556c20b039743bdf3654d535b858be",
          "\u003e= f5a544e3bab78142207e0242d22442db85ba1eff, \u003c 66eb3643164e5e1029907793926c132f8b5c6148",
          "\u003e= f5a544e3bab78142207e0242d22442db85ba1eff, \u003c ea5c9bf99f626a15cc59f645dc895f2b3f01992e",
          "\u003e= f5a544e3bab78142207e0242d22442db85ba1eff, \u003c fe20d492a69a6f79e637f438072b212e21ed3b78",
          "\u003e= f5a544e3bab78142207e0242d22442db85ba1eff, \u003c 427faaa52b0b399940c1a88065a5c310d10dad15",
          "\u003e= f5a544e3bab78142207e0242d22442db85ba1eff, \u003c 5fecc15a30cb9ebd310f7b52c1ab607edcea78f6",
          "\u003e= f5a544e3bab78142207e0242d22442db85ba1eff, \u003c c1016dd1d8b2bcd1158bbaabe94a31bb7e7431fb"
        ],
        "fixed_in": [
          "22d38cf75b556c20b039743bdf3654d535b858be",
          "66eb3643164e5e1029907793926c132f8b5c6148",
          "ea5c9bf99f626a15cc59f645dc895f2b3f01992e",
          "fe20d492a69a6f79e637f438072b212e21ed3b78",
          "427faaa52b0b399940c1a88065a5c310d10dad15",
          "5fecc15a30cb9ebd310f7b52c1ab607edcea78f6",
          "c1016dd1d8b2bcd1158bbaabe94a31bb7e7431fb"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "5.15"
        ],
        "fixed_in": [
          "0",
          "5.15.212",
          "6.1.178",
          "6.6.145",
          "6.12.97",
          "6.18.40",
          "7.1.4",
          "7.2"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to 22d38cf75b556c20b039743bdf3654d535b858be or 66eb3643164e5e1029907793926c132f8b5c6148 or ea5c9bf99f626a15cc59f645dc895f2b3f01992e or fe20d492a69a6f79e637f438072b212e21ed3b78 or 427faaa52b0b399940c1a88065a5c310d10dad15 or 5fecc15a30cb9ebd310f7b52c1ab607edcea78f6 or c1016dd1d8b2bcd1158bbaabe94a31bb7e7431fb or later.",
      "Upgrade Linux to 0 or 5.15.212 or 6.1.178 or 6.6.145 or 6.12.97 or 6.18.40 or 7.1.4 or 7.2 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
