# CVE-2025-21876: iommu/vt-d: Fix suspicious RCU usage

- 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.30%, higher than 16% of CVEs (2026-11-30)
- Published: 2025-03-27T14:57:06.802Z
- Modified: 2026-10-15T22:18:10.747Z
- 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: Fix suspicious RCU usage

Commit <d74169ceb0d2> ("iommu/vt-d: Allocate DMAR fault interrupts
locally") moved the call to enable_drhd_fault_handling() to a code
path that does not hold any lock while traversing the drhd list. Fix
it by ensuring the dmar_global_lock lock is held when traversing the
drhd list.

Without this fix, the following warning is triggered:
 =============================
 WARNING: suspicious RCU usage
 6.14.0-rc3 #55 Not tainted
 -----------------------------
 drivers/iommu/intel/dmar.c:2046 RCU-list traversed in non-reader section!!
               other info that might help us debug this:
               rcu_scheduler_active = 1, debug_locks = 1
 2 locks held by cpuhp/1/23:
 #0: ffffffff84a67c50 (cpu_hotplug_lock){++++}-{0:0}, at: cpuhp_thread_fun+0x87/0x2c0
 #1: ffffffff84a6a380 (cpuhp_state-up){+.+.}-{0:0}, at: cpuhp_thread_fun+0x87/0x2c0
 stack backtrace:
 CPU: 1 UID: 0 PID: 23 Comm: cpuhp/1 Not tainted 6.14.0-rc3 #55
 Call Trace:
  <TASK>
  dump_stack_lvl+0xb7/0xd0
  lockdep_rcu_suspicious+0x159/0x1f0
  ? __pfx_enable_drhd_fault_handling+0x10/0x10
  enable_drhd_fault_handling+0x151/0x180
  cpuhp_invoke_callback+0x1df/0x990
  cpuhp_thread_fun+0x1ea/0x2c0
  smpboot_thread_fn+0x1f5/0x2e0
  ? __pfx_smpboot_thread_fn+0x10/0x10
  kthread+0x12a/0x2d0
  ? __pfx_kthread+0x10/0x10
  ret_from_fork+0x4a/0x60
  ? __pfx_kthread+0x10/0x10
  ret_from_fork_asm+0x1a/0x30
  </TASK>

Holding the lock in enable_drhd_fault_handling() triggers a lockdep splat
about a possible deadlock between dmar_global_lock and cpu_hotplug_lock.
This is avoided by not holding dmar_global_lock when calling
iommu_device_register(), which initiates the device probe process.

(As written by CVE List.)

## Affected

- Linux Linux: from d74169ceb0d2e32438946a2f1f9fc8c803304bd6 before 4117c72938493a77ab53cc4b8284be8fb6ec8065; from d74169ceb0d2e32438946a2f1f9fc8c803304bd6 before c603ccbe91d189849e1439134598ec567088dcec; from d74169ceb0d2e32438946a2f1f9fc8c803304bd6 before b150654f74bf0df8e6a7936d5ec51400d9ec06d8; 6.10 (not affected: before 6.10; from 6.12.18 up to 6.12.*; from 6.13.6 up to 6.13.*; from 6.14 up to *)
- linux linux_kernel: from 6.10 before 6.12.18; from 6.13 before 6.13.6; 6.14

## 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`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/4117c72938493a77ab53cc4b8284be8fb6ec8065> (patch)
- <https://git.kernel.org/stable/c/c603ccbe91d189849e1439134598ec567088dcec> (patch)
- <https://git.kernel.org/stable/c/b150654f74bf0df8e6a7936d5ec51400d9ec06d8> (patch)

## Sources

- CVE List: [CVE-2025-21876](https://www.cve.org/CVERecord?id=CVE-2025-21876), CVE Terms of Use, modified 2026-10-15
- NVD: [CVE-2025-21876](https://nvd.nist.gov/vuln/detail/CVE-2025-21876), Public domain, modified 2026-10-15

---

Page: https://cve.day/CVE-2025-21876 · Whole record: https://cve.day/CVE-2025-21876.json · Rebuilt by cve.day 2026-11-25T22:58:55.607Z
