Menu

Star on GitHub · 3.3k

CVE-2024-58006

9.6 · CRITICAL

In the Linux kernel, the following vulnerability has been resolved: PCI: dwc: ep: Prevent changing BAR size/flags in pci_epc_set_bar() In commit 4284c88fff0e ("PCI: designware-ep: Allow pci_epc_s…

Published Feb 27, 2025EPSS 0.24%

Overview

CVE-2024-58006 is a critical-severity vulnerability. It was published on February 27, 2025 and has a CVSS 3.1 base score of 9.6 (CRITICAL).

This vulnerability has a CVSS 3.1 base score of 9.6, rated CRITICAL. It requires local or adjacent network access to exploit. No authentication or special privileges are required for exploitation.

Technical description

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

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

In commit 4284c88fff0e ("PCI: designware-ep: Allow pci_epc_set_bar() update

inbound map address") set_bar() was modified to support dynamically

changing the backing physical address of a BAR that was already configured.

This means that set_bar() can be called twice, without ever calling

clear_bar() (as calling clear_bar() would clear the BAR's PCI address

assigned by the host).

This can only be done if the new BAR size/flags does not differ from the

existing BAR configuration. Add these missing checks.

If we allow set_bar() to set e.g. a new BAR size that differs from the

existing BAR size, the new address translation range will be smaller than

the BAR size already determined by the host, which would mean that a read

past the new BAR size would pass the iATU untranslated, which could allow

the host to read memory not belonging to the new struct pci

Remediation

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Frequently asked questions

What is CVE-2024-58006?

CVE-2024-58006 is a critical-severity vulnerability. It was published on February 27, 2025 and has a CVSS 3.1 base score of 9.6 (CRITICAL).

How severe is CVE-2024-58006?

This vulnerability has a CVSS 3.1 base score of 9.6, rated CRITICAL. It requires local or adjacent network access to exploit. No authentication or special privileges are required for exploitation.

How do I fix or remediate CVE-2024-58006?

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2024-58006?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2024-58006 is actually reachable in your own applications and APIs, then verifies each finding before reporting it. That tells you if the weakness is a real, exploitable risk in your environment or a false positive you can safely deprioritize.

Related CRITICAL CVEs from 2024

View all
LiveWatch live →