CVE-2026-93186

Source
https://cve.org/CVERecord?id=CVE-2026-93186
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-93186.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-93186
Downstream
Published
2026-09-17T16:12:12Z
Modified
2026-09-19T03:47:22Z
Summary
cxl/mbox: Clamp mailbox output allocation to the payload size
Details

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.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/93xxx/CVE-2026-93186.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
583fa5e71caeb79e04e477e9837e2f7fa53b71e4
Fixed
f5d2bbf0300f46307948864fbb97bce5097f4fe2
Fixed
31d4841eca7c4b75751ca96d24339e19303337f2
Fixed
b4e11c731d6bee3b87315e055a1ca417c92dc1fc
Fixed
8a13db9f899d149c3aab24abcb668121cfda5a4f

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-93186.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.12.0
Fixed
6.12.110
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.52
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.2.6

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-93186.json"