{"id":"CVE-2026-97946","aliases":["CVE-2026-97946"],"related":[],"kind":"vulnerability","state":"published","title":"x86/amd_node: Fix PCI device reference counting in amd_smn_init()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nx86/amd_node: Fix PCI device reference counting in amd_smn_init()\n\nThe local \"root\" pointer is a temporary variable used during the device\nsearch. Therefore, refcount related to the search iterators should be cleaned\nup after the search is complete.\n\nUse the __free() cleanup macro to ensure the refcount is decremented when the\ntemporary pointer goes out of scope.\n\nAdditionally, increment the refcount when caching a root pointer. This ensures\nthe in-use refcount is separate from the temporary search refcounting.\n\nFinally, drop the redundant \"root = NULL\" before the second search loop. The\npci_get_class() iterator always decrements the refcount of its \"from\"\nargument, so the first loop can only fall through with \"root\" already NULL.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nx86/amd_node: Fix PCI device reference counting in amd_smn_init()\n\nThe local \"root\" pointer is a temporary variable used during the device\nsearch. Therefore, refcount related to the search iterators should be cleaned\nup after the search is complete.\n\nUse the __free() cleanup macro to ensure the refcount is decremented when the\ntemporary pointer goes out of scope.\n\nAdditionally, increment the refcount when caching a root pointer. This ensures\nthe in-use refcount is separate from the temporary search refcounting.\n\nFinally, drop the redundant \"root = NULL\" before the second search loop. The\npci_get_class() iterator always decrements the refcount of its \"from\"\nargument, so the first loop can only fall through with \"root\" already NULL.","source":"cvelist"}],"published":"2026-09-25T10:22:56.572Z","modified":"2026-10-19T10:17:45.850Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"0a4b61d9c2e496b5f0a10e29e355a1465c8738bb","fixed":"84e3a71d11d8593c127b468d75b2653af5074f81","status":"affected"},{"type":"git","introduced":"0a4b61d9c2e496b5f0a10e29e355a1465c8738bb","fixed":"aa2a4277ad42fd8f918c6dc652473946a253f7b0","status":"affected"},{"type":"git","introduced":"0a4b61d9c2e496b5f0a10e29e355a1465c8738bb","fixed":"27600805e62f800bacf990354632eae4e487d34c","status":"affected"},{"type":"git","version":"c4ad899a33198ab6335732c769835d035e66894a","status":"affected"},{"type":"semver","introduced":"6.17.8","fixed":"6.18","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.18","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.18","status":"unaffected"},{"type":"semver","introduced":"6.18.53","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.7","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/84e3a71d11d8593c127b468d75b2653af5074f81","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/aa2a4277ad42fd8f918c6dc652473946a253f7b0","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/27600805e62f800bacf990354632eae4e487d34c","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-97946","url":"https://www.cve.org/CVERecord?id=CVE-2026-97946","licence":"CVE Terms of Use","modified":"2026-10-19T09:11:12.606Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-97946","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-97946","licence":"Public domain","modified":"2026-10-19T10:17:45.850Z"}],"updatedAt":"2026-11-25T22:59:40.999Z","epss":{"score":0.00198,"percentile":0.1004,"date":"2026-12-01T12:00:22.000Z"}}