Database/Firmware, BMC & network fabric
Linux kernel mlx5_ib: dereg of a device-memory MR unmaps an address that was never DMA-mapped
Impact
Memory regions of type DM (device memory) carry no umem, but __mlx5_ib_dereg_mr() took the umem branch in mlx5_free_priv_descs() and called dma_unmap_single() on an address that was never mapped. The result is an IOMMU WARN splat on every such deregistration and an unmap of a DMA address the driver does not own. On a GPU node this sits in the ConnectX RDMA path that NCCL, GPUDirect and storage clients run over: any local process holding an ib_uverbs handle can trigger it by creating and destroying a DM MR, so the noise and the bogus unmap come from unprivileged tenant code rather than from the operator. NVD rates it local availability impact only; nothing in the record indicates memory disclosure across tenants.
Who can reach it
Local user with access to /dev/infiniband/uverbs* - in practice any tenant container given RDMA device access. No special privilege beyond that device handle; not reachable from the network or from a node without verbs exposure.
What to do
Pick up the fix in your distribution kernel (upstream commits linked in the record) and reboot the node; mlx5_ib cannot be reloaded under live RDMA workloads, so this lands in a normal drain-and-reboot cycle. If you do not expose verbs devices into tenant containers there is no local trigger and the fix can wait for the next scheduled kernel roll.
References
Related entries
- Linux kernel (drivers/infiniband/hw/mlx5): The memory-registration engine on the primary AI-cluster NIC wedgesCVE-2025-21892 · Linux kernel (drivers/infiniband/hw/mlx5)Medium
- Linux i915 GPU kernel driver (HuC firmware load): The HuC delayed-loading fence is not released when probe fails earlyCVE-2025-37754 · Linux i915 GPU kernel driver (HuC firmware load)Medium
- ASPEED LPC snoop driver (drivers/soc/aspeed/aspeed-lpc-snoop.c): Under memory pressure an allocation in the LPC snoopCVE-2025-38145 · ASPEED LPC snoop driver (drivers/soc/aspeed/aspeed-lpc-snoop.c)Medium
- Linux kernel mlx5_ib: implicit ODP page-fault handler touches the MR xarray without the required lockCVE-2025-38372 · Linux kernel mlx5_ib (implicit ODP page-fault xarray)Medium
- Linux kernel (drivers/infiniband/hw/mlx5): Memory-region deregistration self-deadlocks under memory pressure. AnCVE-2025-38373 · Linux kernel (drivers/infiniband/hw/mlx5)Medium
- Linux kernel (drivers/infiniband/hw/mlx5): An event subscription is published to the lookup table before its list headCVE-2025-38387 · Linux kernel (drivers/infiniband/hw/mlx5)Medium
This entry is curated: imported from vendor advisories with machine assistance, not yet individually verified. Confirm against your vendor's advisory before acting, and report anything wrong.