CVE-2024-56699: s390/pci: Fix potential double remove of hotplug slot

Published Dec 28, 2024
·
Updated

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 zpciexitslot() was moved from zpcidevicereserved() to zpcireleasedevice() with the intention of keeping the hotplug slot around until the device is actually removed.

Now zpcireleasedevice() 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 zpcireleasedevice() 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 WARNON() if a device in non-reserved state is released and get rid of the dead code cases.

Affected Software

4 affected componentsFixes available
Linux Linux kernel
debian/linux
5.10.223-15.10.234-16.1.129-16.1.135-16.12.22-16.12.25-1
Linux Linux kernel>=6.9<6.11.11
Linux Linux kernel>=6.12<6.12.2

Event History

Dec 28, 2024
CVE Published
via MITRE·09:46 AM
Data Sourced
via MITRE·09:46 AM
Description
Data Sourced
via NVD·10:15 AM
Description
Data Sourced
via NVD·10:15 AM
RemedySeverityWeaknessAffected Software
Mar 28, 2025
Data Sourced
via Ubuntu·01:05 AM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2024-56699?

The severity of CVE-2024-56699 is categorized as medium due to its impact on the Linux kernel's handling of hotplug slots.

2

How do I fix CVE-2024-56699?

To fix CVE-2024-56699, ensure you apply the latest patches for the Linux kernel as provided by your distribution.

3

What systems are affected by CVE-2024-56699?

CVE-2024-56699 affects the Linux kernel, specifically the s390 architecture.

4

What type of vulnerability is CVE-2024-56699?

CVE-2024-56699 is a vulnerability related to the improper management of hotplug slots in the Linux kernel.

5

Is there a workaround for CVE-2024-56699?

Currently, the recommended action is to update the kernel, as no specific workaround is provided for CVE-2024-56699.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203