CVE Database›CVE-2024-58006

CVE-2024-58006

kernel: PCI: dwc: ep: Prevent changing BAR size/flags in pci_epc_set_bar()

Loading…

Severity

Moderate

Red Hat Product Security

5.5

CVSS 3.1

Review impact separately from score.

Published · February 27, 2025

Updated · October 31, 2026

Description

A flaw was found in the Linux kernel's Peripheral Component Interconnect Express (PCIe) DesignWare endpoint driver. When dynamically reconfiguring a Base Address Register (BAR), the driver fails to verify that the new BAR size and flags match the existing configuration. If a smaller size is configured, memory read requests from the connected host device can bypass address translation, allowing the host to read unauthorized system memory.

Statement

Red Hat has evaluated this vulnerability as having a Moderate severity because it specifically impacts systems configured to run as PCIe endpoints using Synopsys DesignWare controllers, rather than standard host systems. Exploitation requires the kernel to operate in PCIe endpoint mode with dynamic Base Address Register reconfiguration enabled, which is not used in typical enterprise installations. Consequently, standard server and cloud deployments are unaffected, and exposure is primarily restricted to specialized embedded or automotive environments.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

No mitigation is specified in collected source.

CVSS / CWE

CVSS 3.1 · 5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

CWE-125 · Out-of-bounds Read