CVE-2024-27066
published high CVSS 3.1 · 7.5virtio: packed: fix unmap leak for indirect desc table
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxb319940f83c21bb4c1fabffe68a862be879a6193 to < e142169aca5546ae6619c39a575cda8105362100 · b319940f83c21bb4c1fabffe68a862be879a6193 to < 75450ff8c6fe8755bf5b139b238eaf9739cfd64e · b319940f83c21bb4c1fabffe68a862be879a6193 to < 51bacd9d29bf98c3ebc65e4a0477bb86306b4140 · b319940f83c21bb4c1fabffe68a862be879a6193 to < d5c0ed17fea60cca9bc3bf1278b49ba79242bbcd · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.6 (affected) · 0 to < 6.6 (unaffected · semver) · 6.6.23 through 6.6.* (unaffected · semver) · 6.7.11 through 6.7.* (unaffected · semver) · 6.8.2 through 6.8.* (unaffected · semver) · 6.9 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Ubuntu | noble | linux | Advisory build | 6.8.0-35.35 | USN-6816-1 |
| Ubuntu | noble | linux-aws | Advisory build | 6.8.0-1009.9 | USN-6817-1 |
| Ubuntu | noble | linux-aws-cloud-tools-6.8.0-1009 | Advisory build | 6.8.0-1009.9 | USN-6817-1 |
| Ubuntu | noble | linux-aws-headers-6.8.0-1009 | Advisory build | 6.8.0-1009.9 | USN-6817-1 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Ubuntu | noble | linux-aws-tools-6.8.0-1009 | Advisory build | 6.8.0-1009.9 | USN-6817-1 |
| Ubuntu | noble | linux-azure | Advisory build | 6.8.0-1008.8 | USN-6817-3 |
| Ubuntu | noble | linux-azure-cloud-tools-6.8.0-1008 | Advisory build | 6.8.0-1008.8 | USN-6817-3 |
| Ubuntu | noble | linux-azure-headers-6.8.0-1008 | Advisory build | 6.8.0-1008.8 | USN-6817-3 |
| Ubuntu | noble | linux-azure-tools-6.8.0-1008 | Advisory build | 6.8.0-1008.8 | USN-6817-3 |
| Ubuntu | noble | linux-buildinfo-6.8.0-1004-gke | Advisory build | 6.8.0-1004.7 | USN-6817-3 |
| Ubuntu | noble | linux-buildinfo-6.8.0-1005-raspi | Advisory build | 6.8.0-1005.5 | USN-6816-1 |
| Ubuntu | noble | linux-buildinfo-6.8.0-1006-ibm | Advisory build | 6.8.0-1006.6 | USN-6816-1 |
| Ubuntu | noble | linux-buildinfo-6.8.0-1006-oem | Advisory build | 6.8.0-1006.6 | USN-6817-2 |
| Ubuntu | noble | linux-buildinfo-6.8.0-1006-oracle | Advisory build | 6.8.0-1006.6 | USN-6878-1 |
| Ubuntu | noble | linux-buildinfo-6.8.0-1006-oracle-64k | Advisory build | 6.8.0-1006.6 | USN-6878-1 |
| Ubuntu | noble | linux-buildinfo-6.8.0-1008-azure | Advisory build | 6.8.0-1008.8 | USN-6817-3 |
| Ubuntu | noble | linux-buildinfo-6.8.0-1008-gcp | Advisory build | 6.8.0-1008.9 | USN-6817-1 |
| Ubuntu | noble | linux-buildinfo-6.8.0-1009-aws | Advisory build | 6.8.0-1009.9 | USN-6817-1 |
| Ubuntu | noble | linux-buildinfo-6.8.0-35-generic | Advisory build | 6.8.0-35.35 | USN-6816-1 |
| Ubuntu | noble | linux-buildinfo-6.8.0-35-generic-64k | Advisory build | 6.8.0-35.35 | USN-6816-1 |
| Ubuntu | noble | linux-buildinfo-6.8.0-35-lowlatency | Advisory build | 6.8.0-35.35.1 | USN-6816-1 |
| Ubuntu | noble | linux-buildinfo-6.8.0-35-lowlatency-64k | Advisory build | 6.8.0-35.35.1 | USN-6816-1 |
| Ubuntu | noble | linux-cloud-tools-6.8.0-1008-azure | Advisory build | 6.8.0-1008.8 | USN-6817-3 |
| Ubuntu | noble | linux-cloud-tools-6.8.0-1009-aws | Advisory build | 6.8.0-1009.9 | USN-6817-1 |
| Ubuntu | noble | linux-cloud-tools-6.8.0-35 | Advisory build | 6.8.0-35.35 | USN-6816-1 |
| Ubuntu | noble | linux-cloud-tools-6.8.0-35-generic | Advisory build | 6.8.0-35.35 | USN-6816-1 |
| Ubuntu | noble | linux-cloud-tools-6.8.0-35-lowlatency | Advisory build | 6.8.0-35.35.1 | USN-6816-1 |
| Ubuntu | noble | linux-cloud-tools-common | Advisory build | 6.8.0-35.35 | USN-6816-1 |
| Ubuntu | noble | linux-gcp | Advisory build | 6.8.0-1008.9 | USN-6817-1 |
| Ubuntu | noble | linux-gcp-headers-6.8.0-1008 | Advisory build | 6.8.0-1008.9 | USN-6817-1 |
| Ubuntu | noble | linux-gcp-tools-6.8.0-1008 | Advisory build | 6.8.0-1008.9 | USN-6817-1 |
| Ubuntu | noble | linux-gke | Advisory build | 6.8.0-1004.7 | USN-6817-3 |
| Ubuntu | noble | linux-gke-headers-6.8.0-1004 | Advisory build | 6.8.0-1004.7 | USN-6817-3 |
| Ubuntu | noble | linux-gke-tools-6.8.0-1004 | Advisory build | 6.8.0-1004.7 | USN-6817-3 |
| Ubuntu | noble | linux-headers-6.8.0-1004-gke | Advisory build | 6.8.0-1004.7 | USN-6817-3 |
| Ubuntu | noble | linux-headers-6.8.0-1005-raspi | Advisory build | 6.8.0-1005.5 | USN-6816-1 |
| Ubuntu | noble | linux-headers-6.8.0-1006-ibm | Advisory build | 6.8.0-1006.6 | USN-6816-1 |
| Ubuntu | noble | linux-headers-6.8.0-1006-oem | Advisory build | 6.8.0-1006.6 | USN-6817-2 |
| Ubuntu | noble | linux-headers-6.8.0-1006-oracle | Advisory build | 6.8.0-1006.6 | USN-6878-1 |
| Ubuntu | noble | linux-headers-6.8.0-1006-oracle-64k | Advisory build | 6.8.0-1006.6 | USN-6878-1 |
| Ubuntu | noble | linux-headers-6.8.0-1008-azure | Advisory build | 6.8.0-1008.8 | USN-6817-3 |
| Ubuntu | noble | linux-headers-6.8.0-1008-gcp | Advisory build | 6.8.0-1008.9 | USN-6817-1 |
| Ubuntu | noble | linux-headers-6.8.0-1009-aws | Advisory build | 6.8.0-1009.9 | USN-6817-1 |
| Ubuntu | noble | linux-headers-6.8.0-35 | Advisory build | 6.8.0-35.35 | USN-6816-1 |
| Ubuntu | noble | linux-headers-6.8.0-35-generic | Advisory build | 6.8.0-35.35 | USN-6816-1 |
| Ubuntu | noble | linux-headers-6.8.0-35-generic-64k | Advisory build | 6.8.0-35.35 | USN-6816-1 |
| Ubuntu | noble | linux-headers-6.8.0-35-lowlatency | Advisory build | 6.8.0-35.35.1 | USN-6816-1 |
| Ubuntu | noble | linux-headers-6.8.0-35-lowlatency-64k | Advisory build | 6.8.0-35.35.1 | USN-6816-1 |
| Ubuntu | noble | linux-ibm | Advisory build | 6.8.0-1006.6 | USN-6816-1 |
| Ubuntu | noble | linux-ibm-cloud-tools-common | Advisory build | 6.8.0-1006.6 | USN-6816-1 |
| Ubuntu | noble | linux-ibm-headers-6.8.0-1006 | Advisory build | 6.8.0-1006.6 | USN-6816-1 |
| Ubuntu | noble | linux-ibm-source-6.8.0 | Advisory build | 6.8.0-1006.6 | USN-6816-1 |
| Ubuntu | noble | linux-ibm-tools-6.8.0-1006 | Advisory build | 6.8.0-1006.6 | USN-6816-1 |
| Ubuntu | noble | linux-image-6.8.0-1005-raspi | Advisory build | 6.8.0-1005.5 | USN-6816-1 |
| Ubuntu | noble | linux-image-6.8.0-35-generic | Advisory build | 6.8.0-35.35 | USN-6816-1 |
| Ubuntu | noble | linux-image-unsigned-6.8.0-1004-gke | Advisory build | 6.8.0-1004.7 | USN-6817-3 |
| Ubuntu | noble | linux-image-unsigned-6.8.0-1006-ibm | Advisory build | 6.8.0-1006.6 | USN-6816-1 |
| Ubuntu | noble | linux-image-unsigned-6.8.0-1006-oem | Advisory build | 6.8.0-1006.6 | USN-6817-2 |
| Ubuntu | noble | linux-image-unsigned-6.8.0-1006-oracle | Advisory build | 6.8.0-1006.6 | USN-6878-1 |
| Ubuntu | noble | linux-image-unsigned-6.8.0-1006-oracle-64k | Advisory build | 6.8.0-1006.6 | USN-6878-1 |
| Ubuntu | noble | linux-image-unsigned-6.8.0-1008-azure | Advisory build | 6.8.0-1008.8 | USN-6817-3 |
| Ubuntu | noble | linux-image-unsigned-6.8.0-1008-gcp | Advisory build | 6.8.0-1008.9 | USN-6817-1 |
| Ubuntu | noble | linux-image-unsigned-6.8.0-1009-aws | Advisory build | 6.8.0-1009.9 | USN-6817-1 |
| Ubuntu | noble | linux-image-unsigned-6.8.0-35-generic | Advisory build | 6.8.0-35.35 | USN-6816-1 |
| Ubuntu | noble | linux-image-unsigned-6.8.0-35-generic-64k | Advisory build | 6.8.0-35.35 | USN-6816-1 |
| Ubuntu | noble | linux-image-unsigned-6.8.0-35-lowlatency | Advisory build | 6.8.0-35.35.1 | USN-6816-1 |
| Ubuntu | noble | linux-image-unsigned-6.8.0-35-lowlatency-64k | Advisory build | 6.8.0-35.35.1 | USN-6816-1 |
| Ubuntu | noble | linux-lib-rust-6.8.0-35-generic | Advisory build | 6.8.0-35.35 | USN-6816-1 |
| Ubuntu | noble | linux-lowlatency | Advisory build | 6.8.0-35.35.1 | USN-6816-1 |
| Ubuntu | noble | linux-lowlatency-cloud-tools-6.8.0-35 | Advisory build | 6.8.0-35.35.1 | USN-6816-1 |
| Ubuntu | noble | linux-lowlatency-cloud-tools-common | Advisory build | 6.8.0-35.35.1 | USN-6816-1 |
| Ubuntu | noble | linux-lowlatency-headers-6.8.0-35 | Advisory build | 6.8.0-35.35.1 | USN-6816-1 |
| Ubuntu | noble | linux-lowlatency-lib-rust-6.8.0-35-lowlatency | Advisory build | 6.8.0-35.35.1 | USN-6816-1 |
| Ubuntu | noble | linux-lowlatency-tools-6.8.0-35 | Advisory build | 6.8.0-35.35.1 | USN-6816-1 |
| Ubuntu | noble | linux-lowlatency-tools-common | Advisory build | 6.8.0-35.35.1 | USN-6816-1 |
| Ubuntu | noble | linux-lowlatency-tools-host | Advisory build | 6.8.0-35.35.1 | USN-6816-1 |
| Ubuntu | noble | linux-modules-6.8.0-1004-gke | Advisory build | 6.8.0-1004.7 | USN-6817-3 |
| Ubuntu | noble | linux-modules-6.8.0-1005-raspi | Advisory build | 6.8.0-1005.5 | USN-6816-1 |
| Ubuntu | noble | linux-modules-6.8.0-1006-ibm | Advisory build | 6.8.0-1006.6 | USN-6816-1 |
| Ubuntu | noble | linux-modules-6.8.0-1006-oem | Advisory build | 6.8.0-1006.6 | USN-6817-2 |
| Ubuntu | noble | linux-modules-6.8.0-1006-oracle | Advisory build | 6.8.0-1006.6 | USN-6878-1 |
| Ubuntu | noble | linux-modules-6.8.0-1006-oracle-64k | Advisory build | 6.8.0-1006.6 | USN-6878-1 |
| Ubuntu | noble | linux-modules-6.8.0-1008-azure | Advisory build | 6.8.0-1008.8 | USN-6817-3 |
| Ubuntu | noble | linux-modules-6.8.0-1008-gcp | Advisory build | 6.8.0-1008.9 | USN-6817-1 |
| Ubuntu | noble | linux-modules-6.8.0-1009-aws | Advisory build | 6.8.0-1009.9 | USN-6817-1 |
| Ubuntu | noble | linux-modules-6.8.0-35-generic | Advisory build | 6.8.0-35.35 | USN-6816-1 |
| Ubuntu | noble | linux-modules-6.8.0-35-generic-64k | Advisory build | 6.8.0-35.35 | USN-6816-1 |
| Ubuntu | noble | linux-modules-6.8.0-35-lowlatency | Advisory build | 6.8.0-35.35.1 | USN-6816-1 |
| Ubuntu | noble | linux-modules-6.8.0-35-lowlatency-64k | Advisory build | 6.8.0-35.35.1 | USN-6816-1 |
| Ubuntu | noble | linux-modules-extra-6.8.0-1004-gke | Advisory build | 6.8.0-1004.7 | USN-6817-3 |
| Ubuntu | noble | linux-modules-extra-6.8.0-1006-ibm | Advisory build | 6.8.0-1006.6 | USN-6816-1 |
| Ubuntu | noble | linux-modules-extra-6.8.0-1006-oracle | Advisory build | 6.8.0-1006.6 | USN-6878-1 |
| Ubuntu | noble | linux-modules-extra-6.8.0-1006-oracle-64k | Advisory build | 6.8.0-1006.6 | USN-6878-1 |
| Ubuntu | noble | linux-modules-extra-6.8.0-1008-azure | Advisory build | 6.8.0-1008.8 | USN-6817-3 |
| Ubuntu | noble | linux-modules-extra-6.8.0-1008-gcp | Advisory build | 6.8.0-1008.9 | USN-6817-1 |
| Ubuntu | noble | linux-modules-extra-6.8.0-1009-aws | Advisory build | 6.8.0-1009.9 | USN-6817-1 |
| Ubuntu | noble | linux-modules-extra-6.8.0-35-generic | Advisory build | 6.8.0-35.35 | USN-6816-1 |
| Ubuntu | noble | linux-modules-ipu6-6.8.0-1006-oem | Advisory build | 6.8.0-1006.6 | USN-6817-2 |
| Ubuntu | noble | linux-modules-ipu6-6.8.0-35-generic | Advisory build | 6.8.0-35.35 | USN-6816-1 |
| Ubuntu | noble | linux-modules-iwlwifi-6.8.0-1004-gke | Advisory build | 6.8.0-1004.7 | USN-6817-3 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
In the Linux kernel, the following vulnerability has been resolved: virtio: packed: fix unmap leak for indirect desc table When use_dma_api and premapped are true, then the do_unmap is false. Because the do_unmap is false, vring_unmap_extra_packed is not called by detach_buf_packed. if (unlikely(vq->do_unmap)) { curr = id; for (i = 0; i < state->num; i++) { vring_unmap_extra_packed(vq, &vq->packed.desc_extra[curr]); curr = vq->packed.desc_extra[curr].next; } } So the indirect desc table is not unmapped. This causes the unmap leak. So here, we check vq->use_dma_api instead. Synchronously, dma info is updated based on use_dma_api judgment This bug does not occur, because no driver use the premapped with indirect.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Scenarios
- en: AV:N - The only consumer of premapped mode is virtio-net's receive queues, and RX buffer resubmission (`try_fill_recv()`) is driven by consumption of inbound packets, so the leaking submit/detach cycle is exercised by a remote peer sending traffic to the interface. The vulnerable component is bound to the network stack and no credentials or local access are needed to drive it. AC:L - Nothing about the trigger depends on memory layout, timing, or a race — a remote party simply generates traffic and each buffer cycle leaks a mapping deterministically. PR:N - Driving virtio-net RX buffer churn requires no authentication or account on the target; an unauthenticated remote sender reaching the interface is sufficient. UI:N - No victim action is required; the RX refill and descriptor detach path runs automatically in NAPI context whenever packets arrive. S:U - The leaked DMA/IOVA resources and the exhaustion they cause are all within the same kernel security authority as the vulnerable virtio_ring code; no VM, IOMMU, or sandbox boundary is crossed by the party that can trigger the leak. C:N - The defect is purely a missing `dma_unmap_single()` in the accounting path — no out-of-bounds read, no kernel data reaches userspace, and the leaked swiotlb slot is never reused so its contents cannot cross-contaminate a later mapping. I:N - No memory is corrupted or modified by the bug itself; the stale IOMMU translation could only be abused by a deliberately malicious device or hypervisor, which under the virtio trust model already has full guest memory access, so no integrity is gained by the attacker who can actually trigger this. A:H - Every request leaks a streaming DMA mapping with no upper bound, exhausting swiotlb slots / IOVA space and growing IOMMU page tables and rbtree nodes until DMA mapping fails system-wide for all devices and the kernel runs out of memory — a hard denial of service, not mere degradation.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | b319940f83c21bb4c1fabffe68a862be879a6193 to < e142169aca5546ae6619c39a575cda8105362100 (affected · git)b319940f83c21bb4c1fabffe68a862be879a6193 to < 75450ff8c6fe8755bf5b139b238eaf9739cfd64e (affected · git)b319940f83c21bb4c1fabffe68a862be879a6193 to < 51bacd9d29bf98c3ebc65e4a0477bb86306b4140 (affected · git)b319940f83c21bb4c1fabffe68a862be879a6193 to < d5c0ed17fea60cca9bc3bf1278b49ba79242bbcd (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.6 (affected)0 to < 6.6 (unaffected · semver)6.6.23 through 6.6.* (unaffected · semver)6.7.11 through 6.7.* (unaffected · semver)6.8.2 through 6.8.* (unaffected · semver)6.9 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
4Provider assertions
3Linux · cna
virtio: packed: fix unmap leak for indirect desc table
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 515b6f2b9a62607cf9e44e91ca15758f5aa9da88e934fbfc0bee9e0573ecf3c1
- Ingested
- 23 Sep 2026, 08:20:34 UTC
- Source record
- Official CVE record