CVE-2024-26918
What it is
In the Linux kernel, the following vulnerability has been resolved: PCI: Fix active state requirement in PME polling The commit noted in fixes added a bogus requirement that runtime PM managed devices need to be in the RPM_ACTIVE state for PME polling. In fact, only devices in low power states should be polled. However there's still a requirement that the device config space must be accessible, which has implications for both the current state of the polled device and the parent bridge, when present. It's not sufficient to assume the bridge remains in D0 and cases have been observed where the bridge passes the D0 test, but the PM state indicates RPM_SUSPENDING and config space of the polled device becomes inaccessible during pci_pme_wakeup(). Therefore, since the bridge is already effectively required to be in the RPM_ACTIVE state, formalize this in the code and elevate the PM usage count to maintain the state while polling the subordinate device. This resolves a regression reported in the bugzilla below where a Thunderbolt/USB4 hierarchy fails to scan for an attached NVMe endpoint downstream of a bridge in a D3hot power state.
At a glance
- Exploitability
- Can be exploited locally on the machine with a low-privilege account. High risk of service disruption.
- Exploit odds
- 0.2% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 0.2% in the next 30 days (EPSS).
- Severity: 5.5 MEDIUM (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 0.2% · EPSS, next 30 days
- Record status
- Analyzed
Affected
- Linux Kernel < 6.6.18
- Linux Kernel < 6.7.6
- Linux Kernel 6.8
Attack profile CVSS 3.1 · 5.5
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Raw vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2024-26918.md and follow it. Check whether this project is affected by CVE-2024-26918. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- https://git.kernel.org/stable/c/41044d5360685e78a869d40a168491a70cdb7e73
- https://git.kernel.org/stable/c/63b1a3d9dd3b3f6d67f524e76270e66767090583
- https://git.kernel.org/stable/c/a4f12e5cbac2865c151d1e97e36eb24205afb23b
- https://git.kernel.org/stable/c/41044d5360685e78a869d40a168491a70cdb7e73
- https://git.kernel.org/stable/c/63b1a3d9dd3b3f6d67f524e76270e66767090583
- https://git.kernel.org/stable/c/a4f12e5cbac2865c151d1e97e36eb24205afb23b
References
- https://git.kernel.org/stable/c/41044d5360685e78a869d40a168491a70cdb7e73
- https://git.kernel.org/stable/c/63b1a3d9dd3b3f6d67f524e76270e66767090583
- https://git.kernel.org/stable/c/a4f12e5cbac2865c151d1e97e36eb24205afb23b
- https://git.kernel.org/stable/c/41044d5360685e78a869d40a168491a70cdb7e73
- https://git.kernel.org/stable/c/63b1a3d9dd3b3f6d67f524e76270e66767090583
- https://git.kernel.org/stable/c/a4f12e5cbac2865c151d1e97e36eb24205afb23b