The block subsystem in the Linux kernel before 5.2 has a use-after-free that can lead to arbitrary code execution in the kernel context and privilege escalation, aka CID-c3e2219216c9. This is related to blk_mq_free_rqs and blk_cleanup_queue.
https://sites.google.com/view/syzscope/kasan-use-after-free-read-in-blk_mq_free_rqs
https://security.netapp.com/advisory/ntap-20210629-0006/
https://syzkaller.appspot.com/bug?id=36fe241584203cf394d44560a42e3430434f1213
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=c3e2219216c92919a6bd1711f340f5faa98695e6
https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.2
Source: Mitre, NVD
Published: 2021-05-14
Updated: 2023-01-24
Base Score: 7.2
Vector: CVSS2#AV:L/AC:L/Au:N/C:C/I:C/A:C
Severity: High
Base Score: 7.8
Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS: 0.00321