Skip to main content
Vulnerability Database/CVE-2026-98003

CVE-2026-98003: Linux Kernel IOMMU Privilege Escalation

CVE-2026-98003 is a privilege escalation vulnerability in the Linux kernel IOMMU subsystem that causes memory leaks through repeated GA log buffer allocation. This article covers technical details, affected versions, impact assessment, and mitigation strategies.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2026-98003 Overview

CVE-2026-98003 is a Linux kernel vulnerability in the AMD Input-Output Memory Management Unit (IOMMU) driver. The flaw involves the Guest Appended (GA) log buffer handling during system resume operations. A prior commit relocated the GA log allocation from iommu_init_pci() to enable_iommus_vapic(), which executes on every resume cycle. The iommu_init_ga_log() function unconditionally reassigns iommu->ga_log and iommu->ga_log_tail pointers, overwriting boot-time allocations and leaking memory on each resume. Additionally, the function uses GFP_KERNEL from a syscore resume callback where interrupts are disabled and non-boot CPUs are offline, creating an unsafe allocation context.

Critical Impact

Each system resume cycle leaks two kernel buffers and performs an unsafe GFP_KERNEL allocation in a context where interrupts are disabled.

Affected Products

  • Linux kernel versions containing commit c5e1a1eb9279 ("iommu/amd: Simplify and Consolidate Virtual APIC (AVIC) Enablement")
  • AMD platforms with IOMMU and AVIC (Advanced Virtual Interrupt Controller) support
  • Systems performing suspend/resume cycles with AMD IOMMU enabled

Discovery Timeline

  • 2026-09-25 - CVE-2026-98003 published to NVD
  • 2026-09-25 - Last updated in NVD database

Technical Details for CVE-2026-98003

Vulnerability Analysis

The AMD IOMMU driver manages GA log buffers used for Virtual APIC interrupt remapping. The upstream commit c5e1a1eb9279 consolidated AVIC enablement logic and moved GA log allocation into enable_iommus_vapic(). This function runs during every system resume as part of the syscore resume callback chain.

The iommu_init_ga_log() function unconditionally allocates new buffers and assigns them to iommu->ga_log and iommu->ga_log_tail. The previous buffer pointers are overwritten without being freed, causing a kernel memory leak on each suspend/resume cycle. Repeated power management events exhaust kernel memory over time.

Root Cause

Two defects compound in this vulnerability. First, iommu_init_ga_log() performs unconditional reassignment of buffer pointers without checking whether allocations already exist. Second, the allocation uses GFP_KERNEL, which permits sleeping and I/O operations. Syscore resume callbacks run with interrupts disabled and only the boot CPU online, making GFP_KERNEL allocations unsafe in this context.

Attack Vector

The vulnerability does not expose a direct remote attack surface. Memory exhaustion accumulates through repeated suspend/resume cycles on affected systems. Mobile and virtualized workloads that frequently transition power states are most affected. The unsafe allocation context can produce lockdep warnings or scheduling-while-atomic conditions during resume.

The fix returns early from iommu_init_ga_log() when both buffers are already allocated. The patched free_ga_log() also clears the pointers so a partial allocation failure cannot leave ga_log dangling. See the kernel git commits 00a7dd6, 94458b8, and b6be275 for the complete fix.

Detection Methods for CVE-2026-98003

Indicators of Compromise

  • Growing kmalloc slab utilization on AMD systems after multiple suspend/resume cycles
  • Kernel log warnings referencing enable_iommus_vapic or iommu_init_ga_log during resume
  • Lockdep or might_sleep warnings traced to syscore resume callbacks on AMD IOMMU platforms

Detection Strategies

  • Audit kernel version strings on AMD hardware to identify builds containing commit c5e1a1eb9279 without the fix commits applied
  • Monitor /proc/slabinfo and /proc/meminfo on long-running AMD systems that undergo frequent power transitions
  • Review dmesg output after resume for IOMMU subsystem anomalies

Monitoring Recommendations

  • Track kernel memory consumption trends on AMD endpoints and servers using telemetry platforms
  • Alert on unexpected growth in kernel slab allocators after suspend/resume events
  • Correlate kernel version inventory with the published fix commits to identify unpatched hosts

How to Mitigate CVE-2026-98003

Immediate Actions Required

  • Inventory all AMD-based hosts running kernels that include commit c5e1a1eb9279 and lack the fix
  • Prioritize patching mobile workstations, laptops, and virtualization hosts that frequently suspend and resume
  • Schedule kernel updates through distribution package channels or rebuild from stable branches

Patch Information

The fix is available in the mainline and stable Linux kernel trees via commits 00a7dd6, 94458b8, and b6be275. The patch returns early from iommu_init_ga_log() when both buffers are already allocated and clears pointers inside free_ga_log() to prevent dangling references after partial allocation failures.

Workarounds

  • Disable AMD IOMMU AVIC support via the avic=0 kernel parameter where virtualization features are not required
  • Reduce suspend/resume frequency on affected hosts until patched kernels are deployed
  • Reboot affected systems periodically to reclaim leaked GA log buffers as an interim measure
bash
# Verify kernel version and AMD IOMMU AVIC status
uname -r
dmesg | grep -i -E 'AMD-Vi|AVIC|iommu'

# Temporary workaround: disable AVIC via kernel command line
# Edit /etc/default/grub and append avic=0 to GRUB_CMDLINE_LINUX
sudo sed -i 's/GRUB_CMDLINE_LINUX="\(.*\)"/GRUB_CMDLINE_LINUX="\1 avic=0"/' /etc/default/grub
sudo update-grub

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.