CVE-2026-23327
kernel: cxl/mbox: validate payload size before accessing contents in cxl_payload_from_user_allowed()
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · March 25, 2026
Updated · October 29, 2026
Description
An out-of-bounds read vulnerability was found in the Linux kernel's CXL (Compute Express Link) mailbox driver. The cxl_payload_from_user_allowed() function casts and dereferences the input payload without first validating its size. When a raw mailbox command is sent with an undersized payload, uuid_equal() reads past the allocated buffer, causing an out-of-bounds memory access.
Statement
This flaw affects systems with CXL memory devices. The OOB read occurs when userspace sends a mailbox command with an undersized payload via ioctl. The missing size validation allows reading past buffer boundaries. Exploitation requires access to the CXL device node, typically requiring root or appropriate device permissions.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.1 · 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CWE-1284 · Improper Validation of Specified Quantity in Input