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-98165 Overview
CVE-2026-98165 affects the Linux kernel's AMD GPU (amdgpu) driver. The vulnerability resides in the BAR0 fallback read path, which was originally introduced as a workaround for Single Root I/O Virtualization (SR-IOV) Virtual Functions (VFs) where the VRAM aperture is not available during early initialization. The fix restricts this fallback path to SR-IOV VFs only, preventing unintended behavior on other configurations.
The issue was resolved upstream and backported to stable kernel branches through two commits referenced in the kernel git repository.
Critical Impact
The BAR0 fallback read path previously applied beyond SR-IOV VFs, exposing non-virtualized configurations to an unnecessary code path in the amdgpu driver during early GPU initialization.
Affected Products
- Linux kernel versions containing the amdgpu BAR0 fallback read path prior to the fix
- Systems using the AMD GPU driver (drm/amdgpu) outside of SR-IOV VF configurations
- Stable kernel branches receiving the cherry-picked backport from commit d8a0affd207c813bd063fa2c27786f449eaf92b8
Discovery Timeline
- 2026-10-06 - CVE-2026-98165 published to NVD
- 2026-10-06 - Last updated in NVD database
Technical Details for CVE-2026-98165
Vulnerability Analysis
The vulnerability resides in the drm/amdgpu subsystem of the Linux kernel. The driver included a BAR0 fallback read path intended to handle a specific edge case: SR-IOV Virtual Functions where the Video RAM (VRAM) aperture is not accessible during early device initialization. Base Address Register 0 (BAR0) is a Peripheral Component Interconnect (PCI) configuration space register that maps device memory into the host address space.
Before the fix, this fallback path executed in contexts beyond SR-IOV VFs. Running the workaround outside its intended scope creates an inconsistent read path for GPU register and memory access during driver bring-up. The patch narrows the condition so the fallback executes only when the driver is bound to an SR-IOV VF.
Root Cause
The root cause is improper scoping of a hardware workaround. The original BAR0 fallback was added to accommodate SR-IOV VFs that lack VRAM aperture availability during early init. The condition guarding the fallback was too permissive, applying the alternate read path to configurations that did not require it. See the kernel commits 5612934 and bd1f082 for the exact code change.
Attack Vector
No attack vector details are published in the NVD entry at this time. The CVE record describes a kernel driver correctness fix in the amdgpu BAR0 initialization path. Severity, CWE assignment, and exploitability data were not provided with the initial advisory. Readers should consult the upstream kernel commits for the technical patch content.
Detection Methods for CVE-2026-98165
Indicators of Compromise
- No public indicators of compromise are associated with CVE-2026-98165 at the time of publication.
- No known exploitation has been reported, and the CVE is not listed in the CISA Known Exploited Vulnerabilities catalog.
Detection Strategies
- Inventory Linux hosts running the amdgpu driver and compare their kernel version against the stable branches that received the backport referenced in commits 5612934 and bd1f082.
- Review kernel package metadata on managed endpoints to confirm whether the fixed kernel build is deployed, especially on virtualization hosts and SR-IOV-capable GPU platforms.
Monitoring Recommendations
- Monitor dmesg and kernel logs for amdgpu initialization errors or unexpected BAR0 read behavior on systems that have not yet received the patched kernel.
- Track vendor kernel advisories from distribution maintainers (Red Hat, SUSE, Debian, Ubuntu) for the backport status of commit d8a0affd207c813bd063fa2c27786f449eaf92b8.
How to Mitigate CVE-2026-98165
Immediate Actions Required
- Identify systems running Linux kernels with the amdgpu driver loaded, particularly hosts running AMD GPUs in SR-IOV or passthrough configurations.
- Apply the stable kernel update that includes the fix referenced by commits 5612934 and bd1f082.
- Validate that virtualization hosts using SR-IOV VFs still initialize GPUs correctly after applying the patched kernel.
Patch Information
The fix is upstream in the Linux kernel and backported to stable branches. Review the Kernel Git Commit 5612934 and Kernel Git Commit bd1f082 for the authoritative change. Distribution kernels will deliver the fix through standard package updates.
Workarounds
- No official workaround is published. The upstream fix is the recommended remediation path.
- On systems not using SR-IOV VFs, the fallback path is simply not needed; applying the patched kernel removes the superfluous code path.
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

