# CVE-2026-97946: x86/amd\_node: Fix PCI device reference counting in amd\_smn\_init()

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.21% (percentile 6, 2026-11-26)
- **Published:** 2026-09-25T10:22:56.572Z
- **Modified:** 2026-10-19T10:17:45.850Z

## Who should check

- Anyone running Linux \>= 0a4b61d9c2e496b5f0a10e29e355a1465c8738bb, \< 84e3a71d11d8593c127b468d75b2653af5074f81; \>= 0a4b61d9c2e496b5f0a10e29e355a1465c8738bb, \< aa2a4277ad42fd8f918c6dc652473946a253f7b0; \>= 0a4b61d9c2e496b5f0a10e29e355a1465c8738bb, \< 27600805e62f800bacf990354632eae4e487d34c; c4ad899a33198ab6335732c769835d035e66894a; \>= 6.17.8, \< 6.18
- Anyone running Linux 6.18

## 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.

## Affected and fixed versions

- Linux: \>= 0a4b61d9c2e496b5f0a10e29e355a1465c8738bb, \< 84e3a71d11d8593c127b468d75b2653af5074f81; \>= 0a4b61d9c2e496b5f0a10e29e355a1465c8738bb, \< aa2a4277ad42fd8f918c6dc652473946a253f7b0; \>= 0a4b61d9c2e496b5f0a10e29e355a1465c8738bb, \< 27600805e62f800bacf990354632eae4e487d34c; c4ad899a33198ab6335732c769835d035e66894a; \>= 6.17.8, \< 6.18 (cvelist)
- Linux: 6.18 (cvelist)

## Mitigation

- Upgrade Linux to 6.18 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-97946. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-97946.md
Affected: Linux >= 0a4b61d9c2e496b5f0a10e29e355a1465c8738bb, < 84e3a71d11d8593c127b468d75b2653af5074f81; >= 0a4b61d9c2e496b5f0a10e29e355a1465c8738bb, < aa2a4277ad42fd8f918c6dc652473946a253f7b0; >= 0a4b61d9c2e496b5f0a10e29e355a1465c8738bb, < 27600805e62f800bacf990354632eae4e487d34c; c4ad899a33198ab6335732c769…
Fixed in: Linux 84e3a71d11d8593c127b468d75b2653af5074f81, Linux 27600805e62f800bacf990354632eae4e487d34c, Linux 6.18

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-97946 being exploited?

There is no confirmed exploitation: CVE-2026-97946 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.21% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-97946?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-97946?

Linux \>= 0a4b61d9c2e496b5f0a10e29e355a1465c8738bb, \< 84e3a71d11d8593c127b468d75b2653af5074f81; \>= 0a4b61d9c2e496b5f0a10e29e355a1465c8738bb, \< aa2a4277ad42fd8f918c6dc652473946a253f7b0; \>= 0a4b61d9c2e496b5f0a10e29e355a1465c8738bb, \< 27600805e62f800bacf990354632eae4e487d34c; c4ad899a33198ab6335732c769835d035e66894a; \>= 6.17.8, \< 6.18; Linux 6.18.

### Is there a fix for CVE-2026-97946?

Yes. Fixed in Linux 84e3a71d11d8593c127b468d75b2653af5074f81, Linux 27600805e62f800bacf990354632eae4e487d34c, Linux 6.18. Upgrade Linux to 6.18 or later.

### How do I check if I'm affected by CVE-2026-97946?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/84e3a71d11d8593c127b468d75b2653af5074f81>
- other: <https://git.kernel.org/stable/c/aa2a4277ad42fd8f918c6dc652473946a253f7b0>
- other: <https://git.kernel.org/stable/c/27600805e62f800bacf990354632eae4e487d34c>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-97946>

HTML: <https://flawdb.com/CVE-2026-97946> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-97946>
