CVE-2024-26627: scsi: core: Move scsi_host_busy() out of host lock for waking up EH handler

Published Mar 6, 2024
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

scsi: core: Move scsihostbusy() out of host lock for waking up EH handler

Inside scsiehwakeup(), scsihostbusy() is called & checked with host lock every time for deciding if error handler kthread needs to be waken up.

This can be too heavy in case of recovery, such as:

- N hardware queues

- queue depth is M for each hardware queue

- each scsihostbusy() iterates over (N M) tag/requests

If recovery is triggered in case that all requests are in-flight, each scsiehwakeup() is strictly serialized, when scsiehwakeup() is called for the last in-flight request, scsihostbusy() has been run for (N M - 1) times, and request has been iterated for (NM - 1) (N M) times.

If both N and M are big enough, hard lockup can be triggered on acquiring host lock, and it is observed on mpi3mr(128 hw queues, queue depth 8169).

Fix the issue by calling scsihostbusy() outside the host lock. We don't need the host lock for getting busy count because host the lock never covers that.

[mkp: Drop unnecessary 'busy' variables pointed out by Bart]

Affected Software

8 affected componentsFixes available
Linux Linux kernel>=5.5<5.10.210
Linux Linux kernel>=5.11<5.15.149
Linux Linux kernel>=5.16<6.1.77
Linux Linux kernel>=6.2<6.6.16
Linux Linux kernel>=6.7<6.7.4
Linux Linux kernel=6.8-rc1
Linux Linux kernel=6.8-rc2
debian/linux
5.10.223-15.10.234-16.1.129-16.1.135-16.12.25-16.12.27-1

Event History

Mar 6, 2024
CVE Published
via MITRE·06:45 AM
Data Sourced
via MITRE·06:45 AM
Description
Mar 27, 2024
Data Sourced
via Launchpad·09:56 PM
Description
May 2, 2025
Data Sourced
via Ubuntu·12:15 AM
RemedyDescriptionSeverityAffected Software
May 6, 2025
Data Sourced
via Debian·12:17 AM
DescriptionAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2024-26627?

CVE-2024-26627 is classified with a severity rating that indicates it could potentially impact system stability.

2

How do I fix CVE-2024-26627?

To fix CVE-2024-26627, update to one of the patched kernel versions such as 5.10.223-1, 5.10.226-1, 6.1.123-1, 6.1.119-1, or 6.12.10-1.

3

What systems are affected by CVE-2024-26627?

CVE-2024-26627 affects systems running specific versions of the Linux kernel packages from Debian.

4

Is CVE-2024-26627 being actively exploited?

As of now, there is no evidence to suggest that CVE-2024-26627 is being actively exploited in the wild.

5

What are the implications of CVE-2024-26627 for users?

Users may face reduced system performance or stability issues due to the implications of CVE-2024-26627, warranting an update to mitigate risks.

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