{"schema":"threatline.record/2","record":{"id":"CVE-2026-97947","aliases":[],"summary":"x86/amd_node: Fix potential NULL pointer dereference","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nx86/amd_node: Fix potential NULL pointer dereference\n\namd_smn_read/write() are exported functions around __amd_smn_rw(), so\nthey are always available even if amd_smn_init() fails. In that case,\n'amd_roots' is NULL and __amd_smn_rw() will access uninitialized memory.\n\nThen, commit:\n\n  83518453074d (\"x86/amd_node: Add SMN offsets to exclusive region access\")\n\nadded the 'smn_exclusive' flag, which indicated the calls to\npci_request_config_region_exclusive() succeeded, to prevent\nconcurrent userspace access.\n\nCommit:\n\n  0a4b61d9c2e4 (\"x86/amd_node: Fix AMD root device caching\")\n\nre-ordered initialization so pci_request_config_region_exclusive() is\ncalled earlier and a failure exits amd_smn_init() before allocating\n'amd_roots'. The setting of 'smn_exclusive' moved to the end of\namd_smn_init(), after 'amd_roots' is allocated. It became redundant\nand can be removed.\n\nReplace 'smn_exclusive' with directly checking 'amd_roots', to fix a\npotential NULL pointer dereference and to simplify the logic.\n\n  [ bp: Reorg commit message, touchup comment. ]\n  [ mingo: Rebase & further touchups. ]","categories":["Operating systems"],"product":"Linux","vendor":"Linux","ecosystem":null,"affected_ranges":[{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-97947","source_modified_at":"2026-10-19T09:11:13.582Z","fetched_at":"2026-10-23T18:45:31.882637Z","product":"Linux","vendor":"Linux","versions":[{"version":"77466b798d59d6761501ff36094cf430d3876549","lessThan":"fcd19bc829eca237742a3b123f839ad1c473ec85","status":"affected","versionType":"git"},{"version":"77466b798d59d6761501ff36094cf430d3876549","lessThan":"a797a2331e5d2ecdbccbae222ea71c759fdb2c2b","status":"affected","versionType":"git"},{"version":"77466b798d59d6761501ff36094cf430d3876549","lessThan":"aefdbd574a362dcf7569bada6d72f64a006b9fb9","status":"affected","versionType":"git"}],"defaultStatus":"unaffected"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-97947","source_modified_at":"2026-10-19T09:11:13.582Z","fetched_at":"2026-10-23T18:45:31.882637Z","product":"Linux","vendor":"Linux","versions":[{"version":"6.14","status":"affected"},{"version":"0","lessThan":"6.14","status":"unaffected","versionType":"semver"},{"version":"6.18.53","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.2.7","lessThanOrEqual":"7.2.*","status":"unaffected","versionType":"semver"},{"version":"7.3","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"defaultStatus":"affected"}],"fixed_versions":[],"cvss":null,"severity":null,"kev":{"listed":false},"epss":{"probability":0.00198,"percentile":0.09052,"score_date":"2026-10-23"},"published_at":"2026-09-25T10:22:57.163Z","modified_at":"2026-10-19T09:11:13.582Z","provenance":[{"source":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-97947","fetched_at":"2026-10-23T18:45:31.882637Z","source_modified_at":"2026-10-19T09:11:13.582Z"},{"source":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-97947","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2026-10-23"}],"sources":["CVE List","EPSS"],"references":[{"source":"CVE List","url":"https://git.kernel.org/stable/c/fcd19bc829eca237742a3b123f839ad1c473ec85"},{"source":"CVE List","url":"https://git.kernel.org/stable/c/a797a2331e5d2ecdbccbae222ea71c759fdb2c2b"},{"source":"CVE List","url":"https://git.kernel.org/stable/c/aefdbd574a362dcf7569bada6d72f64a006b9fb9"}],"locations":[],"motoko_assessment":{"status":"requires_architecture_review","automatic_remediation":false},"cve_state":"PUBLISHED","classification":{"method":"product-first software-layer rules","rules_version":"2.1","matched_on":"product","confidence":"heuristic","reviewed":false},"change_timestamp":"2026-10-19T09:11:13.582Z","content_hash":"0052ec5d144db4680444c4fb6a2371a9b347e534cf159445fc653761c1bab08f"}}
