[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025090454-CVE-2025-38705-7cd6@gregkh>
Date: Thu, 4 Sep 2025 17:33:10 +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-38705: drm/amd/pm: fix null pointer access
From: Greg Kroah-Hartman <gregkh@...nel.org>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
drm/amd/pm: fix null pointer access
Writing a string without delimiters (' ', '\n', '\0') to the under
gpu_od/fan_ctrl sysfs or pp_power_profile_mode for the CUSTOM profile
will result in a null pointer dereference.
The Linux kernel CVE team has assigned CVE-2025-38705 to this issue.
Affected and fixed versions
===========================
Fixed in 6.12.43 with commit a83ffafd02a7af59848755c109d544e3894af737
Fixed in 6.15.11 with commit 5d8cc029e5595760c7d18c64632e8e40a86a9b2e
Fixed in 6.16.2 with commit cef79c18538e9ce2ca6e5b3fa95c38ec41dcd07a
Fixed in 6.17-rc1 with commit d524d40e3a6152a3ea1125af729f8cd8ca65efde
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-38705
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/gpu/drm/amd/pm/amdgpu_pm.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/a83ffafd02a7af59848755c109d544e3894af737
https://git.kernel.org/stable/c/5d8cc029e5595760c7d18c64632e8e40a86a9b2e
https://git.kernel.org/stable/c/cef79c18538e9ce2ca6e5b3fa95c38ec41dcd07a
https://git.kernel.org/stable/c/d524d40e3a6152a3ea1125af729f8cd8ca65efde
Powered by blists - more mailing lists