Bug 2283397 (CVE-2021-47552) - CVE-2021-47552 kernel: blk-mq: cancel blk-mq dispatch work in both blk_cleanup_queue and disk_release()
Summary: CVE-2021-47552 kernel: blk-mq: cancel blk-mq dispatch work in both blk_cleanu...
Keywords:
Status: NEW
Alias: CVE-2021-47552
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 2283496
TreeView+ depends on / blocked
 
Reported: 2024-05-27 09:48 UTC by ybuenos
Modified: 2024-09-27 16:26 UTC (History)
50 users (show)

Fixed In Version: kernel 5.15.6, kernel 5.16
Doc Type: If docs needed, set a value
Doc Text:
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.
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description ybuenos 2024-05-27 09:48:29 UTC
In the Linux kernel, the following vulnerability has been resolved:

blk-mq: cancel blk-mq dispatch work in both blk_cleanup_queue and disk_release()

The Linux kernel CVE team has assigned CVE-2021-47552 to this issue.

Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2024052442-CVE-2021-47552-99f3@gregkh/T

Comment 2 Alex 2024-06-09 15:45:53 UTC
The result of automatic check (that is developed by Alexander Larkin) for this CVE-2021-47552 is: CHECK	Maybe valid. Check manually. with impact MODERATE (that is approximation based on flags DANGER NULLPTR DISK INIT  ; these flags parsed automatically based on patche data). Such automatic check happens only for Low/Moderates (and only when not from reporter, but parsing already existing CVE). Highs always checked manually (I check it myself and then we check it again in Remediation team). In rare cases some of the Moderates could be increased to High later.


Note You need to log in before you can comment on or make changes to this bug.