# CVE-2026-93186: cxl/mbox: Clamp mailbox output allocation to the payload size

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.20%, higher than 10% of CVEs (2026-12-01)
- Published: 2026-09-17T16:12:12.121Z
- Modified: 2026-10-30T13:20:59.543Z
- Assigned by: Linux

## Description

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.

(As written by CVE List.)

## Affected

- Linux Linux: from 583fa5e71caeb79e04e477e9837e2f7fa53b71e4 before 123f6d154253939ce38f0ec0b6d1ba67f870e01f; from 583fa5e71caeb79e04e477e9837e2f7fa53b71e4 before d2d40574b9b272ade32d0d77b140d990e7547f5f; from 583fa5e71caeb79e04e477e9837e2f7fa53b71e4 before f5d2bbf0300f46307948864fbb97bce5097f4fe2; from 583fa5e71caeb79e04e477e9837e2f7fa53b71e4 before 31d4841eca7c4b75751ca96d24339e19303337f2; from 583fa5e71caeb79e04e477e9837e2f7fa53b71e4 before b4e11c731d6bee3b87315e055a1ca417c92dc1fc; from 583fa5e71caeb79e04e477e9837e2f7fa53b71e4 before 8a13db9f899d149c3aab24abcb668121cfda5a4f; 5.12 (not affected: before 5.12; from 6.1.191 up to 6.1.*; from 6.6.160 up to 6.6.*; from 6.12.110 up to 6.12.*; from 6.18.52 up to 6.18.*; from 7.2.6 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/123f6d154253939ce38f0ec0b6d1ba67f870e01f>
- <https://git.kernel.org/stable/c/d2d40574b9b272ade32d0d77b140d990e7547f5f>
- <https://git.kernel.org/stable/c/f5d2bbf0300f46307948864fbb97bce5097f4fe2>
- <https://git.kernel.org/stable/c/31d4841eca7c4b75751ca96d24339e19303337f2>
- <https://git.kernel.org/stable/c/b4e11c731d6bee3b87315e055a1ca417c92dc1fc>
- <https://git.kernel.org/stable/c/8a13db9f899d149c3aab24abcb668121cfda5a4f>

## Sources

- CVE List: [CVE-2026-93186](https://www.cve.org/CVERecord?id=CVE-2026-93186), CVE Terms of Use, modified 2026-10-30
- NVD: [CVE-2026-93186](https://nvd.nist.gov/vuln/detail/CVE-2026-93186), Public domain, modified 2026-10-30

---

Page: https://cve.day/CVE-2026-93186 · Whole record: https://cve.day/CVE-2026-93186.json · Rebuilt by cve.day 2026-11-25T22:59:39.482Z
