{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-93186",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-09-17T16:02:15.091Z",
        "datePublished": "2026-09-17T16:12:12.121Z",
        "dateUpdated": "2026-10-21T12:52:14.075Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-10-21T12:52:14.075Z"
            },
            "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'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."
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/cxl/core/mbox.c"
                    ],
                    "versions": [
                        {
                            "version": "583fa5e71caeb79e04e477e9837e2f7fa53b71e4",
                            "lessThan": "d2d40574b9b272ade32d0d77b140d990e7547f5f",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "583fa5e71caeb79e04e477e9837e2f7fa53b71e4",
                            "lessThan": "f5d2bbf0300f46307948864fbb97bce5097f4fe2",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "583fa5e71caeb79e04e477e9837e2f7fa53b71e4",
                            "lessThan": "31d4841eca7c4b75751ca96d24339e19303337f2",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "583fa5e71caeb79e04e477e9837e2f7fa53b71e4",
                            "lessThan": "b4e11c731d6bee3b87315e055a1ca417c92dc1fc",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "583fa5e71caeb79e04e477e9837e2f7fa53b71e4",
                            "lessThan": "8a13db9f899d149c3aab24abcb668121cfda5a4f",
                            "status": "affected",
                            "versionType": "git"
                        }
                    ]
                },
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/cxl/core/mbox.c"
                    ],
                    "versions": [
                        {
                            "version": "5.12",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "5.12",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.6.160",
                            "lessThanOrEqual": "6.6.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.12.110",
                            "lessThanOrEqual": "6.12.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.18.52",
                            "lessThanOrEqual": "6.18.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.2.6",
                            "lessThanOrEqual": "7.2.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.3",
                            "lessThanOrEqual": "*",
                            "status": "unaffected",
                            "versionType": "original_commit_for_fix"
                        }
                    ]
                }
            ],
            "cpeApplicability": [
                {
                    "nodes": [
                        {
                            "operator": "OR",
                            "negate": false,
                            "cpeMatch": [
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.12",
                                    "versionEndExcluding": "6.6.160"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.12",
                                    "versionEndExcluding": "6.12.110"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.12",
                                    "versionEndExcluding": "6.18.52"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.12",
                                    "versionEndExcluding": "7.2.6"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.12",
                                    "versionEndExcluding": "7.3"
                                }
                            ]
                        }
                    ]
                }
            ],
            "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"
            }
        }
    }
}