Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2024-35809

MEDIUM 5.5EPSS 11%

PCI/PM: Drain runtime-idle callbacks before driver removal

Mitigation

  • Upgrade Linux to 9d5286d4e7f68beab450deddbb6a32edd5ecf4bf or later.

Who should check

  • Anyone running Linux >= f3ec4f87d607f40497afdb5ac03f11e2ea253d52, < 9a87375bb586515c0af63d5dcdcd58ec4acf20a6; >= f3ec4f87d607f40497afdb5ac03f11e2ea253d52, < 47d8aafcfe313511a98f165a54d0adceb34e54b1; >= f3ec4f87d607f40497afdb5ac03f11e2ea253d52, < bbe068b24409ef740657215605284fc7cdddd491; >= f3ec4f87d607f40497afdb5ac03f11e2ea253d52, < 7cc94dd36e48879e76ae7a8daea4ff322b7d9674; >= f3ec4f87d607f40497afdb5ac03f11e2ea253d52, < 900b81caf00c89417172afe0e7e49ac4eb110f4b; >= f3ec4f87d607f40497afdb5ac03f11e2ea253d52, < d86ad8c3e152349454b82f37007ff6ba45f26989; >= f3ec4f87d607f40497afdb5ac03f11e2ea253d52, < d534198311c345e4b062c4b88bb609efb8bd91d5; >= f3ec4f87d607f40497afdb5ac03f11e2ea253d52, < 6347348c6aba52dda0b33296684cbb627bdc6970; >= f3ec4f87d607f40497afdb5ac03f11e2ea253d52, < 9d5286d4e7f68beab450deddbb6a32edd5ecf4bf
  • Anyone running Linux 2.6.36

Vulnerability facts

Affected
Linux >= f3ec4f87d607f40497afdb5ac03f11e2ea253d52, < 9a87375bb586515c0af63d5dcdcd58ec4acf20a6; >= f3ec4f87d607f40497afdb5ac03f11e2ea253d52, < 47d8aafcfe313511a98f165a54d0adceb34e54b1; >= f3ec4f87d607f40497afdb5ac03f11e2ea253d52, < bbe068b24409ef740657215605284fc7cdddd491; >= f3ec4f87d607f40497afdb5ac03f11e2ea253d52, < 7cc94dd36e48879e76ae7a8daea4ff322b7d9674; >= f3ec4f87d607f40497afdb5ac03f11e2ea253d52, < 900b81caf00c89417172afe0e7e49ac4eb110f4b; >= f3ec4f87d607f40497afdb5ac03f11e2ea253d52, < d86ad8c3e152349454b82f37007ff6ba45f26989; >= f3ec4f87d607f40497afdb5ac03f11e2ea253d52, < d534198311c345e4b062c4b88bb609efb8bd91d5; >= f3ec4f87d607f40497afdb5ac03f11e2ea253d52, < 6347348c6aba52dda0b33296684cbb627bdc6970; >= f3ec4f87d607f40497afdb5ac03f11e2ea253d52, < 9d5286d4e7f68beab450deddbb6a32edd5ecf4bf; Linux 2.6.36
Fixed in
Linux 9a87375bb586515c0af63d5dcdcd58ec4acf20a6, Linux 47d8aafcfe313511a98f165a54d0adceb34e54b1, Linux 7cc94dd36e48879e76ae7a8daea4ff322b7d9674, Linux 900b81caf00c89417172afe0e7e49ac4eb110f4b, Linux 6347348c6aba52dda0b33296684cbb627bdc6970, Linux 9d5286d4e7f68beab450deddbb6a32edd5ecf4bf
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
5.5 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Local
  • Attack complexity: Low
  • Privileges required: Low
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: None
  • Integrity impact: None
  • Availability impact: High
