[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025090545-CVE-2025-39678-d4ca@gregkh>
Date: Fri, 5 Sep 2025 19:20:52 +0200
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...nel.org>
Subject: CVE-2025-39678: platform/x86/amd/hsmp: Ensure sock->metric_tbl_addr is non-NULL
From: Greg Kroah-Hartman <gregkh@...nel.org>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
platform/x86/amd/hsmp: Ensure sock->metric_tbl_addr is non-NULL
If metric table address is not allocated, accessing metrics_bin will
result in a NULL pointer dereference, so add a check.
The Linux kernel CVE team has assigned CVE-2025-39678 to this issue.
Affected and fixed versions
===========================
Issue introduced in 6.7 with commit 5150542b8ec5fb561be080ed0ef3bab8598154c3 and fixed in 6.16.4 with commit d47782d5c0cb87b9826041f34505580204ccf703
Issue introduced in 6.7 with commit 5150542b8ec5fb561be080ed0ef3bab8598154c3 and fixed in 6.17-rc3 with commit 2c78fb287e1f430b929f2e49786518350d15605c
Please see https://www.kernel.org for a full list of currently supported
kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to
older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2025-39678
will be updated if fixes are backported, please check that for the most
up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
drivers/platform/x86/amd/hsmp/hsmp.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest
stable kernel version for this, and many other bugfixes. Individual
changes are never tested alone, but rather are part of a larger kernel
release. Cherry-picking individual commits is not recommended or
supported by the Linux kernel community at all. If however, updating to
the latest release is impossible, the individual changes to resolve this
issue can be found at these commits:
https://git.kernel.org/stable/c/d47782d5c0cb87b9826041f34505580204ccf703
https://git.kernel.org/stable/c/2c78fb287e1f430b929f2e49786518350d15605c
Powered by blists - more mailing lists