{
  "id": "CVE-2026-31717",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-31717",
  "published_at": "2026-05-01T13:56:12.012Z",
  "title": "ksmbd: validate owner of durable handle on reconnect",
  "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": {
    "created_at": "2026-05-04T22:03:22Z",
    "first_seen_at": "2026-11-14T11:25:11.578Z",
    "days_after_publication": 3.3,
    "repo": "TurtleARM/ksmbrace",
    "source": "github"
  },
  "poc_repo_count": 1,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "In the Linux kernel, the following vulnerability has been resolved:\n\nksmbd: validate owner of durable handle on reconnect\n\nCurrently, ksmbd does not verify if the user attempting to reconnect\nto a durable handle is the same user who originally opened the file.\nThis allows any authenticated user to hijack an orphaned durable handle\nby predicting or brute-forcing the persistent ID.\n\nAccording to MS-SMB2, the server MUST verify that the SecurityContext\nof the reconnect request matches the SecurityContext associated with\nthe existing open.\nAdd a durable_owner structure to ksmbd_file to store the original opener's\nUID, GID, and account name. and catpure the owner information when a file\nhandle becomes orphaned. and implementing ksmbd_vfs_compare_durable_owner()\nto validate the identity of the requester during SMB2_CREATE (DHnC).",
  "cpes": [
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.1:rc1:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 8.8
  },
  "repos": [
    {
      "repo": "TurtleARM/ksmbrace",
      "url": "https://github.com/TurtleARM/ksmbrace",
      "created_at": "2026-05-04T22:03:22Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 5,
      "is_poc": "yes",
      "kind": "listed by PoC Index",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2011-11-24T18:19:34Z"
    }
  ],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= 8df4bcdb0a4232192b2445256c39b787d58ef14d, \u003c 712cdf917e77a6444ce3836874829d770db20ee6",
          "\u003e= c8efcc786146a951091588e5fa7e3c754850cb3c, \u003c c7f0f0d01c88bdcb8b1694d7d321670013f7ed7d",
          "\u003e= c8efcc786146a951091588e5fa7e3c754850cb3c, \u003c 00ce8d6789dae72d042a4522264964c72891ca37",
          "\u003e= c8efcc786146a951091588e5fa7e3c754850cb3c, \u003c c908c853f304a4969b5aa10eba0b50350cc65b80",
          "\u003e= c8efcc786146a951091588e5fa7e3c754850cb3c, \u003c 49110a8ce654bbe56bef7c5e44cce31f4b102b8a",
          "\u003e= 6.6.32, \u003c 6.6.142"
        ],
        "fixed_in": [
          "712cdf917e77a6444ce3836874829d770db20ee6",
          "c7f0f0d01c88bdcb8b1694d7d321670013f7ed7d",
          "00ce8d6789dae72d042a4522264964c72891ca37",
          "c908c853f304a4969b5aa10eba0b50350cc65b80",
          "49110a8ce654bbe56bef7c5e44cce31f4b102b8a",
          "6.6.142"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "6.9"
        ],
        "fixed_in": [
          "0",
          "6.6.142",
          "6.12.92",
          "6.18.25",
          "7.0.2",
          "7.1"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to 712cdf917e77a6444ce3836874829d770db20ee6 or c7f0f0d01c88bdcb8b1694d7d321670013f7ed7d or 00ce8d6789dae72d042a4522264964c72891ca37 or c908c853f304a4969b5aa10eba0b50350cc65b80 or 49110a8ce654bbe56bef7c5e44cce31f4b102b8a or 6.6.142 or later.",
      "Upgrade Linux to 0 or 6.6.142 or 6.12.92 or 6.18.25 or 7.0.2 or 7.1 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
