Skip to main content
Network Thinking Solutions Logo

CVE-2024-56699

Linux kernel: s390/pci: Fix potential double remove of hotplug slot

All CVEs
CVE-2024-56699Published 12/28/2024

Linux kernel: s390/pci: Fix potential double remove of hotplug slot

Vendor advisory
CVSS7.8High

Overview

In the Linux kernel, the following vulnerability has been resolved: s390/pci: Fix potential double remove of hotplug slot In commit 6ee600bfbe0f ("s390/pci: remove hotplug slot when releasing the device") the zpci_exit_slot() was moved from zpci_device_reserved() to zpci_release_device() with the intention of keeping the hotplug slot around until the device is actually removed. Now zpci_release_device() is only called once all references are dropped. Since the zPCI subsystem only drops its reference once the device is in the reserved state it follows that zpci_release_device() must only deal with devices in the reserved state. Despite that it contains code to tear down from both configured and standby state. For the standby case this already includes the removal of the hotplug slot so would cause a double removal if a device was ever removed in either configured or standby state. Instead of causing a potential double removal in a case that should never happen explicitly WARN_ON() if a device in non-reserved state is released and get rid of the dead code cases.

Published
12/28/2024
Last modified
6/17/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
linux kernel
linux
≥ 6.9, < 6.11.11

Verify advisory

Source
linux kernel
linux
≥ 6.12, < 6.12.2

Verify advisory

Source
Linux
Linux
≥ 6ee600bfbe0f818ffb7748d99e9b0c89d0d9f02a, < c1489651071ab1be46d2af1da8adb15c9fc3c069

Verify advisory

Source
Linux
Linux
≥ 6ee600bfbe0f818ffb7748d99e9b0c89d0d9f02a, < 371bd905599d18da62d75e3974acbf6a41e315c7

Verify advisory

Source
Linux
Linux
≥ 6ee600bfbe0f818ffb7748d99e9b0c89d0d9f02a, < c4a585e952ca403a370586d3f16e8331a7564901

Verify advisory

Source
Linux
Linux
6.9

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 7.8. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.