cxl/mbox: Clamp mailbox output allocation to the payload size (Linux Linux)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.20 % · percentile 10 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- Linux
- NVD status
- Received
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.
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
European references
- ENISA EUVD · EUVD-2026-82294
- GCVE · GCVE-0-2026-93186
CERT-FR advisories
- CERTFR-2026-AVI-1385 — Multiples vulnérabilités dans les produits VMware · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1289 — Multiples vulnérabilités dans le noyau Linux de Debian LTS · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1253 — Multiples vulnérabilités dans le noyau Linux de Debian · cert.ssi.gouv.fr
Affected products
| Product | Versions |
|---|---|
| Linux · Linux | affected 583fa5e71caeb79e04e477e9837e2f7fa53b71e4 < 123f6d154253939ce38f0ec0b6d1ba67f870e01f ; affected 583fa5e71caeb79e04e477e9837e2f7fa53b71e4 < d2d40574b9b272ade32d0d77b140d990e7547f5f ; affected 583fa5e71caeb79e04e477e9837e2f7fa53b71e4 < f5d2bbf0300f46307948864fbb97bce5097f4fe2 ; affected 583fa5e71caeb79e04e477e9837e2f7fa53b71e4 < 31d4841eca7c4b75751ca96d24339e19303337f2 ; affected 583fa5e71caeb79e04e477e9837e2f7fa53b71e4 < b4e11c731d6bee3b87315e055a1ca417c92dc1fc ; affected 583fa5e71caeb79e04e477e9837e2f7fa53b71e4 < 8a13db9f899d149c3aab24abcb668121cfda5a4f |
| Linux · Linux | affected 5.12 ; unaffected 0 < 5.12 ; unaffected 6.1.191 ≤ 6.1.* ; unaffected 6.6.160 ≤ 6.6.* ; unaffected 6.12.110 ≤ 6.12.* ; unaffected 6.18.52 ≤ 6.18.* |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |