Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2026-23355

MEDIUM 5.5EPSS 5%

ata: libata: cancel pending work after clearing deferred_qc

Mitigation

  • Upgrade Linux to 6.2 or later.
  • Upgrade Linux to 6.19.7 or later.

Who should check

  • Anyone running Linux >= ce22aaed011206fed9cbd8c9c2d44718607f31ee, < 0d12453818c35e1ded84633152c6b05002ae48b9; >= 888cd7e40adb2ef4af1b4d3b6e2e83ad409ae8c2, < 6c5e8f16b5e8e614e829aaf38619bdd79107bb0a; >= 5d61a38a60e62750526d94663b69b7ac5c7f07a5, < 58e658763ba2aa9168d8516b98a6314d7461a53e; >= 0ea84089dbf62a92dc7889c79e6b18fc89260808, < aac9b27f7c1f2b2cf7f50a9ca633ecbbcaf22af9; c475bfce918dc413c4d59b97710b94b1c955ea5f; 33abac5b5a5303ba2c66d89e063a806033be07fc; 21e0d7a15a789e99be89231dae25cb6ffc482a7c; >= 6.1.191, < 6.2
  • Anyone running Linux >= 6.18.14, < 6.18.18; >= 6.19.4, < 6.19.7

Vulnerability facts

Affected
Linux >= ce22aaed011206fed9cbd8c9c2d44718607f31ee, < 0d12453818c35e1ded84633152c6b05002ae48b9; >= 888cd7e40adb2ef4af1b4d3b6e2e83ad409ae8c2, < 6c5e8f16b5e8e614e829aaf38619bdd79107bb0a; >= 5d61a38a60e62750526d94663b69b7ac5c7f07a5, < 58e658763ba2aa9168d8516b98a6314d7461a53e; >= 0ea84089dbf62a92dc7889c79e6b18fc89260808, < aac9b27f7c1f2b2cf7f50a9ca633ecbbcaf22af9; c475bfce918dc413c4d59b97710b94b1c955ea5f; 33abac5b5a5303ba2c66d89e063a806033be07fc; 21e0d7a15a789e99be89231dae25cb6ffc482a7c; >= 6.1.191, < 6.2; Linux >= 6.18.14, < 6.18.18; >= 6.19.4, < 6.19.7
Fixed in
Linux 0d12453818c35e1ded84633152c6b05002ae48b9, Linux 6c5e8f16b5e8e614e829aaf38619bdd79107bb0a, Linux 58e658763ba2aa9168d8516b98a6314d7461a53e, Linux 6.2, Linux 6.18.18, Linux 6.19.7
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
5.5 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 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
EPSS
0.19% chance of exploitation in 30 days (percentile 5, 2026-11-26)
Published
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: ata: libata: cancel pending work after clearing deferred_qc Syzbot reported a WARN_ON() in ata_scsi_deferred_qc_work(), caused by ap->ops->qc_defer() returning non-zero before issuing the deferred qc. ata_scsi_schedule_deferred_qc() is called during each command completion. This function will check if there is a deferred QC, and if ap->ops->qc_defer() returns zero, meaning that it is possible to queue the deferred qc at this time (without being deferred), then it will queue the work which will issue the deferred qc. Once the work get to run, which can potentially be a very long time after the work was scheduled, there is a WARN_ON() if ap->ops->qc_defer() returns non-zero. While we hold the ap->lock both when assigning and clearing deferred_qc, and the work itself holds the ap->lock, the code currently does not cancel the work after clearing the deferred qc. This means that the following scenario can happen: 1) One or several NCQ commands are queued. 2) A non-NCQ command is queued, gets stored in ap->deferred_qc. 3) Last NCQ command gets completed, work is queued to issue the deferred qc. 4) Timeout or error happens, ap->deferred_qc is cleared. The queued work is currently NOT canceled. 5) Port is reset. 6) One or several NCQ commands are queued. 7) A non-NCQ command is queued, gets stored in ap->deferred_qc. 8) Work is finally run. Yet at this time, there is still NCQ commands in flight. The work in 8) really belongs to the non-NCQ command in 2), not to the non-NCQ command in 7). The reason why the work is executed when it is not supposed to, is because it was never canceled when ap->deferred_qc was cleared in 4). Thus, ensure that we always cancel the work after clearing ap->deferred_qc. Another potential fix would have been to let ata_scsi_deferred_qc_work() do nothing if ap->ops->qc_defer() returns non-zero. However, canceling the work when clearing ap->deferred_qc seems slightly more logical, as we hold the ap->lock when clearing ap->deferred_qc, so we know that the work cannot be holding the lock. (The function could be waiting for the lock, but that is okay since it will do nothing if ap->deferred_qc is not set.)

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= ce22aaed011206fed9cbd8c9c2d44718607f31ee, < 0d12453818c35e1ded84633152c6b05002ae48b9; >= 888cd7e40adb2ef4af1b4d3b6e2e83ad409ae8c2, < 6c5e8f16b5e8e614e829aaf38619bdd79107bb0a; >= 5d61a38a60e62750526d94663b69b7ac5c7f07a5, < 58e658763ba2aa9168d8516b98a6314d7461a53e; >= 0ea84089dbf62a92dc7889c79e6b18fc89260808, < aac9b27f7c1f2b2cf7f50a9ca633ecbbcaf22af9; c475bfce918dc413c4d59b97710b94b1c955ea5f; 33abac5b5a5303ba2c66d89e063a806033be07fc; 21e0d7a15a789e99be89231dae25cb6ffc482a7c; >= 6.1.191, < 6.2—cvelist
Linux>= 6.18.14, < 6.18.18; >= 6.19.4, < 6.19.7—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

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

