CVE-2026-93186 (GCVE-0-2026-93186)
Vulnerability from cvelistv5
Published
2026-09-17 16:12
Modified
2026-10-21 12:52
Severity ?
Summary
In the Linux kernel, the following vulnerability has been resolved: cxl/mbox: Clamp mailbox output allocation to the payload size CXL_MEM_SEND_COMMAND bounds the user's in.size to the mailbox payload size but leaves out.size unbounded, then cxl_mbox_cmd_ctor() calls kvzalloc(out.size). A large out.size drives a huge allocation, above INT_MAX it WARNs and taints, and with panic_on_warn=1 it panics. The transport __cxl_pci_mbox_send_cmd() already clamps the response copy to min(out.size, payload_size, device len), so the output buffer is never written beyond payload_size. Clamp the allocation to payload_size too, matching the RAW path.
Impacted products
Vendor Product Version
Linux Linux Version: 583fa5e71caeb79e04e477e9837e2f7fa53b71e4
Version: 583fa5e71caeb79e04e477e9837e2f7fa53b71e4
Version: 583fa5e71caeb79e04e477e9837e2f7fa53b71e4
Version: 583fa5e71caeb79e04e477e9837e2f7fa53b71e4
Version: 583fa5e71caeb79e04e477e9837e2f7fa53b71e4
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/cxl/core/mbox.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "d2d40574b9b272ade32d0d77b140d990e7547f5f",
              "status": "affected",
              "version": "583fa5e71caeb79e04e477e9837e2f7fa53b71e4",
              "versionType": "git"
            },
            {
              "lessThan": "f5d2bbf0300f46307948864fbb97bce5097f4fe2",
              "status": "affected",
              "version": "583fa5e71caeb79e04e477e9837e2f7fa53b71e4",
              "versionType": "git"
            },
            {
              "lessThan": "31d4841eca7c4b75751ca96d24339e19303337f2",
              "status": "affected",
              "version": "583fa5e71caeb79e04e477e9837e2f7fa53b71e4",
              "versionType": "git"
            },
            {
              "lessThan": "b4e11c731d6bee3b87315e055a1ca417c92dc1fc",
              "status": "affected",
              "version": "583fa5e71caeb79e04e477e9837e2f7fa53b71e4",
              "versionType": "git"
            },
            {
              "lessThan": "8a13db9f899d149c3aab24abcb668121cfda5a4f",
              "status": "affected",
              "version": "583fa5e71caeb79e04e477e9837e2f7fa53b71e4",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/cxl/core/mbox.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "5.12"
            },
            {
              "lessThan": "5.12",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.160",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.110",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.52",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.2.*",
              "status": "unaffected",
              "version": "7.2.6",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.3",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.160",
                  "versionStartIncluding": "5.12",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.110",
                  "versionStartIncluding": "5.12",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.52",
                  "versionStartIncluding": "5.12",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2.6",
                  "versionStartIncluding": "5.12",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.3",
                  "versionStartIncluding": "5.12",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\ncxl/mbox: Clamp mailbox output allocation to the payload size\n\nCXL_MEM_SEND_COMMAND bounds the user\u0027s in.size to the mailbox payload\nsize but leaves out.size unbounded, then cxl_mbox_cmd_ctor() calls\nkvzalloc(out.size). A large out.size drives a huge allocation, above\nINT_MAX it WARNs and taints, and with panic_on_warn=1 it panics.\n\nThe transport __cxl_pci_mbox_send_cmd() already clamps the response copy\nto min(out.size, payload_size, device len), so the output buffer is\nnever written beyond payload_size. Clamp the allocation to payload_size\ntoo, matching the RAW path."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-10-21T12:52:14.075Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/d2d40574b9b272ade32d0d77b140d990e7547f5f"
        },
        {
          "url": "https://git.kernel.org/stable/c/f5d2bbf0300f46307948864fbb97bce5097f4fe2"
        },
        {
          "url": "https://git.kernel.org/stable/c/31d4841eca7c4b75751ca96d24339e19303337f2"
        },
        {
          "url": "https://git.kernel.org/stable/c/b4e11c731d6bee3b87315e055a1ca417c92dc1fc"
        },
        {
          "url": "https://git.kernel.org/stable/c/8a13db9f899d149c3aab24abcb668121cfda5a4f"
        }
      ],
      "title": "cxl/mbox: Clamp mailbox output allocation to the payload size",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-93186",
    "datePublished": "2026-09-17T16:12:12.121Z",
    "dateReserved": "2026-09-17T16:02:15.091Z",
    "dateUpdated": "2026-10-21T12:52:14.075Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…