Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2026-93096

cxl/features: Serialize multi-part Get/Set Feature transfers

Description

In the Linux kernel, the following vulnerability has been resolved: cxl/features: Serialize multi-part Get/Set Feature transfers A Get or Set Feature payload larger than the mailbox payload size is split into several mailbox commands. mbox_mutex only serializes individual mailbox commands and is dropped between iterations of these loops. Nothing serializes the multi-part transfer as a whole. cxl_get_feature() and cxl_set_feature() are reachable concurrently from fwctl (per-fd RPCs run under a read-held registration lock) and from the EDAC scrub/ECS/repair paths, so two transfers to the same mailbox can interleave their parts and corrupt the device's transfer context. Add a per-mailbox feat_mutex and hold it across the whole transfer in both functions. It nests outside mbox_mutex (which is taken inside cxl_internal_send_cmd()), and is taken nowhere else, so no lock-ordering inversion is introduced.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 5e5ac21f629de796ab5d598b59c5e468c6fe4f95 to < c6492e17412048387435f256ffafc4dd6518db28affected
  • 5e5ac21f629de796ab5d598b59c5e468c6fe4f95 to < 7682b617db1f19bc606b5f1badadcf1e63a87b14affected
  • 5e5ac21f629de796ab5d598b59c5e468c6fe4f95 to < 77b814c1832fde018c30357b4ec3fcdaa91a1c10affected

Linux Linux

Default version status: affected

  • 6.15affected
  • 0 to < 6.15unaffected
  • 6.18.57 to ≤ 6.18.*unaffected
  • 7.2.6 to ≤ 7.2.*unaffected
  • 7.3 to ≤ *unaffected

References