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-97946 Overview
CVE-2026-97946 is a Linux kernel vulnerability in the x86/amd_node subsystem. The flaw resides in the amd_smn_init() function, which mishandles PCI device reference counting during device enumeration. A temporary root pointer used by the search iterator fails to properly decrement its refcount when the search completes. The patch introduces the __free() cleanup macro, increments the refcount when caching the root pointer, and removes a redundant root = NULL assignment preceding the second search loop.
Critical Impact
Improper PCI device reference counting can lead to resource leaks and inconsistent kernel object lifetime management on AMD platforms, potentially contributing to use-after-free or memory exhaustion conditions over time.
Affected Products
- Linux kernel versions containing the amd_smn_init() implementation in x86/amd_node
- AMD-based x86 systems using the System Management Network (SMN) interface
- Downstream distributions that have not yet backported the fix commits
Discovery Timeline
- 2026-09-25 - CVE-2026-97946 published to NVD
- 2026-09-25 - Last updated in NVD database
Technical Details for CVE-2026-97946
Vulnerability Analysis
The vulnerability affects the amd_smn_init() function within the AMD node management code in the Linux kernel. The function uses pci_get_class() to iterate over PCI devices and locate AMD root complex devices. Each successful call to pci_get_class() increments the reference count on the returned device structure. The caller is responsible for releasing that reference when the pointer is no longer needed.
The original implementation left the temporary root pointer without a corresponding pci_dev_put() call once the search completed. This caused the refcount to remain artificially elevated after the search loop exited. The same root pointer was also cached for later use without a dedicated refcount increment, conflating the temporary search reference with the long-lived cached reference.
Root Cause
The root cause is incorrect reference counting discipline around PCI device search iterators. The code did not separate the ephemeral refcount owned by the search operation from the persistent refcount needed for the cached root pointer. See the kernel security fix commit for the full patch.
Attack Vector
This is a local kernel-level reference counting flaw with no documented remote attack vector. The condition is triggered during normal kernel initialization on AMD platforms. No public proof-of-concept exploit has been published, and the issue is not listed in the CISA Known Exploited Vulnerabilities catalog.
Detection Methods for CVE-2026-97946
Indicators of Compromise
- No specific runtime indicators of compromise have been published for this reference counting defect.
- Abnormal PCI device refcount values visible through kernel debugging interfaces on affected AMD systems.
Detection Strategies
- Inventory running kernel versions across AMD x86 hosts and compare against the fixed commits referenced in the kernel bug fix commit.
- Use distribution package management tooling to flag kernels that predate the backport of the three referenced commits.
- Monitor kernel logs for warnings related to PCI device lifetime or amd_smn subsystem errors.
Monitoring Recommendations
- Track vendor security advisories from Linux distributions for backport status of the fix.
- Audit kernel upgrade cadence on AMD EPYC and Ryzen server fleets.
- Correlate kernel version telemetry with the published fix commits to confirm remediation coverage.
How to Mitigate CVE-2026-97946
Immediate Actions Required
- Identify all AMD x86 hosts running Linux kernels that lack the three upstream fix commits.
- Schedule kernel upgrades to a stable release that includes the amd_smn_init() refcount fix.
- Prioritize systems where kernel uptime is high and reboots are infrequent, as resource accounting defects compound over time.
Patch Information
The fix is distributed across three upstream kernel commits: the security fix commit, the bug fix commit, and the enhancement update commit. The patch applies the __free() cleanup macro to the temporary root pointer, adds an explicit refcount increment when caching the pointer, and removes the redundant root = NULL assignment.
Workarounds
- No functional workaround exists; applying the upstream kernel patch is the only remediation.
- Where immediate patching is not feasible, limit kernel uptime through planned reboot cycles to reset leaked PCI device references.
# Verify running kernel version and plan upgrade
uname -r
# Review distribution advisories for backport availability
# then apply the vendor-provided kernel update and reboot
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

