CVE-2021-47552
kernel: blk-mq: cancel blk-mq dispatch work in both blk_cleanup_queue and disk_release()
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · May 24, 2024
Updated · August 5, 2026
Description
A vulnerability was found in the Linux kernel's block blk-mq when dispatch work was handled during queue cleanup. This issue occurs when dispatch work is not properly canceled in both the blk_cleanup_queue() and disk_release() functions, which can lead to a NULL pointer dereference if the associated SCSI device is freed before dispatch work is completed, resulting in kernel crashes and disruption in block device operations.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
CVSS / CWE
CVSS 3.1 · 4.4CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H
CWE-476 · NULL Pointer Dereference