# CVE-2024-56669: iommu/vt-d: Remove cache tags before disabling ATS

- Severity: High 8.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 12% of CVEs (2026-12-01)
- Published: 2024-12-27T15:06:30.792Z
- Modified: 2026-08-05T11:45:59.525Z
- Weaknesses: CWE-401, CWE-416, CWE-476
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

iommu/vt-d: Remove cache tags before disabling ATS

The current implementation removes cache tags after disabling ATS,
leading to potential memory leaks and kernel crashes. Specifically,
CACHE_TAG_DEVTLB type cache tags may still remain in the list even
after the domain is freed, causing a use-after-free condition.

This issue really shows up when multiple VFs from different PFs
passed through to a single user-space process via vfio-pci. In such
cases, the kernel may crash with kernel messages like:

 BUG: kernel NULL pointer dereference, address: 0000000000000014
 PGD 19036a067 P4D 1940a3067 PUD 136c9b067 PMD 0
 Oops: Oops: 0000 [#1] PREEMPT SMP NOPTI
 CPU: 74 UID: 0 PID: 3183 Comm: testCli Not tainted 6.11.9 #2
 RIP: 0010:cache_tag_flush_range+0x9b/0x250
 Call Trace:
  <TASK>
  ? __die+0x1f/0x60
  ? page_fault_oops+0x163/0x590
  ? exc_page_fault+0x72/0x190
  ? asm_exc_page_fault+0x22/0x30
  ? cache_tag_flush_range+0x9b/0x250
  ? cache_tag_flush_range+0x5d/0x250
  intel_iommu_tlb_sync+0x29/0x40
  intel_iommu_unmap_pages+0xfe/0x160
  __iommu_unmap+0xd8/0x1a0
  vfio_unmap_unpin+0x182/0x340 [vfio_iommu_type1]
  vfio_remove_dma+0x2a/0xb0 [vfio_iommu_type1]
  vfio_iommu_type1_ioctl+0xafa/0x18e0 [vfio_iommu_type1]

Move cache_tag_unassign_domain() before iommu_disable_pci_caps() to fix
it.

(As written by CVE List.)

## Affected

- Linux Linux: from 3b1d9e2b2d6856eabf5faa12d20c97fef657999f before 9a0a72d3ed919ebe6491f527630998be053151d8; from 3b1d9e2b2d6856eabf5faa12d20c97fef657999f before 1f2557e08a617a4b5e92a48a1a9a6f86621def18; 6.10 (not affected: before 6.10; from 6.12.6 up to 6.12.*; from 6.13 up to *)
- linux linux_kernel: from 6.10 before 6.12.6; 6.13

## Every score

- Linux: CVSS:3.1 8.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`
- CISA-ADP: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://git.kernel.org/stable/c/9a0a72d3ed919ebe6491f527630998be053151d8> (patch)
- <https://git.kernel.org/stable/c/1f2557e08a617a4b5e92a48a1a9a6f86621def18> (patch)

## Sources

- CVE List: [CVE-2024-56669](https://www.cve.org/CVERecord?id=CVE-2024-56669), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2024-56669](https://nvd.nist.gov/vuln/detail/CVE-2024-56669), Public domain, modified 2026-08-04

---

Page: https://cve.day/CVE-2024-56669 · Whole record: https://cve.day/CVE-2024-56669.json · Rebuilt by cve.day 2026-11-25T22:58:50.513Z
