---
id: CVE-2025-38705
title: 'drm/amd/pm: fix null pointer access'
summary: |-
  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 pr…
severity: none
vendor: Linux
product: Linux
affected:
  - >-
    Linux >= 37c5c4dbf03b167b5ca68d4bbc7fb6c92a463fb4 <
    29a15e06a3d41f60a73a8a0ad7847b11c55f61bf
  - >-
    Linux >= 37c5c4dbf03b167b5ca68d4bbc7fb6c92a463fb4 <
    a83ffafd02a7af59848755c109d544e3894af737
  - >-
    Linux >= 37c5c4dbf03b167b5ca68d4bbc7fb6c92a463fb4 <
    5d8cc029e5595760c7d18c64632e8e40a86a9b2e
  - >-
    Linux >= 37c5c4dbf03b167b5ca68d4bbc7fb6c92a463fb4 <
    cef79c18538e9ce2ca6e5b3fa95c38ec41dcd07a
  - >-
    Linux >= 37c5c4dbf03b167b5ca68d4bbc7fb6c92a463fb4 <
    d524d40e3a6152a3ea1125af729f8cd8ca65efde
  - Linux 4.17
published: '2025-09-04'
updated: '2026-10-21'
sourceUpdated: '2026-10-21T12:37:13.654Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2025-38705'
references:
  - url: 'https://git.kernel.org/stable/c/29a15e06a3d41f60a73a8a0ad7847b11c55f61bf'
  - url: 'https://git.kernel.org/stable/c/a83ffafd02a7af59848755c109d544e3894af737'
  - url: 'https://git.kernel.org/stable/c/5d8cc029e5595760c7d18c64632e8e40a86a9b2e'
  - url: 'https://git.kernel.org/stable/c/cef79c18538e9ce2ca6e5b3fa95c38ec41dcd07a'
  - url: 'https://git.kernel.org/stable/c/d524d40e3a6152a3ea1125af729f8cd8ca65efde'
tags:
  - cve.org
epss: 0.00195
epssPercentile: 0.09099
ingestedAt: '2026-10-21T12:48:53.699Z'
---

## Overview

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.

## Affected

- `Linux >= 37c5c4dbf03b167b5ca68d4bbc7fb6c92a463fb4 < 29a15e06a3d41f60a73a8a0ad7847b11c55f61bf`
- `Linux >= 37c5c4dbf03b167b5ca68d4bbc7fb6c92a463fb4 < a83ffafd02a7af59848755c109d544e3894af737`
- `Linux >= 37c5c4dbf03b167b5ca68d4bbc7fb6c92a463fb4 < 5d8cc029e5595760c7d18c64632e8e40a86a9b2e`
- `Linux >= 37c5c4dbf03b167b5ca68d4bbc7fb6c92a463fb4 < cef79c18538e9ce2ca6e5b3fa95c38ec41dcd07a`
- `Linux >= 37c5c4dbf03b167b5ca68d4bbc7fb6c92a463fb4 < d524d40e3a6152a3ea1125af729f8cd8ca65efde`
- `Linux 4.17`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
