{
  "id": "CVE-2026-31539",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-31539",
  "published_at": "2026-04-24T14:30:26.326Z",
  "title": "smb: smbdirect: introduce smbdirect_socket.recv_io.credits.available",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 7.5,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/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: smbdirect: introduce smbdirect_socket.recv_io.credits.available\n\nThe logic off managing recv credits by counting posted recv_io and\ngranted credits is racy.\n\nThat's because the peer might already consumed a credit,\nbut between receiving the incoming recv at the hardware\nand processing the completion in the 'recv_done' functions\nwe likely have a window where we grant credits, which\ndon't really exist.\n\nSo we better have a decicated counter for the\navailable credits, which will be incremented\nwhen we posted new recv buffers and drained when\nwe grant the credits to the peer.",
  "cwe": "CWE-362",
  "cpes": [
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= 5fb9b459b3686e366640edd4e62805ef7b4de927, \u003c e811e60e1cc79923c4388146eb1fa26a7482731e",
          "\u003e= 5fb9b459b3686e366640edd4e62805ef7b4de927, \u003c f99996870222b598914a1f49d7375dc23752c237",
          "\u003e= 5fb9b459b3686e366640edd4e62805ef7b4de927, \u003c 6e3c5052f9686192e178806e017b7377155f4bab"
        ],
        "fixed_in": [
          "e811e60e1cc79923c4388146eb1fa26a7482731e",
          "f99996870222b598914a1f49d7375dc23752c237",
          "6e3c5052f9686192e178806e017b7377155f4bab"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "6.18"
        ],
        "fixed_in": [
          "0",
          "6.18.11",
          "6.19.1",
          "7.0"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to e811e60e1cc79923c4388146eb1fa26a7482731e or f99996870222b598914a1f49d7375dc23752c237 or 6e3c5052f9686192e178806e017b7377155f4bab or later.",
      "Upgrade Linux to 0 or 6.18.11 or 6.19.1 or 7.0 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
