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

x86/amd_node: Fix potential NULL pointer dereference

amd_smn_read/write() are exported functions around __amd_smn_rw(), so
they are always available even if amd_smn_init() fails. In that case,
'amd_roots' is NULL and __amd_smn_rw() will access uninitialized memory.

Then, commit:

83518453074d ("x86/amd_node: Add SMN offsets to exclusive region access")

added the 'smn_exclusive' flag, which indicated the calls to
pci_request_config_region_exclusive() succeeded, to prevent
concurrent userspace access.

Commit:

0a4b61d9c2e4 ("x86/amd_node: Fix AMD root device caching")

re-ordered initialization so pci_request_config_region_exclusive() is
called earlier and a failure exits amd_smn_init() before allocating
'amd_roots'. The setting of 'smn_exclusive' moved to the end of
amd_smn_init(), after 'amd_roots' is allocated. It became redundant
and can be removed.

Replace 'smn_exclusive' with directly checking 'amd_roots', to fix a
potential NULL pointer dereference and to simplify the logic.

[ bp: Reorg commit message, touchup comment. ]
[ mingo: Rebase & further touchups. ]
Published: 2026-09-25
Score: n/a
EPSS: n/a
KEV: No
Impact: Denial of Service
Action: Immediate Patch
AI Analysis

Impact

The Linux kernel flaw in the AMD node subsystem allows a potential NULL pointer dereference when the module initializes incorrectly. During a failed initialization, the exported function __amd_smn_rw() may dereference the uninitialized amd_roots pointer, causing a kernel fault that leads to a system crash or reboot. This direct kernel crash represents a denial of service for all users, as it disrupts normal operation of the machine. No evidence in the description points to widespread or remote exploitation, but the deterministic nature of the fault means a local attacker could trigger it reliably.

Affected Systems

The issue targets the Linux kernel’s x86/amd_node module and affects all builds that contain the buggy implementation of amd_smn_read/write. The flaw is present in any distribution that uses the unpatched kernel source, regardless of version, as no specific release is excluded by the information provided.

Risk and Exploitability

The CVE lists no EPSS score and is not listed in CISA’s KEV catalog, indicating limited publicly known exploitation activity. The vulnerability would require a local user to invoke the exported functions after an initialization failure; because the null dereference occurs deterministically, an attacker with local privileges can reliably cause a kernel crash. The lack of a public exploit does not reduce the severity, as the impact—a system-wide denial of service—remains significant.

Generated by OpenCVE AI on September 25, 2026 at 18:17 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the kernel to a version that incorporates commit 0a4b61d9c2e4 or later, which eliminates the null dereference by ensuring amd_roots is allocated before use.
  • If a kernel update is not feasible, inspect system logs (e.g., dmesg or /var/log/kern.log) for AMD root device initialization errors and avoid calling amd_smn_read/write until amd_smn_init() succeeds; alternatively, modify the module to guard against a NULL amd_roots pointer before dereferencing the value.
  • Reboot the system after applying the patch or after configuring the kernel to prevent accidental use of the affected functions, ensuring that any stale state is cleared.

Generated by OpenCVE AI on September 25, 2026 at 18:17 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 25 Sep 2026 18:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-457
CWE-476

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 potential NULL pointer dereference amd_smn_read/write() are exported functions around __amd_smn_rw(), so they are always available even if amd_smn_init() fails. In that case, 'amd_roots' is NULL and __amd_smn_rw() will access uninitialized memory. Then, commit: 83518453074d ("x86/amd_node: Add SMN offsets to exclusive region access") added the 'smn_exclusive' flag, which indicated the calls to pci_request_config_region_exclusive() succeeded, to prevent concurrent userspace access. Commit: 0a4b61d9c2e4 ("x86/amd_node: Fix AMD root device caching") re-ordered initialization so pci_request_config_region_exclusive() is called earlier and a failure exits amd_smn_init() before allocating 'amd_roots'. The setting of 'smn_exclusive' moved to the end of amd_smn_init(), after 'amd_roots' is allocated. It became redundant and can be removed. Replace 'smn_exclusive' with directly checking 'amd_roots', to fix a potential NULL pointer dereference and to simplify the logic. [ bp: Reorg commit message, touchup comment. ] [ mingo: Rebase & further touchups. ]
Title x86/amd_node: Fix potential NULL pointer dereference
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-09-25T10:22:57.163Z

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

Link: CVE-2026-97947

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

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

Modified: 2026-09-25T11:17:22.213

Link: CVE-2026-97947

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-25T18:30:17Z

Weaknesses
  • CWE-457

    Use of Uninitialized Variable

  • CWE-476

    NULL Pointer Dereference