CVE-2025-37746

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.
Configurations

Configuration 1 (hide)

cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*

History

05 Nov 2025, 16:07

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 5.5
CWE CWE-704
First Time Linux
Linux linux Kernel
References () https://git.kernel.org/stable/c/7f35b429802a8065aa61e2a3f567089649f4d98e - () https://git.kernel.org/stable/c/7f35b429802a8065aa61e2a3f567089649f4d98e - Patch
References () https://git.kernel.org/stable/c/a71c6fc87b2b9905dc2e38887fe4122287216be9 - () https://git.kernel.org/stable/c/a71c6fc87b2b9905dc2e38887fe4122287216be9 - Patch
CPE cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Summary
  • (es) En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: perf/dwc_pcie: se corrigen dispositivos pci_dev duplicados. Durante platform_device_register, el uso incorrecto de struct device pci_dev como platform_data provocaba una copia kmemdup de pci_dev. Peor aún, acceder al dispositivo duplicado provoca la corrupción de la lista, ya que su contenido mutex (p. ej., list, magic) permanece igual que el original.

01 May 2025, 13:15

Type Values Removed Values Added
New CVE

Information

Published : 2025-05-01 13:15

Updated : 2025-11-05 16:07


NVD link : CVE-2025-37746

Mitre link : CVE-2025-37746

CVE.ORG link : CVE-2025-37746


JSON object : View

Products Affected

linux

  • linux_kernel
CWE
CWE-704

Incorrect Type Conversion or Cast