CVE-2026-142832: cxl/events: Test CME counter expiry with equality, not bitwise AND
In the Linux kernel, the following vulnerability has been resolved:
cxl/events: Test CME counter expiry with equality, not bitwise AND
The Memory Event Type field in the General Media and DRAM event records is an enumeration, not a bitmask. The validity checks for the advanced programmable CME counter expiration event (05h) test the field with a bitwise AND, so types 01h, 03h, 04h and 06h match it as well.
A device reporting one of those types trips WARNONONCE once the general media or DRAM tracepoint is enabled, which is the case anywhere rasdaemon collects CXL events. Under paniconwarn=1 that kills the machine.
Compare the type field for equality instead. Type 05h records that do violate the spec conditions still warn.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.18.64 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 7.3.4 - Compensating control
In cxl/events, compare the Memory Event Type field for equality when checking for the programmable CME counter expiration event (05h), rather than using bitwise AND.
Event History
Frequently Asked Questions
Which systems are realistically exposed to a machine crash?
Systems that collect CXL events through rasdaemon enable the relevant general media or DRAM tracepoints. A crash occurs only when panic_on_warn=1 is configured and a device reports Memory Event Type 01h, 03h, 04h, or 06h.
What is required to trigger the issue?
A CXL device must report a General Media or DRAM event with one of the incorrectly matched Memory Event Type values: 01h, 03h, 04h, or 06h. The affected tracepoint must be enabled; rasdaemon event collection is specifically identified as enabling it.
How can I determine whether the system has encountered this condition?
Look for a WARN_ON_ONCE associated with CXL General Media or DRAM event processing after the relevant tracepoint is enabled. On hosts with panic_on_warn=1, the warning causes the machine to panic instead of continuing to run.
What mitigation is available if the fix cannot be deployed immediately?
Avoid enabling the affected CXL event tracepoints, including through rasdaemon CXL event collection, where operationally acceptable. Disabling panic_on_warn prevents the warning from killing the machine, but the warning condition can still occur.