Reference page — cumulative record through Wednesday, August 19, 2026 UTC. Reference pages update as the archive grows; only dated daily editions are immutable pages of record.
Linux Linux — PCI: dwc: ep: Prevent changing BAR size/flags in pci_epc_set_bar()
AV AC PR UI S C I A CVSS EPSS %ile KEV
L L L N U N N H 5.5 .0023 14.3 —
AFFECTED
Product Versions Fixed
Linux 4284c88fff0efc4e418abb53d78e02dc4f099d6c – —
Linux 6.0 – 6.12.14
TIMELINE
Feb 27 Reserved by Linux
Feb 27 Published (CNA: Linux)
Aug 4 RESCORED — CVE-2024-58006 (Linux). CVSS 9.6 → 5.5 (NVD).
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_epf_bar.
While at it, add comments which clarifies the support for dynamically
changing the physical address of a BAR. (Which was also missing.)
Lifecycle
Complete event history — 3 events, chronological
| Date | Event | Detail |
| February 27, 2025 | Reserved | Reserved by Linux |
| February 27, 2025 | Published | Published (CNA: Linux) |
| August 4, 2026 | RESCORED | RESCORED — CVE-2024-58006 (Linux). CVSS 9.6 → 5.5 (NVD). |
Affected
Affected products and packages — 2 rows
| Vendor | Product / Package | Ecosystem | Version introduced | Fixed |
| Linux | Linux | — | 4284c88fff0efc4e418abb53d78e02dc4f099d6c | — |
| Linux | Linux | — | 6.0 | 6.12.14 |
About this page
This is a reference page, not a dated page of record. It assembles the complete lifecycle of CVE-2024-58006 from the CVE Program record, NVD enrichment, the CISA KEV catalog, EPSS, and OSV advisories. The box score's numbers (CVSS, EPSS, KEV status) are current as of Wednesday, August 19, 2026 UTC and are re-derived as the archive grows; only dated daily editions are immutable pages of record. The authoritative source for this identifier is cve.org.