linux: In the Linux kernel, the following vulnerability has been resolved: scsi: core: Move scsi_host_busy() out of host lo...
CVE-2024-26627 is fixed in 22 products on 1 platform, first by ALAS2023-2024-517, released February 15, 2024. It is not reported as exploited. Patch Radar priority: Routine.
In the Linux kernel, the following vulnerability has been resolved: scsi: core: Move scsi_host_busy() out of host lock for waking up EH handler Inside scsi_eh_wakeup(), scsi_host_busy() 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 scsi_host_busy() iterates over (N * M) tag/requests If recovery is triggered in case that all requests are in-flight, each scsi_eh_wakeup() is strictly serialized, when scsi_eh_wakeup() is called for the last in-flight request, scsi_host_busy() has been run for (N * M - 1) times, and request has been iterated for (N*M - 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 scsi_host_busy() 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]
Where it's fixed
| Product | Fixed in | Fix | Released |
|---|---|---|---|
| Linux | |||
| bpftool · amzn 2023 | 6.1.77-99.164.amzn2023 | ALAS2023-2024-517 | Feb 15, 2024 |
| bpftool-debuginfo · amzn 2023 | 6.1.77-99.164.amzn2023 | ALAS2023-2024-517 | Feb 15, 2024 |
| kernel · amzn 2023 | 6.1.77-99.164.amzn2023 | ALAS2023-2024-517 | Feb 15, 2024 |
| kernel-debuginfo · amzn 2023 | 6.1.77-99.164.amzn2023 | ALAS2023-2024-517 | Feb 15, 2024 |
| kernel-debuginfo-common-aarch64 · amzn 2023 | 6.1.77-99.164.amzn2023 | ALAS2023-2024-517 | Feb 15, 2024 |
| kernel-debuginfo-common-x86_64 · amzn 2023 | 6.1.77-99.164.amzn2023 | ALAS2023-2024-517 | Feb 15, 2024 |
| kernel-devel · amzn 2023 | 6.1.77-99.164.amzn2023 | ALAS2023-2024-517 | Feb 15, 2024 |
| kernel-headers · amzn 2023 | 6.1.77-99.164.amzn2023 | ALAS2023-2024-517 | Feb 15, 2024 |
| kernel-libbpf · amzn 2023 | 6.1.77-99.164.amzn2023 | ALAS2023-2024-517 | Feb 15, 2024 |
| kernel-libbpf-devel · amzn 2023 | 6.1.77-99.164.amzn2023 | ALAS2023-2024-517 | Feb 15, 2024 |
| kernel-libbpf-static · amzn 2023 | 6.1.77-99.164.amzn2023 | ALAS2023-2024-517 | Feb 15, 2024 |
| kernel-livepatch-6.1.77-99.164 · amzn 2023 | 1.0-0.amzn2023 | ALAS2023-2024-517 | Feb 15, 2024 |
| kernel-modules-extra · amzn 2023 | 6.1.77-99.164.amzn2023 | ALAS2023-2024-517 | Feb 15, 2024 |
| kernel-modules-extra-common · amzn 2023 | 6.1.77-99.164.amzn2023 | ALAS2023-2024-517 | Feb 15, 2024 |
| kernel-tools · amzn 2023 | 6.1.77-99.164.amzn2023 | ALAS2023-2024-517 | Feb 15, 2024 |
| kernel-tools-debuginfo · amzn 2023 | 6.1.77-99.164.amzn2023 | ALAS2023-2024-517 | Feb 15, 2024 |
| kernel-tools-devel · amzn 2023 | 6.1.77-99.164.amzn2023 | ALAS2023-2024-517 | Feb 15, 2024 |
| linux · Debian 12.15 (bookworm) | 6.1.82-1 | DEBIAN-CVE-2024-26627 | Mar 6, 2024 |
| linux · Debian 13.5 (trixie) | 6.7.7-1 | DEBIAN-CVE-2024-26627 | Mar 6, 2024 |
| linux · Debian 14 | 6.7.7-1 | DEBIAN-CVE-2024-26627 | Mar 6, 2024 |
| perf · amzn 2023 | 6.1.77-99.164.amzn2023 | ALAS2023-2024-517 | Feb 15, 2024 |
| perf-debuginfo · amzn 2023 | 6.1.77-99.164.amzn2023 | ALAS2023-2024-517 | Feb 15, 2024 |
| python3-perf · amzn 2023 | 6.1.77-99.164.amzn2023 | ALAS2023-2024-517 | Feb 15, 2024 |
| python3-perf-debuginfo · amzn 2023 | 6.1.77-99.164.amzn2023 | ALAS2023-2024-517 | Feb 15, 2024 |
Patch Radar data is free to use with attribution. Terms and how to credit it.
Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.