{"id":"CVE-2025-39678","state":"PUBLISHED","title":"platform/x86/amd/hsmp: Ensure sock->metric_tbl_addr is non-NULL","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nplatform/x86/amd/hsmp: Ensure sock->metric_tbl_addr is non-NULL\n\nIf metric table address is not allocated, accessing metrics_bin will\nresult in a NULL pointer dereference, so add a check.","publishedAt":"2025-09-05T17:20:44.246Z","updatedAt":"2026-05-11T21:34:08.354Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"5150542b8ec5fb561be080ed0ef3bab8598154c3","status":"affected","lessThan":"782977c0d8ba432b6fd3d5d0d87016a523ec1c69","versionType":"git"},{"version":"5150542b8ec5fb561be080ed0ef3bab8598154c3","status":"affected","lessThan":"d47782d5c0cb87b9826041f34505580204ccf703","versionType":"git"},{"version":"5150542b8ec5fb561be080ed0ef3bab8598154c3","status":"affected","lessThan":"2c78fb287e1f430b929f2e49786518350d15605c","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/platform/x86/amd/hsmp/hsmp.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.7","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.7","versionType":"semver"},{"version":"6.12.56","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.16.4","status":"unaffected","lessThanOrEqual":"6.16.*","versionType":"semver"},{"version":"6.17","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/platform/x86/amd/hsmp/hsmp.c"]}],"references":["https://git.kernel.org/stable/c/782977c0d8ba432b6fd3d5d0d87016a523ec1c69","https://git.kernel.org/stable/c/d47782d5c0cb87b9826041f34505580204ccf703","https://git.kernel.org/stable/c/2c78fb287e1f430b929f2e49786518350d15605c"],"weaknesses":[],"ingestedAt":"2026-10-29T20:09:09.358Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/39xxx/CVE-2025-39678.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2025-39678","state":"PUBLISHED","datePublished":"2025-09-05T17:20:44.246Z","dateUpdated":"2026-05-11T21:34:08.354Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2025-04-16T07:20:57.112Z"},"containers":{"cna":{"title":"platform/x86/amd/hsmp: Ensure sock->metric_tbl_addr is non-NULL","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nplatform/x86/amd/hsmp: Ensure sock->metric_tbl_addr is non-NULL\n\nIf metric table address is not allocated, accessing metrics_bin will\nresult in a NULL pointer dereference, so add a check."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"5150542b8ec5fb561be080ed0ef3bab8598154c3","status":"affected","lessThan":"782977c0d8ba432b6fd3d5d0d87016a523ec1c69","versionType":"git"},{"version":"5150542b8ec5fb561be080ed0ef3bab8598154c3","status":"affected","lessThan":"d47782d5c0cb87b9826041f34505580204ccf703","versionType":"git"},{"version":"5150542b8ec5fb561be080ed0ef3bab8598154c3","status":"affected","lessThan":"2c78fb287e1f430b929f2e49786518350d15605c","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/platform/x86/amd/hsmp/hsmp.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.7","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.7","versionType":"semver"},{"version":"6.12.56","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.16.4","status":"unaffected","lessThanOrEqual":"6.16.*","versionType":"semver"},{"version":"6.17","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/platform/x86/amd/hsmp/hsmp.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/782977c0d8ba432b6fd3d5d0d87016a523ec1c69"},{"url":"https://git.kernel.org/stable/c/d47782d5c0cb87b9826041f34505580204ccf703"},{"url":"https://git.kernel.org/stable/c/2c78fb287e1f430b929f2e49786518350d15605c"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-05-11T21:34:08.354Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.7","versionEndExcluding":"6.12.56"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.7","versionEndExcluding":"6.16.4"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.7","versionEndExcluding":"6.17"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}