CVE-2025-37746 perf/dwc_pcie: fix duplicate pci_dev devices

Medium 5.5 Published Updated

A memory corruption flaw in the Linux kernel's DWC PCIe performance driver allows attackers to cause list corruption, leading to system crashes or potential code execution.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2025-37746?

CVE-2025-37746 is a medium-severity memory corruption vulnerability in Linux kernel, published on 1 May 2025. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

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.

Weakness: CWE-704

Which versions are affected by CVE-2025-37746?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2025-37746?

Apply the vendor's patch.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2025-37746 being exploited?

There is no known exploitation of CVE-2025-37746 in the wild and no public exploit code.

All Linux kernel vulnerabilities

Sources

Also known as BELL-CVE-2025-37746, DEBIAN-CVE-2025-37746, GHSA-rg5g-h6w9-p8cj, ROOT-OS-DEBIAN-13-CVE-2025-37746, ROOT-OS-UBUNTU-2204-CVE-2025-37746, ROOT-OS-UBUNTU-2404-CVE-2025-37746 and 1 more.

Is CVE-2025-37746 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free