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 gpuod/fanctrl sysfs or pppowerprofile_mode for the CUSTOM profile will result in a null pointer dereference.
{
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38705.json"
}[
{
"digest": {
"length": 1046.0,
"function_hash": "192742545668235272512383533704426855662"
},
"signature_version": "v1",
"deprecated": false,
"signature_type": "Function",
"id": "CVE-2025-38705-168c1989",
"target": {
"function": "amdgpu_set_pp_power_profile_mode",
"file": "drivers/gpu/drm/amd/pm/amdgpu_pm.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d524d40e3a6152a3ea1125af729f8cd8ca65efde"
},
{
"digest": {
"length": 819.0,
"function_hash": "300429802497097372824444733435902292977"
},
"signature_version": "v1",
"deprecated": false,
"signature_type": "Function",
"id": "CVE-2025-38705-1fad3bf7",
"target": {
"function": "parse_input_od_command_lines",
"file": "drivers/gpu/drm/amd/pm/amdgpu_pm.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5d8cc029e5595760c7d18c64632e8e40a86a9b2e"
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"120420972372224135095045049083595039259",
"297371302186469061973154612046301374178",
"298295417403020390093878221537680614115",
"32795424000579605349501781519131370859",
"297371302186469061973154612046301374178",
"298295417403020390093878221537680614115",
"32795424000579605349501781519131370859"
]
},
"signature_version": "v1",
"deprecated": false,
"signature_type": "Line",
"id": "CVE-2025-38705-48ada0ea",
"target": {
"file": "drivers/gpu/drm/amd/pm/amdgpu_pm.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d524d40e3a6152a3ea1125af729f8cd8ca65efde"
},
{
"digest": {
"length": 819.0,
"function_hash": "300429802497097372824444733435902292977"
},
"signature_version": "v1",
"deprecated": false,
"signature_type": "Function",
"id": "CVE-2025-38705-492b01be",
"target": {
"function": "parse_input_od_command_lines",
"file": "drivers/gpu/drm/amd/pm/amdgpu_pm.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a83ffafd02a7af59848755c109d544e3894af737"
},
{
"signature_version": "v1",
"digest": {
"length": 819.0,
"function_hash": "300429802497097372824444733435902292977"
},
"deprecated": false,
"signature_type": "Function",
"id": "CVE-2025-38705-4d5df01b",
"target": {
"function": "parse_input_od_command_lines",
"file": "drivers/gpu/drm/amd/pm/amdgpu_pm.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@cef79c18538e9ce2ca6e5b3fa95c38ec41dcd07a"
},
{
"digest": {
"length": 819.0,
"function_hash": "300429802497097372824444733435902292977"
},
"signature_version": "v1",
"deprecated": false,
"signature_type": "Function",
"id": "CVE-2025-38705-58a1934c",
"target": {
"function": "parse_input_od_command_lines",
"file": "drivers/gpu/drm/amd/pm/amdgpu_pm.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d524d40e3a6152a3ea1125af729f8cd8ca65efde"
},
{
"signature_version": "v1",
"digest": {
"length": 1228.0,
"function_hash": "149080670056672925918479124542762553428"
},
"deprecated": false,
"signature_type": "Function",
"id": "CVE-2025-38705-61f220b4",
"target": {
"function": "amdgpu_set_pp_power_profile_mode",
"file": "drivers/gpu/drm/amd/pm/amdgpu_pm.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a83ffafd02a7af59848755c109d544e3894af737"
},
{
"digest": {
"length": 1046.0,
"function_hash": "192742545668235272512383533704426855662"
},
"signature_version": "v1",
"deprecated": false,
"signature_type": "Function",
"id": "CVE-2025-38705-676f51c7",
"target": {
"function": "amdgpu_set_pp_power_profile_mode",
"file": "drivers/gpu/drm/amd/pm/amdgpu_pm.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5d8cc029e5595760c7d18c64632e8e40a86a9b2e"
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"120420972372224135095045049083595039259",
"297371302186469061973154612046301374178",
"298295417403020390093878221537680614115",
"32795424000579605349501781519131370859",
"297371302186469061973154612046301374178",
"298295417403020390093878221537680614115",
"32795424000579605349501781519131370859"
]
},
"signature_version": "v1",
"deprecated": false,
"signature_type": "Line",
"id": "CVE-2025-38705-c4570513",
"target": {
"file": "drivers/gpu/drm/amd/pm/amdgpu_pm.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@cef79c18538e9ce2ca6e5b3fa95c38ec41dcd07a"
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"120420972372224135095045049083595039259",
"297371302186469061973154612046301374178",
"298295417403020390093878221537680614115",
"32795424000579605349501781519131370859",
"297371302186469061973154612046301374178",
"298295417403020390093878221537680614115",
"32795424000579605349501781519131370859"
]
},
"signature_version": "v1",
"deprecated": false,
"signature_type": "Line",
"id": "CVE-2025-38705-c5cdcc98",
"target": {
"file": "drivers/gpu/drm/amd/pm/amdgpu_pm.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a83ffafd02a7af59848755c109d544e3894af737"
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"120420972372224135095045049083595039259",
"297371302186469061973154612046301374178",
"298295417403020390093878221537680614115",
"32795424000579605349501781519131370859",
"297371302186469061973154612046301374178",
"298295417403020390093878221537680614115",
"32795424000579605349501781519131370859"
]
},
"signature_version": "v1",
"deprecated": false,
"signature_type": "Line",
"id": "CVE-2025-38705-d49682fc",
"target": {
"file": "drivers/gpu/drm/amd/pm/amdgpu_pm.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5d8cc029e5595760c7d18c64632e8e40a86a9b2e"
},
{
"signature_version": "v1",
"digest": {
"length": 1046.0,
"function_hash": "192742545668235272512383533704426855662"
},
"deprecated": false,
"signature_type": "Function",
"id": "CVE-2025-38705-ecca2c8c",
"target": {
"function": "amdgpu_set_pp_power_profile_mode",
"file": "drivers/gpu/drm/amd/pm/amdgpu_pm.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@cef79c18538e9ce2ca6e5b3fa95c38ec41dcd07a"
}
]
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-38705.json"