Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2026-143335

vdpa: invalidate DMA mappings before releasing memory

Description

In the Linux kernel, the following vulnerability has been resolved: vdpa: invalidate DMA mappings before releasing memory vdpa can release pinned pages and file references before the device stops using the corresponding mappings, allowing stale DMA to corrupt memory. Invalidate mappings before dropping their backing references. For set_map backends, publish an IOTLB without the invalidated range and keep the old references if that fails. Do this immediately even within a batch. Serialize vdpa_sim set_map updates with its worker so publishing a new map cannot race an active transfer. Abort mlx5 map replacement when resumable virtqueues cannot be suspended, since changing the memory region while those queues remain active would preserve the same stale DMA window. Reject zero-sized and wrapping invalidations before calculating their inclusive range end. I found this bug myself, though the patch was written with AI assistance.

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

  • 4c8cf31885f69e86be0b5b9e6677a26797365e1d to < 3ede1291addc698a179da7d30f146aeaf6a6df60affected
  • 4c8cf31885f69e86be0b5b9e6677a26797365e1d to < 791c9635116680961cfd0d5a59c68e75018ebc8baffected
  • 4c8cf31885f69e86be0b5b9e6677a26797365e1d to < f4ef474a111791116534703e1def811841aa8d88affected
  • 4c8cf31885f69e86be0b5b9e6677a26797365e1d to < acbf36deb53d9e14e4768bf58883795a8232aa5baffected

Linux Linux

Default version status: affected

  • 5.7affected
  • 0 to < 5.7unaffected
  • 6.12.120 to ≤ 6.12.*unaffected
  • 6.18.66 to ≤ 6.18.*unaffected
  • 7.3.7 to ≤ 7.3.*unaffected
  • 7.4-rc2 to ≤ *unaffected

References