# CVE-2026-45855: ata: libata-scsi: avoid Non-NCQ command starvation

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.17% (percentile 4, 2026-11-26)
- **Published:** 2026-05-27T12:15:31.080Z
- **Modified:** 2026-11-06T16:18:47.857Z

## Who should check

- Anyone running Linux \>= bdb01301f3ea51a59eff252b06643fc1fe843e57, \< c475bfce918dc413c4d59b97710b94b1c955ea5f; \>= bdb01301f3ea51a59eff252b06643fc1fe843e57, \< ce22aaed011206fed9cbd8c9c2d44718607f31ee; \>= bdb01301f3ea51a59eff252b06643fc1fe843e57, \< 888cd7e40adb2ef4af1b4d3b6e2e83ad409ae8c2; \>= bdb01301f3ea51a59eff252b06643fc1fe843e57, \< 5d61a38a60e62750526d94663b69b7ac5c7f07a5; \>= bdb01301f3ea51a59eff252b06643fc1fe843e57, \< 0ea84089dbf62a92dc7889c79e6b18fc89260808
- Anyone running Linux 5.10

## Description

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.

## Affected and fixed versions

- Linux: \>= bdb01301f3ea51a59eff252b06643fc1fe843e57, \< c475bfce918dc413c4d59b97710b94b1c955ea5f; \>= bdb01301f3ea51a59eff252b06643fc1fe843e57, \< ce22aaed011206fed9cbd8c9c2d44718607f31ee; \>= bdb01301f3ea51a59eff252b06643fc1fe843e57, \< 888cd7e40adb2ef4af1b4d3b6e2e83ad409ae8c2; \>= bdb01301f3ea51a59eff252b06643fc1fe843e57, \< 5d61a38a60e62750526d94663b69b7ac5c7f07a5; \>= bdb01301f3ea51a59eff252b06643fc1fe843e57, \< 0ea84089dbf62a92dc7889c79e6b18fc89260808 (cvelist)
- Linux: 5.10 (cvelist)

## Mitigation

- Upgrade Linux to 0ea84089dbf62a92dc7889c79e6b18fc89260808 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-45855. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-45855.md
Affected: Linux >= bdb01301f3ea51a59eff252b06643fc1fe843e57, < c475bfce918dc413c4d59b97710b94b1c955ea5f; >= bdb01301f3ea51a59eff252b06643fc1fe843e57, < ce22aaed011206fed9cbd8c9c2d44718607f31ee; >= bdb01301f3ea51a59eff252b06643fc1fe843e57, < 888cd7e40adb2ef4af1b4d3b6e2e83ad409ae8c2; >= bdb01301f3ea51a59eff252…
Fixed in: Linux 888cd7e40adb2ef4af1b4d3b6e2e83ad409ae8c2, Linux 5d61a38a60e62750526d94663b69b7ac5c7f07a5, Linux 0ea84089dbf62a92dc7889c79e6b18fc89260808

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-45855 being exploited?

There is no confirmed exploitation: CVE-2026-45855 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.17% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-45855?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-45855?

Linux \>= bdb01301f3ea51a59eff252b06643fc1fe843e57, \< c475bfce918dc413c4d59b97710b94b1c955ea5f; \>= bdb01301f3ea51a59eff252b06643fc1fe843e57, \< ce22aaed011206fed9cbd8c9c2d44718607f31ee; \>= bdb01301f3ea51a59eff252b06643fc1fe843e57, \< 888cd7e40adb2ef4af1b4d3b6e2e83ad409ae8c2; \>= bdb01301f3ea51a59eff252b06643fc1fe843e57, \< 5d61a38a60e62750526d94663b69b7ac5c7f07a5; \>= bdb01301f3ea51a59eff252b06643fc1fe843e57, \< 0ea84089dbf62a92dc7889c79e6b18fc89260808; Linux 5.10.

### Is there a fix for CVE-2026-45855?

Yes. Fixed in Linux 888cd7e40adb2ef4af1b4d3b6e2e83ad409ae8c2, Linux 5d61a38a60e62750526d94663b69b7ac5c7f07a5, Linux 0ea84089dbf62a92dc7889c79e6b18fc89260808. Upgrade Linux to 0ea84089dbf62a92dc7889c79e6b18fc89260808 or later.

### How do I check if I'm affected by CVE-2026-45855?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/ce22aaed011206fed9cbd8c9c2d44718607f31ee>
- patch: <https://git.kernel.org/stable/c/888cd7e40adb2ef4af1b4d3b6e2e83ad409ae8c2>
- patch: <https://git.kernel.org/stable/c/5d61a38a60e62750526d94663b69b7ac5c7f07a5>
- patch: <https://git.kernel.org/stable/c/0ea84089dbf62a92dc7889c79e6b18fc89260808>
- other: <https://git.kernel.org/stable/c/c475bfce918dc413c4d59b97710b94b1c955ea5f>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-45855>

HTML: <https://flawdb.com/CVE-2026-45855> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-45855>
