vdpa: invalidate DMA mappings before releasing memory
Summary
| CVE | CVE-2026-143335 |
|---|---|
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-12-03 10:18:21 UTC |
| Updated | 2026-12-03 10:18:21 UTC |
| 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. |
Risk And Classification
EPSS: 0.003680000 probability, percentile 0.327730000 (date 2026-12-03)
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Linux | Linux | affected 4c8cf31885f69e86be0b5b9e6677a26797365e1d 3ede1291addc698a179da7d30f146aeaf6a6df60 git | Not specified |
| CNA | Linux | Linux | affected 4c8cf31885f69e86be0b5b9e6677a26797365e1d 791c9635116680961cfd0d5a59c68e75018ebc8b git | Not specified |
| CNA | Linux | Linux | affected 4c8cf31885f69e86be0b5b9e6677a26797365e1d f4ef474a111791116534703e1def811841aa8d88 git | Not specified |
| CNA | Linux | Linux | affected 4c8cf31885f69e86be0b5b9e6677a26797365e1d acbf36deb53d9e14e4768bf58883795a8232aa5b git | Not specified |
| CNA | Linux | Linux | affected 5.7 | Not specified |
| CNA | Linux | Linux | unaffected 5.7 semver | Not specified |
| CNA | Linux | Linux | unaffected 6.12.120 6.12.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.18.66 6.18.* semver | Not specified |
| CNA | Linux | Linux | unaffected 7.3.7 7.3.* semver | Not specified |
| CNA | Linux | Linux | unaffected 7.4-rc2 * original_commit_for_fix | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| git.kernel.org/stable/c/791c9635116680961cfd0d5a59c68e75018ebc8b | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/f4ef474a111791116534703e1def811841aa8d88 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/acbf36deb53d9e14e4768bf58883795a8232aa5b | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/3ede1291addc698a179da7d30f146aeaf6a6df60 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.