Details: https://flawdb.com/CVE-2026-23355.md
Affected: Linux >= ce22aaed011206fed9cbd8c9c2d44718607f31ee, < 0d12453818c35e1ded84633152c6b05002ae48b9; >= 888cd7e40adb2ef4af1b4d3b6e2e83ad409ae8c2, < 6c5e8f16b5e8e614e829aaf38619bdd79107bb0a; >= 5d61a38a60e62750526d94663b69b7ac5c7f07a5, < 58e658763ba2aa9168d8516b98a6314d7461a53e; >= 0ea84089dbf62a92dc7889c…
Fixed in: Linux 0d12453818c35e1ded84633152c6b05002ae48b9, Linux 6c5e8f16b5e8e614e829aaf38619bdd79107bb0a, Linux 58e658763ba2aa9168d8516b98a6314d7461a53e, Linux 6.2, Linux 6.18.18, Linux 6.19.7

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.

References

FAQ

Is CVE-2026-23355 being exploited?

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

How serious is CVE-2026-23355?

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

Which versions are affected by CVE-2026-23355?

Linux >= ce22aaed011206fed9cbd8c9c2d44718607f31ee, < 0d12453818c35e1ded84633152c6b05002ae48b9; >= 888cd7e40adb2ef4af1b4d3b6e2e83ad409ae8c2, < 6c5e8f16b5e8e614e829aaf38619bdd79107bb0a; >= 5d61a38a60e62750526d94663b69b7ac5c7f07a5, < 58e658763ba2aa9168d8516b98a6314d7461a53e; >= 0ea84089dbf62a92dc7889c79e6b18fc89260808, < aac9b27f7c1f2b2cf7f50a9ca633ecbbcaf22af9; c475bfce918dc413c4d59b97710b94b1c955ea5f; 33abac5b5a5303ba2c66d89e063a806033be07fc; 21e0d7a15a789e99be89231dae25cb6ffc482a7c; >= 6.1.191, < 6.2; Linux >= 6.18.14, < 6.18.18; >= 6.19.4, < 6.19.7.

Is there a fix for CVE-2026-23355?

Yes. Fixed in Linux 0d12453818c35e1ded84633152c6b05002ae48b9, Linux 6c5e8f16b5e8e614e829aaf38619bdd79107bb0a, Linux 58e658763ba2aa9168d8516b98a6314d7461a53e, Linux 6.2, Linux 6.18.18, Linux 6.19.7. Upgrade Linux to 6.2 or later. Upgrade Linux to 6.19.7 or later.

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

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.

Sponsors