Linux Kernel Deferred Work Cancellation Vulnerability in libata Component

Vulnerability

A vulnerability in the Linux kernel's libata component can lead to improper handling of deferred work for SCSI commands. This issue arises because the system does not cancel pending work after clearing a deferred command queue, potentially causing command mismanagement. The vulnerability was introduced in a previous commit that aimed to improve how non-NCQ (Native Command Queuing) commands are handled, but it inadvertently created a scenario where deferred work could be executed at inappropriate times, leading to warnings and possible command processing errors.

Impact

The vulnerability can cause warnings about deferred command handling, indicating a mismanagement of SCSI command processing that could lead to errors in how commands are executed or completed.

Reproduction

The vulnerability can be reproduced by queuing multiple NCQ commands followed by a non-NCQ command, which gets stored in the deferred command queue. After the NCQ commands are completed and the deferred queue is cleared, the pending work is not canceled, leading to a situation where the deferred work is executed in the context of a different command than intended.

Remediation

Users can apply the latest patches available in the Linux kernel stable tree to address this vulnerability.

Added: Mar 25, 2026, 12:07 PM
Updated: Mar 25, 2026, 12:07 PM

Vulnerability Rating

Custom Algorithm
spread
9.0
impact
0.6
exploitability
3.9
remediation
7.7
relevance
4.7
threat
4.8
urgency
2.9
incentive
0.0

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.