Critical Vulnerability in Linux Package: PCI BAR Size/Flags Modification Risk

linux Updated 02 Oct 2025

Summary

27/02/2025
N/A
Yes i
Unrated
Not published

DEBIAN-CVE-2024-58006: 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 m... Affects linux versions < 6.12.15-1. Fixed in 6.12.15-1. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

The Linux package is a core component of the Debian operating system, providing essential functionalities for managing hardware and system resources. It serves as the foundation for various applications and services, ensuring efficient communication between software and hardware. This vulnerability specifically affects the PCI subsystem, which is responsible for managing peripheral devices, highlighting the importance of maintaining robust security measures within the kernel.

Vulnerability Detail

In the Linux kernel, a vulnerability has been identified in the PCI subsystem, specifically in the pci_epc_set_bar() function. This function was modified to allow dynamic changes to the backing physical address of a Base Address Register (BAR) without the need to call clear_bar(). This modification can lead to potential security risks, as it allows for the possibility of changing the BAR size or flags without proper checks. If an attacker can manipulate the BAR size, it may result in unauthorized access to memory regions, leading to data corruption or leakage. The vulnerability was introduced in commit 4284c88fff0e, which failed to implement necessary checks for size and flags consistency during the BAR configuration process.

How To Fix

Minimum fixed version

6.12.15-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade linux

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

Currently, there are no specific workarounds mentioned for this vulnerability. The best course of action is to apply the available patch as soon as possible to mitigate any risks associated with this issue.

Conclusion

The identified vulnerability in the Linux package poses significant risks related to the PCI subsystem's management of BAR configurations. It is essential for users to update their systems to the patched version to ensure security and prevent potential exploitation. Utilizing tools like Vulert can aid in monitoring and managing vulnerabilities effectively.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

The vulnerability allows for the modification of the BAR size and flags without proper checks, potentially leading to unauthorized memory access.

You can use the Vulert platform to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check if your application is affected.

Failure to address this vulnerability may result in unauthorized access to sensitive memory regions, leading to data corruption or leakage.

Yes, the vulnerability affects the Linux package in Debian versions 13 and 14, specifically before version 6.12.15-1.

While there are no specific workarounds, it is crucial to prioritize updating your package to the patched version as soon as possible to mitigate risks.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

How To Fix

Minimum fixed version

6.12.15-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade linux

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback