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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 8.8
- **CVSS:** 8.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Changed (impact reaches other components); Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.30% (percentile 15, 2026-11-26)
- **CWE:** CWE-401, CWE-416, CWE-476
- **Published:** 2024-12-27T15:06:30.792Z
- **Modified:** 2026-08-05T11:45:59.525Z

## Who should check

- Anyone running Linux \>= 3b1d9e2b2d6856eabf5faa12d20c97fef657999f, \< 9a0a72d3ed919ebe6491f527630998be053151d8; \>= 3b1d9e2b2d6856eabf5faa12d20c97fef657999f, \< 1f2557e08a617a4b5e92a48a1a9a6f86621def18
- Anyone running Linux 6.10

## 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.

## Affected and fixed versions

- Linux: \>= 3b1d9e2b2d6856eabf5faa12d20c97fef657999f, \< 9a0a72d3ed919ebe6491f527630998be053151d8; \>= 3b1d9e2b2d6856eabf5faa12d20c97fef657999f, \< 1f2557e08a617a4b5e92a48a1a9a6f86621def18 (cvelist)
- Linux: 6.10 (cvelist)

## Mitigation

- Upgrade Linux to 1f2557e08a617a4b5e92a48a1a9a6f86621def18 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-56669. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-56669.md
Affected: Linux >= 3b1d9e2b2d6856eabf5faa12d20c97fef657999f, < 9a0a72d3ed919ebe6491f527630998be053151d8; >= 3b1d9e2b2d6856eabf5faa12d20c97fef657999f, < 1f2557e08a617a4b5e92a48a1a9a6f86621def18; Linux 6.10
Fixed in: Linux 9a0a72d3ed919ebe6491f527630998be053151d8, Linux 1f2557e08a617a4b5e92a48a1a9a6f86621def18

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2024-56669 being exploited?

There is no confirmed exploitation: CVE-2024-56669 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.30% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2024-56669?

High: CVSS 8.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2024-56669?

Linux \>= 3b1d9e2b2d6856eabf5faa12d20c97fef657999f, \< 9a0a72d3ed919ebe6491f527630998be053151d8; \>= 3b1d9e2b2d6856eabf5faa12d20c97fef657999f, \< 1f2557e08a617a4b5e92a48a1a9a6f86621def18; Linux 6.10.

### Is there a fix for CVE-2024-56669?

Yes. Fixed in Linux 9a0a72d3ed919ebe6491f527630998be053151d8, Linux 1f2557e08a617a4b5e92a48a1a9a6f86621def18. Upgrade Linux to 1f2557e08a617a4b5e92a48a1a9a6f86621def18 or later.

### How do I check if I'm affected by CVE-2024-56669?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

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

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-56669>

HTML: <https://flawdb.com/CVE-2024-56669> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-56669>
