Description
In the Linux kernel, the following vulnerability has been resolved:

x86/amd_node: Fix PCI device reference counting in amd_smn_init()

The local "root" pointer is a temporary variable used during the device
search. Therefore, refcount related to the search iterators should be cleaned
up after the search is complete.

Use the __free() cleanup macro to ensure the refcount is decremented when the
temporary pointer goes out of scope.

Additionally, increment the refcount when caching a root pointer. This ensures
the in-use refcount is separate from the temporary search refcounting.

Finally, drop the redundant "root = NULL" before the second search loop. The
pci_get_class() iterator always decrements the refcount of its "from"
argument, so the first loop can only fall through with "root" already NULL.
Published: 2026-09-25
Score: 5.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Kernel memory corruption
Action: Apply patch
AI Analysis

Impact

The flaw is in the Linux kernel’s x86 AMD node code. During amd_smn_init() the code fails to decrement the reference count of a temporary root pointer used in PCI device enumeration. This leads to stale reference counts, potential memory leaks, and more critically kernel instability or crashes. The weakness is a classic use‑after‑free/invalid reference counting problem compounded by uninitialized pointer misuse (CWE‑911).

Affected Systems

All systems running a Linux kernel that contains the amd_smn_init() function without the recent fix are affected. This includes every x86‑based kernel prior to the patch that adds automated reference‑count cleaning and correct root‑pointer handling. The change is part of the mainline kernel, so any distribution packaging an unpatched kernel version may be impacted.

Risk and Exploitability

The CVSS base score is 5.5, reflecting a moderate severity; the EPSS score is below 1 % and the vulnerability is not listed in the CISA KEV catalog. Exploitation requires executing privileged kernel code or triggering the initialization routine (e.g., during boot or driver load). Because the attack surface is limited to systems with root or kernel module privileges, the risk is low to moderate, but the potential impact remains significant.

Generated by OpenCVE AI on October 1, 2026 at 07:48 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update to a kernel release that includes the amd_smn_init() fix (e.g., after commit 27600805e62f800bacf990354632eae4e487d34c).
  • Reboot the system to ensure the patched kernel and modules are in use.
  • Monitor kernel logs for PCI device initialization errors or reference‑count warnings.

Generated by OpenCVE AI on October 1, 2026 at 07:48 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 01 Oct 2026 06:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-416

Wed, 30 Sep 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-911
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Moderate


Fri, 25 Sep 2026 15:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-416

Fri, 25 Sep 2026 10:30:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: x86/amd_node: Fix PCI device reference counting in amd_smn_init() The local "root" pointer is a temporary variable used during the device search. Therefore, refcount related to the search iterators should be cleaned up after the search is complete. Use the __free() cleanup macro to ensure the refcount is decremented when the temporary pointer goes out of scope. Additionally, increment the refcount when caching a root pointer. This ensures the in-use refcount is separate from the temporary search refcounting. Finally, drop the redundant "root = NULL" before the second search loop. The pci_get_class() iterator always decrements the refcount of its "from" argument, so the first loop can only fall through with "root" already NULL.
Title x86/amd_node: Fix PCI device reference counting in amd_smn_init()
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-10-19T09:11:12.606Z

Reserved: 2026-09-25T10:18:58.204Z

Link: CVE-2026-97946

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-25T11:17:22.110

Modified: 2026-10-19T10:17:45.850

Link: CVE-2026-97946

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-09-25T00:00:00Z

Links: CVE-2026-97946 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-01T08:00:04Z

Weaknesses
  • CWE-911

    Improper Update of Reference Count