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 WARN_ON_ONCE once the general media or DRAM tracepoint is enabled, which is the case anywhere rasdaemon collects CXL events. Under panic_on_warn=1 that kills the machine. Compare the type field for equality instead. Type 05h records that do violate the spec conditions still warn.
https://git.kernel.org/stable/c/f000f7c016e87e14700b552106c111da1167d42e
https://git.kernel.org/stable/c/d89452f33e825d01edb2e1128f683dfc0967d843
https://git.kernel.org/stable/c/b94ba9a1f2d5c57f2eec67d502bb8fdd1e53c87a