GCVE Workshop - 22 September 2026 (14:00-18:00), Luxembourg Before The Vulnopticon Conference - Registration

CVE-2026-31608 (GCVE-0-2026-31608)

Vulnerability from cvelistv5 – Published: 2026-04-24 14:42 – Updated: 2026-08-05 12:23
VLAI
Title
smb: server: avoid double-free in smb_direct_free_sendmsg after smb_direct_flush_send_list()
Summary
In the Linux kernel, the following vulnerability has been resolved: smb: server: avoid double-free in smb_direct_free_sendmsg after smb_direct_flush_send_list() smb_direct_flush_send_list() already calls smb_direct_free_sendmsg(), so we should not call it again after post_sendmsg() moved it to the batch list.
Impacted products
Vendor Product Version CPE status
Linux Linux Affected: 5ef18a2e66f2f33fdac64437bddfb9fe6389fdc7 , < 6968c91fab05b8fc4d6700e0cf34472bb422df25 (git)
Affected: 79242e7b6bc63efec28b7c235bc320806afce6c0 , < 2ba03f46132b0d1a7bafb86e1ef61951a2254023 (git)
Affected: 34abd408c8ba24d7c97bd02ba874d8c714f49db1 , < 830de6eeb9db4cb7e758201fb99328ef4ca4b032 (git)
Affected: 34abd408c8ba24d7c97bd02ba874d8c714f49db1 , < 84ff995ae826aa6bbcc6c7b9ea569ff67c021d72 (git)
Affected: 6.18.11 , < 6.18.24 (semver)
Affected: 6.19.1 , < 6.19.14 (semver)
guessed Create a notification for this product.
Linux Linux Affected: 7.0
Unaffected: 0 , < 7.0 (semver)
Unaffected: 6.18.24 , ≤ 6.18.* (semver)
Unaffected: 6.19.14 , ≤ 6.19.* (semver)
Unaffected: 7.0.1 , ≤ 7.0.* (semver)
Unaffected: 7.1 , ≤ * (original_commit_for_fix)
guessed Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "fs/smb/server/transport_rdma.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "6968c91fab05b8fc4d6700e0cf34472bb422df25",
              "status": "affected",
              "version": "5ef18a2e66f2f33fdac64437bddfb9fe6389fdc7",
              "versionType": "git"
            },
            {
              "lessThan": "2ba03f46132b0d1a7bafb86e1ef61951a2254023",
              "status": "affected",
              "version": "79242e7b6bc63efec28b7c235bc320806afce6c0",
              "versionType": "git"
            },
            {
              "lessThan": "830de6eeb9db4cb7e758201fb99328ef4ca4b032",
              "status": "affected",
              "version": "34abd408c8ba24d7c97bd02ba874d8c714f49db1",
              "versionType": "git"
            },
            {
              "lessThan": "84ff995ae826aa6bbcc6c7b9ea569ff67c021d72",
              "status": "affected",
              "version": "34abd408c8ba24d7c97bd02ba874d8c714f49db1",
              "versionType": "git"
            },
            {
              "lessThan": "6.18.24",
              "status": "affected",
              "version": "6.18.11",
              "versionType": "semver"
            },
            {
              "lessThan": "6.19.14",
              "status": "affected",
              "version": "6.19.1",
              "versionType": "semver"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "fs/smb/server/transport_rdma.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "7.0"
            },
            {
              "lessThan": "7.0",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.24",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.19.*",
              "status": "unaffected",
              "version": "6.19.14",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.0.*",
              "status": "unaffected",
              "version": "7.0.1",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.1",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.24",
                  "versionStartIncluding": "6.18.11",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.19.14",
                  "versionStartIncluding": "6.19.1",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.0.1",
                  "versionStartIncluding": "7.0",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.1",
                  "versionStartIncluding": "7.0",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nsmb: server: avoid double-free in smb_direct_free_sendmsg after smb_direct_flush_send_list()\n\nsmb_direct_flush_send_list() already calls smb_direct_free_sendmsg(),\nso we should not call it again after post_sendmsg()\nmoved it to the batch list."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 9.8,
            "baseSeverity": "CRITICAL",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "AV:N - SMB Direct in ksmbd is exposed over RDMA network listeners on SMB-related ports, and a remote RDMA-capable peer can reach the vulnerable send path. The affected subsystem is an in-kernel SMB server transport, so the defensible vector is Network.\nAC:L - The attacker can establish an SMB Direct connection, request immediate/credit responses, and induce send failure by controlling the peer connection state. Any timing involved is attacker-controlled and repeatable, so complexity is Low.\nPR:N - The vulnerable path is reachable after RDMA/SMB Direct transport negotiation and before SMB user authentication. No valid SMB session or credentials are required to trigger the lower transport credit/keepalive send path.\nUI:N - Exploitation only requires network interaction with the listening ksmbd SMB Direct service. No victim user action is needed.\nS:U - The corruption occurs within the kernel handling the ksmbd transport and impacts the same kernel security authority. This is not a VM escape, sandbox boundary crossing, or separate security scope.\nC:H - The bug is a kernel heap double-free of an SMB Direct send object, which can create use-after-free or overlapping-allocation conditions. Such memory corruption can reasonably be leveraged for kernel memory disclosure, so Confidentiality is High.\nI:H - A double-free in kernel heap/mempool state can be exploitable for controlled memory corruption and potentially control-flow or data modification. Following the higher-severity rule for memory corruption, Integrity is High.\nA:H - At minimum, the double-free can corrupt allocator state or trigger kernel warnings/oops/panic during send teardown. A remote unauthenticated peer can repeatedly trigger the condition, so Availability is High."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-08-05T12:23:46.955Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/6968c91fab05b8fc4d6700e0cf34472bb422df25"
        },
        {
          "url": "https://git.kernel.org/stable/c/2ba03f46132b0d1a7bafb86e1ef61951a2254023"
        },
        {
          "url": "https://git.kernel.org/stable/c/830de6eeb9db4cb7e758201fb99328ef4ca4b032"
        },
        {
          "url": "https://git.kernel.org/stable/c/84ff995ae826aa6bbcc6c7b9ea569ff67c021d72"
        }
      ],
      "title": "smb: server: avoid double-free in smb_direct_free_sendmsg after smb_direct_flush_send_list()",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-31608",
    "datePublished": "2026-04-24T14:42:30.137Z",
    "dateReserved": "2026-03-09T15:48:24.122Z",
    "dateUpdated": "2026-08-05T12:23:46.955Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-31608",
      "date": "2026-09-16",
      "epss": "0.00457",
      "percentile": "0.38734"
    },
    "microsoft_vex": {
      "current_release_date": "2026-05-02T01:42:00.000Z",
      "cve": "CVE-2026-31608",
      "id": "msrc_CVE-2026-31608",
      "initial_release_date": "2026-04-02T00:00:00.000Z",
      "product_status:fixed": "1",
      "product_status:known_affected": "1",
      "product_status:known_not_affected": "2",
      "source": "Microsoft CSAF VEX",
      "status": "final",
      "title": "smb: server: avoid double-free in smb_direct_free_sendmsg after smb_direct_flush_send_list()",
      "url": "https://msrc.microsoft.com/csaf/vex/2026/msrc_cve-2026-31608.json",
      "version": "6"
    },
    "nvd": "{\"cve\":{\"id\":\"CVE-2026-31608\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2026-04-24T15:16:40.063\",\"lastModified\":\"2026-06-17T10:34:04.863\",\"vulnStatus\":\"Analyzed\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nsmb: server: avoid double-free in smb_direct_free_sendmsg after smb_direct_flush_send_list()\\n\\nsmb_direct_flush_send_list() already calls smb_direct_free_sendmsg(),\\nso we should not call it again after post_sendmsg()\\nmoved it to the batch list.\"}],\"affected\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"affectedData\":[{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"unaffected\",\"programFiles\":[\"fs/smb/server/transport_rdma.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"5ef18a2e66f2f33fdac64437bddfb9fe6389fdc7\",\"lessThan\":\"6968c91fab05b8fc4d6700e0cf34472bb422df25\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"79242e7b6bc63efec28b7c235bc320806afce6c0\",\"lessThan\":\"2ba03f46132b0d1a7bafb86e1ef61951a2254023\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"34abd408c8ba24d7c97bd02ba874d8c714f49db1\",\"lessThan\":\"830de6eeb9db4cb7e758201fb99328ef4ca4b032\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"34abd408c8ba24d7c97bd02ba874d8c714f49db1\",\"lessThan\":\"84ff995ae826aa6bbcc6c7b9ea569ff67c021d72\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"6.18.11\",\"lessThan\":\"6.18.24\",\"versionType\":\"semver\",\"status\":\"affected\"},{\"version\":\"6.19.1\",\"lessThan\":\"6.19.14\",\"versionType\":\"semver\",\"status\":\"affected\"}]},{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"affected\",\"programFiles\":[\"fs/smb/server/transport_rdma.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"7.0\",\"status\":\"affected\"},{\"version\":\"0\",\"lessThan\":\"7.0\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.18.24\",\"lessThanOrEqual\":\"6.18.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.19.14\",\"lessThanOrEqual\":\"6.19.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"7.0.1\",\"lessThanOrEqual\":\"7.0.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"7.1\",\"lessThanOrEqual\":\"*\",\"versionType\":\"original_commit_for_fix\",\"status\":\"unaffected\"}]}]}],\"metrics\":{\"cvssMetricV31\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"type\":\"Secondary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H\",\"baseScore\":9.8,\"baseSeverity\":\"CRITICAL\",\"attackVector\":\"NETWORK\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"NONE\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"HIGH\",\"integrityImpact\":\"HIGH\",\"availabilityImpact\":\"HIGH\"},\"exploitabilityScore\":3.9,\"impactScore\":5.9}]},\"weaknesses\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-415\"}]}],\"configurations\":[{\"nodes\":[{\"operator\":\"OR\",\"negate\":false,\"cpeMatch\":[{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionEndExcluding\":\"6.18.24\",\"matchCriteriaId\":\"E7BFA239-2F39-4B24-92AA-6F60AA187C18\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"6.19\",\"versionEndExcluding\":\"6.19.14\",\"matchCriteriaId\":\"D6A8A074-BBF4-4803-ABED-519A839435BB\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"7.0\",\"versionEndExcluding\":\"7.0.1\",\"matchCriteriaId\":\"9B5888AB-7403-4335-89E4-21CC0B48366A\"}]}]}],\"references\":[{\"url\":\"https://git.kernel.org/stable/c/2ba03f46132b0d1a7bafb86e1ef61951a2254023\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/6968c91fab05b8fc4d6700e0cf34472bb422df25\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/830de6eeb9db4cb7e758201fb99328ef4ca4b032\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/84ff995ae826aa6bbcc6c7b9ea569ff67c021d72\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]}]}}",
    "redhat_vex": {
      "aggregate_severity": "None",
      "current_release_date": "2026-06-28T11:34:58+00:00",
      "cve": "CVE-2026-31608",
      "id": "CVE-2026-31608",
      "initial_release_date": "2026-04-24T00:00:00+00:00",
      "product_status:known_not_affected": "274",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: smb: server: avoid double-free in smb_direct_free_sendmsg after smb_direct_flush_send_list()",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-31608.json",
      "version": "3"
    },
    "suse_vex": {
      "aggregate_severity": "important",
      "current_release_date": "2026-08-06T01:24:17Z",
      "cve": "CVE-2026-31608",
      "id": "CVE-2026-31608",
      "initial_release_date": "2026-04-25T01:38:07Z",
      "product_status:known_not_affected": "315",
      "product_status:recommended": "4",
      "source": "SUSE CSAF VEX",
      "status": "interim",
      "title": "SUSE CVE CVE-2026-31608",
      "url": "https://ftp.suse.com/pub/projects/security/csaf-vex/cve-2026-31608.json",
      "version": "7"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…