In the Linux kernel, the following vulnerability has been resolved:
ata: libata-scsi: avoid Non-NCQ command starvation
When a non-NCQ command is issued while NCQ commands are being executed, ata_scsi_qc_issue() indicates to the SCSI layer that the command issuing should be deferred by returning SCSI_MLQUEUE_XXX_BUSY. This command deferring is correct and as mandated by the ACS specifications since NCQ and non-NCQ commands cannot be mixed.
However, in the case of a host adapter using multiple submission queues, when the target device is under a constant load of NCQ commands, there are no guarantees that requeueing the non-NCQ command will be executed later and it may be deferred again repeatedly as other submission queues can constantly issue NCQ commands from different CPUs ahead of the non-NCQ command. This can lead to very long delays for the execution of non-NCQ commands, and even complete starvation for these commands in the worst case scenario.
Since the block layer and the SCSI layer do not distinguish between queueable (NCQ) and non queueable (non-NCQ) commands, libata-scsi SAT implementation must ensure forward progress for non-NCQ commands in the presence of NCQ command traffic. This is similar to what SAS HBAs with a hardware/firmware based SAT implementation do.
Implement such forward progress guarantee by limiting requeueing of non-NCQ commands from ata_scsi_qc_issue(): when a non-NCQ command is received and NCQ commands are in-flight, do not force a requeue of the non-NCQ command by returning SCSI_MLQUEUE_XXX_BUSY and instead return 0 to indicate that the command was accepted but hold on to the qc using the new deferred_qc field of struct ata_port.
This deferred qc will be issued using the work item deferred_qc_work running the function ata_scsi_deferred_qc_work() once all in-flight commands complete, which is checked with the port qc_defer() callback return value indicating that no further delay is necessary. This check is done using the helper function ata_scsi_schedule_deferred_qc() which is called from ata_scsi_qc_complete(). This thus excludes this mechanism from all internal non-NCQ commands issued by ATA EH.
When a port deferred_qc is non NULL, that is, the port has a command waiting for the device queue to drain, the issuing of all incoming commands (both NCQ and non-NCQ) is deferred using the regular busy mechanism. This simplifies the code and also avoids potential denial of service problems if a user issues too many non-NCQ commands.
Finally, whenever ata EH is scheduled, regardless of the reason, a deferred qc is always requeued so that it can be retried once EH completes. This is done by calling the function ata_scsi_requeue_deferred_qc() from ata_eh_set_pending(). This avoids the need for any special processing for the deferred qc in case of NCQ error, link or device reset, or device timeout.
CVSS Details
- CVSS 3.1 Base Score: 5.5
- CVSS 3.1 Vector: (CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H)
Covered by Rapid7
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Debian | — | Upgrade linux | Jul 23, 2026 | Jul 23, 2026 |
| Redhat_linux | — | No solution exists | Jul 17, 2026 | May 27, 2026 |
| Ubuntu | — | Upgrade linux-image-6.8.0-1059-nvidia-lowlatency-64kUpgrade linux-image-aws-6.8Upgrade linux-image-raspi-realtimeUpgrade linux-image-xilinxUpgrade linux-image-azureUpgrade linux-image-generic-64kUpgrade linux-image-6.8.0-1064-gcp-fipsUpgrade linux-image-ibm-classicUpgrade linux-image-6.8.0-1058-oracle-64kUpgrade linux-image-nvidia-tegraUpgrade linux-image-nvidia-tegra-6.8Upgrade linux-image-oem-20.04bUpgrade linux-image-oracle-64k-6.8Upgrade linux-image-raspiUpgrade linux-image-gkeop-6.8Upgrade linux-image-6.8.0-1058-oracleUpgrade linux-image-genericUpgrade linux-image-6.8.0-1059-nvidia-64kUpgrade linux-image-lowlatency-64kUpgrade linux-image-gcpUpgrade linux-image-gcp-fipsUpgrade linux-image-virtual-6.8Upgrade linux-image-fips-6.8Upgrade linux-image-6.8.0-1046-gkeopUpgrade linux-image-ibm-6.8Upgrade linux-image-nvidia-lowlatencyUpgrade linux-image-nvidiaUpgrade linux-image-6.8.0-1030-nvidia-tegraUpgrade linux-image-gcp-64k-lts-24.04Upgrade linux-image-lowlatency-64k-hwe-22.04Upgrade linux-image-azure-fips-6.8Upgrade linux-image-gcp-fips-6.8Upgrade linux-image-azure-fipsUpgrade linux-image-generic-6.8Upgrade linux-image-ibm-lts-24.04Upgrade linux-image-nvidia-tegra-rtUpgrade linux-image-oracle-lts-24.04Upgrade linux-image-aws-64k-6.8Upgrade linux-image-azure-fdeUpgrade linux-image-virtual-hwe-22.04Upgrade linux-image-gke-6.8Upgrade linux-image-oem-20.04cUpgrade linux-image-oem-22.04aUpgrade linux-image-oem-22.04bUpgrade linux-image-azure-lts-24.04Upgrade linux-image-ibmUpgrade linux-image-nvidia-64k-hwe-22.04Upgrade linux-image-generic-lpaeUpgrade linux-image-nvidia-lowlatency-6.8Upgrade linux-image-gkeopUpgrade linux-image-oem-22.04cUpgrade linux-image-raspi-realtime-6.8Upgrade linux-image-6.8.0-1061-raspiUpgrade linux-image-oem-20.04dUpgrade linux-image-6.8.0-1030-nvidia-tegra-rtUpgrade linux-image-6.8.0-1062-azure-fdeUpgrade linux-image-azure-fde-lts-24.04Upgrade linux-image-6.8.0-1059-gkeUpgrade linux-image-lowlatencyUpgrade linux-image-generic-64k-6.8Upgrade linux-image-oracle-64k-lts-24.04Upgrade linux-image-6.8.0-1059-gke-64kUpgrade linux-image-6.8.0-1059-nvidia-lowlatencyUpgrade linux-image-oem-22.04Upgrade linux-image-fipsUpgrade linux-image-gke-64kUpgrade linux-image-realtime-6.8.1Upgrade linux-image-gkeUpgrade linux-image-azure-6.8Upgrade linux-image-oracleUpgrade linux-image-nvidia-64k-6.8Upgrade linux-image-aws-fipsUpgrade linux-image-aws-64k-lts-24.04Upgrade linux-image-6.8.0-1061-aws-64kUpgrade linux-image-xilinx-6.8Upgrade linux-image-raspi-6.8Upgrade linux-image-oracle-64kUpgrade linux-image-oem-22.04dUpgrade linux-image-lowlatency-6.8Upgrade linux-image-intel-iot-realtimeUpgrade linux-image-6.8.0-1064-gcpUpgrade linux-image-oracle-6.8Upgrade linux-image-nvidia-64kUpgrade linux-image-gke-64k-6.8Upgrade linux-image-oem-20.04Upgrade linux-image-generic-64k-hwe-22.04Upgrade linux-image-azure-fde-6.8Upgrade linux-image-aws-fips-6.8Upgrade linux-image-6.8.0-1061-awsUpgrade linux-image-lowlatency-64k-6.8Upgrade linux-image-lowlatency-hwe-22.04Upgrade linux-image-xilinx-zynqmpUpgrade linux-image-nvidia-tegra-rt-6.8Upgrade linux-image-kvmUpgrade linux-image-6.8.1-1056-realtimeUpgrade linux-image-6.8.0-136-fipsUpgrade linux-image-6.8.0-1059-nvidiaUpgrade linux-image-awsUpgrade linux-image-6.8.0-1063-azure-fipsUpgrade linux-image-gcp-64kUpgrade linux-image-6.8.0-136-lowlatencyUpgrade linux-image-nvidia-lowlatency-64kUpgrade linux-image-laptop-23.10Upgrade linux-image-gcp-6.8Upgrade linux-image-generic-hwe-22.04Upgrade linux-image-aws-lts-24.04Upgrade linux-image-nvidia-6.8Upgrade linux-image-gcp-64k-6.8Upgrade linux-image-6.8.0-1061-ibmUpgrade linux-image-6.8.0-1064-gcp-64kUpgrade linux-image-6.8.0-1063-azureUpgrade linux-image-6.8.0-1033-xilinxUpgrade linux-image-nvidia-lowlatency-64k-6.8Upgrade linux-image-virtualUpgrade linux-image-realtime-hwe-22.04Upgrade linux-image-realtimeUpgrade linux-image-nvidia-hwe-22.04Upgrade linux-image-gcp-lts-24.04Upgrade linux-image-aws-64kUpgrade linux-image-6.8.0-1061-aws-fipsUpgrade linux-image-intel-iotgUpgrade linux-image-6.8.0-2050-raspi-realtimeUpgrade linux-image-6.8.0-136-lowlatency-64kUpgrade linux-image-6.8.0-136-generic-64kUpgrade linux-image-6.8.0-136-generic | Jul 21, 2026 | Jul 20, 2026 |
Prioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub