{"id":"CVE-2026-93186","aliases":["CVE-2026-93186"],"related":[],"kind":"vulnerability","state":"published","title":"cxl/mbox: Clamp mailbox output allocation to the payload size","summary":"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's 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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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's 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.","source":"cvelist"}],"published":"2026-09-17T16:12:12.121Z","modified":"2026-10-30T13:20:59.543Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"583fa5e71caeb79e04e477e9837e2f7fa53b71e4","fixed":"123f6d154253939ce38f0ec0b6d1ba67f870e01f","status":"affected"},{"type":"git","introduced":"583fa5e71caeb79e04e477e9837e2f7fa53b71e4","fixed":"d2d40574b9b272ade32d0d77b140d990e7547f5f","status":"affected"},{"type":"git","introduced":"583fa5e71caeb79e04e477e9837e2f7fa53b71e4","fixed":"f5d2bbf0300f46307948864fbb97bce5097f4fe2","status":"affected"},{"type":"git","introduced":"583fa5e71caeb79e04e477e9837e2f7fa53b71e4","fixed":"31d4841eca7c4b75751ca96d24339e19303337f2","status":"affected"},{"type":"git","introduced":"583fa5e71caeb79e04e477e9837e2f7fa53b71e4","fixed":"b4e11c731d6bee3b87315e055a1ca417c92dc1fc","status":"affected"},{"type":"git","introduced":"583fa5e71caeb79e04e477e9837e2f7fa53b71e4","fixed":"8a13db9f899d149c3aab24abcb668121cfda5a4f","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.12","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.12","status":"unaffected"},{"type":"semver","introduced":"6.1.191","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.160","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.110","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.52","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.6","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/123f6d154253939ce38f0ec0b6d1ba67f870e01f","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d2d40574b9b272ade32d0d77b140d990e7547f5f","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f5d2bbf0300f46307948864fbb97bce5097f4fe2","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/31d4841eca7c4b75751ca96d24339e19303337f2","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b4e11c731d6bee3b87315e055a1ca417c92dc1fc","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8a13db9f899d149c3aab24abcb668121cfda5a4f","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-93186","url":"https://www.cve.org/CVERecord?id=CVE-2026-93186","licence":"CVE Terms of Use","modified":"2026-10-30T12:36:18.449Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-93186","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-93186","licence":"Public domain","modified":"2026-10-30T13:20:59.543Z"}],"updatedAt":"2026-11-25T22:59:39.482Z","epss":{"score":0.00199,"percentile":0.10204,"date":"2026-12-01T12:00:22.000Z"}}