---
id: CVE-2025-37746
title: 'perf/dwc_pcie: fix duplicate pci_dev devices'
summary: |-
  In the Linux kernel, the following vulnerability has been resolved:

  perf/dwc_pcie: fix duplicate pci_dev devices

  During platform_device_register, wrongly using struct device
  pci_dev as platform_data caused a kmemdup copy of pci_dev. Wo…
severity: none
vendor: Linux
product: Linux
affected:
  - >-
    Linux >= af9597adc2f1e3609c67c9792a2469bb64e43ae9 <
    0778c3e01a9f382a5bc444a5271e013406642501
  - >-
    Linux >= af9597adc2f1e3609c67c9792a2469bb64e43ae9 <
    a71c6fc87b2b9905dc2e38887fe4122287216be9
  - >-
    Linux >= af9597adc2f1e3609c67c9792a2469bb64e43ae9 <
    7f35b429802a8065aa61e2a3f567089649f4d98e
  - Linux 6.8
published: '2025-05-01'
updated: '2026-10-21'
sourceUpdated: '2026-10-21T12:36:23.821Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2025-37746'
references:
  - url: 'https://git.kernel.org/stable/c/0778c3e01a9f382a5bc444a5271e013406642501'
  - url: 'https://git.kernel.org/stable/c/a71c6fc87b2b9905dc2e38887fe4122287216be9'
  - url: 'https://git.kernel.org/stable/c/7f35b429802a8065aa61e2a3f567089649f4d98e'
tags:
  - cve.org
epss: 0.00237
epssPercentile: 0.14649
ingestedAt: '2026-10-21T12:48:53.713Z'
---

## Overview

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

perf/dwc_pcie: fix duplicate pci_dev devices

During platform_device_register, wrongly using struct device
pci_dev as platform_data caused a kmemdup copy of pci_dev. Worse
still, accessing the duplicated device leads to list corruption as its
mutex content (e.g., list, magic) remains the same as the original.

## Affected

- `Linux >= af9597adc2f1e3609c67c9792a2469bb64e43ae9 < 0778c3e01a9f382a5bc444a5271e013406642501`
- `Linux >= af9597adc2f1e3609c67c9792a2469bb64e43ae9 < a71c6fc87b2b9905dc2e38887fe4122287216be9`
- `Linux >= af9597adc2f1e3609c67c9792a2469bb64e43ae9 < 7f35b429802a8065aa61e2a3f567089649f4d98e`
- `Linux 6.8`

## Remediation

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