---
id: CVE-2025-38559
title: 'platform/x86/intel/pmt: fix a crashlog NULL pointer access'
summary: |-
  In the Linux kernel, the following vulnerability has been resolved:

  platform/x86/intel/pmt: fix a crashlog NULL pointer access

  Usage of the intel_pmt_read() for binary sysfs, requires a pcidev. The
  current use of the endpoint value is …
severity: none
vendor: Linux
product: Linux
affected:
  - >-
    Linux >= 045a513040cc0242d364c05c3791594e2294f32d <
    860d93bd6a21f08883711196344c353bc3936a2b
  - >-
    Linux >= 045a513040cc0242d364c05c3791594e2294f32d <
    18d53b543b5447478e259c96ca4688393f327c98
  - >-
    Linux >= 045a513040cc0242d364c05c3791594e2294f32d <
    089d05266b2caf020ac2ae2cd2be78f580268f5d
  - >-
    Linux >= 045a513040cc0242d364c05c3791594e2294f32d <
    54d5cd4719c5e87f33d271c9ac2e393147d934f8
  - Linux 6.12
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-11-05T21:03:56.111393Z'
published: '2025-08-19'
updated: '2026-11-05'
sourceUpdated: '2026-11-05T21:12:47.026Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2025-38559'
references:
  - url: 'https://git.kernel.org/stable/c/860d93bd6a21f08883711196344c353bc3936a2b'
  - url: 'https://git.kernel.org/stable/c/18d53b543b5447478e259c96ca4688393f327c98'
  - url: 'https://git.kernel.org/stable/c/089d05266b2caf020ac2ae2cd2be78f580268f5d'
  - url: 'https://git.kernel.org/stable/c/54d5cd4719c5e87f33d271c9ac2e393147d934f8'
tags:
  - cve.org
epss: 0.00165
epssPercentile: 0.05818
ingestedAt: '2026-11-05T22:38:31.993Z'
---

## Overview

In the Linux kernel, the following vulnerability has been resolved:

platform/x86/intel/pmt: fix a crashlog NULL pointer access

Usage of the intel_pmt_read() for binary sysfs, requires a pcidev. The
current use of the endpoint value is only valid for telemetry endpoint
usage.

Without the ep, the crashlog usage causes the following NULL pointer
exception:

BUG: kernel NULL pointer dereference, address: 0000000000000000
Oops: Oops: 0000 [#1] SMP NOPTI
RIP: 0010:intel_pmt_read+0x3b/0x70 [pmt_class]
Code:
Call Trace:
 <TASK>
 ? sysfs_kf_bin_read+0xc0/0xe0
 kernfs_fop_read_iter+0xac/0x1a0
 vfs_read+0x26d/0x350
 ksys_read+0x6b/0xe0
 __x64_sys_read+0x1d/0x30
 x64_sys_call+0x1bc8/0x1d70
 do_syscall_64+0x6d/0x110

Augment struct intel_pmt_entry with a pointer to the pcidev to avoid
the NULL pointer exception.

## Affected

- `Linux >= 045a513040cc0242d364c05c3791594e2294f32d < 860d93bd6a21f08883711196344c353bc3936a2b`
- `Linux >= 045a513040cc0242d364c05c3791594e2294f32d < 18d53b543b5447478e259c96ca4688393f327c98`
- `Linux >= 045a513040cc0242d364c05c3791594e2294f32d < 089d05266b2caf020ac2ae2cd2be78f580268f5d`
- `Linux >= 045a513040cc0242d364c05c3791594e2294f32d < 54d5cd4719c5e87f33d271c9ac2e393147d934f8`
- `Linux 6.12`

## Remediation

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