EPSS
0.26% chance of exploitation in 30 days (percentile 11, 2026-11-26)
CWE
CWE-362
Published
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: PCI/PM: Drain runtime-idle callbacks before driver removal A race condition between the .runtime_idle() callback and the .remove() callback in the rtsx_pcr PCI driver leads to a kernel crash due to an unhandled page fault [1]. The problem is that rtsx_pci_runtime_idle() is not expected to be running after pm_runtime_get_sync() has been called, but the latter doesn't really guarantee that. It only guarantees that the suspend and resume callbacks will not be running when it returns. However, if a .runtime_idle() callback is already running when pm_runtime_get_sync() is called, the latter will notice that the runtime PM status of the device is RPM_ACTIVE and it will return right away without waiting for the former to complete. In fact, it cannot wait for .runtime_idle() to complete because it may be called from that callback (it arguably does not make much sense to do that, but it is not strictly prohibited). Thus in general, whoever is providing a .runtime_idle() callback needs to protect it from running in parallel with whatever code runs after pm_runtime_get_sync(). [Note that .runtime_idle() will not start after pm_runtime_get_sync() has returned, but it may continue running then if it has started earlier.] One way to address that race condition is to call pm_runtime_barrier() after pm_runtime_get_sync() (not before it, because a nonzero value of the runtime PM usage counter is necessary to prevent runtime PM callbacks from being invoked) to wait for the .runtime_idle() callback to complete should it be running at that point. A suitable place for doing that is in pci_device_remove() which calls pm_runtime_get_sync() before removing the driver, so it may as well call pm_runtime_barrier() subsequently, which will prevent the race in question from occurring, not just in the rtsx_pcr driver, but in any PCI drivers providing .runtime_idle() callbacks.

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= f3ec4f87d607f40497afdb5ac03f11e2ea253d52, < 9a87375bb586515c0af63d5dcdcd58ec4acf20a6; >= f3ec4f87d607f40497afdb5ac03f11e2ea253d52, < 47d8aafcfe313511a98f165a54d0adceb34e54b1; >= f3ec4f87d607f40497afdb5ac03f11e2ea253d52, < bbe068b24409ef740657215605284fc7cdddd491; >= f3ec4f87d607f40497afdb5ac03f11e2ea253d52, < 7cc94dd36e48879e76ae7a8daea4ff322b7d9674; >= f3ec4f87d607f40497afdb5ac03f11e2ea253d52, < 900b81caf00c89417172afe0e7e49ac4eb110f4b; >= f3ec4f87d607f40497afdb5ac03f11e2ea253d52, < d86ad8c3e152349454b82f37007ff6ba45f26989; >= f3ec4f87d607f40497afdb5ac03f11e2ea253d52, < d534198311c345e4b062c4b88bb609efb8bd91d5; >= f3ec4f87d607f40497afdb5ac03f11e2ea253d52, < 6347348c6aba52dda0b33296684cbb627bdc6970; >= f3ec4f87d607f40497afdb5ac03f11e2ea253d52, < 9d5286d4e7f68beab450deddbb6a32edd5ecf4bf—cvelist
Linux2.6.36—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2024-35809. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-35809.md
Affected: Linux >= f3ec4f87d607f40497afdb5ac03f11e2ea253d52, < 9a87375bb586515c0af63d5dcdcd58ec4acf20a6; >= f3ec4f87d607f40497afdb5ac03f11e2ea253d52, < 47d8aafcfe313511a98f165a54d0adceb34e54b1; >= f3ec4f87d607f40497afdb5ac03f11e2ea253d52, < bbe068b24409ef740657215605284fc7cdddd491; >= f3ec4f87d607f40497afdb5…
Fixed in: Linux 9a87375bb586515c0af63d5dcdcd58ec4acf20a6, Linux 47d8aafcfe313511a98f165a54d0adceb34e54b1, Linux 7cc94dd36e48879e76ae7a8daea4ff322b7d9674, Linux 900b81caf00c89417172afe0e7e49ac4eb110f4b, Linux 6347348c6aba52dda0b33296684cbb627bdc6970, Linux 9d5286d4e7f68beab450deddbb6a32edd5ecf4bf

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2024-35809 being exploited?

There is no confirmed exploitation: CVE-2024-35809 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.26% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2024-35809?

Medium: CVSS 5.5 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

Which versions are affected by CVE-2024-35809?

Linux >= f3ec4f87d607f40497afdb5ac03f11e2ea253d52, < 9a87375bb586515c0af63d5dcdcd58ec4acf20a6; >= f3ec4f87d607f40497afdb5ac03f11e2ea253d52, < 47d8aafcfe313511a98f165a54d0adceb34e54b1; >= f3ec4f87d607f40497afdb5ac03f11e2ea253d52, < bbe068b24409ef740657215605284fc7cdddd491; >= f3ec4f87d607f40497afdb5ac03f11e2ea253d52, < 7cc94dd36e48879e76ae7a8daea4ff322b7d9674; >= f3ec4f87d607f40497afdb5ac03f11e2ea253d52, < 900b81caf00c89417172afe0e7e49ac4eb110f4b; >= f3ec4f87d607f40497afdb5ac03f11e2ea253d52, < d86ad8c3e152349454b82f37007ff6ba45f26989; >= f3ec4f87d607f40497afdb5ac03f11e2ea253d52, < d534198311c345e4b062c4b88bb609efb8bd91d5; >= f3ec4f87d607f40497afdb5ac03f11e2ea253d52, < 6347348c6aba52dda0b33296684cbb627bdc6970; >= f3ec4f87d607f40497afdb5ac03f11e2ea253d52, < 9d5286d4e7f68beab450deddbb6a32edd5ecf4bf; Linux 2.6.36.

Is there a fix for CVE-2024-35809?

Yes. Fixed in Linux 9a87375bb586515c0af63d5dcdcd58ec4acf20a6, Linux 47d8aafcfe313511a98f165a54d0adceb34e54b1, Linux 7cc94dd36e48879e76ae7a8daea4ff322b7d9674, Linux 900b81caf00c89417172afe0e7e49ac4eb110f4b, Linux 6347348c6aba52dda0b33296684cbb627bdc6970, Linux 9d5286d4e7f68beab450deddbb6a32edd5ecf4bf. Upgrade Linux to 9d5286d4e7f68beab450deddbb6a32edd5ecf4bf or later.

How do I check if I'm affected by CVE-2024-35809?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors