In the Linux kernel, the following vulnerability has been resolved: block: don't enter reclaim under rq_qos_mutex ioc_qos_write() and the wbt_lat_usec writers take rq_qos_mutex with the queue frozen, blkcg_deactivate_policy() does the same with blkcg_mutex, so nothing holding either may wait for IO. blkg_conf_prep() got GFP_NOIO for the blkg in commit 5d726c4dbeed, but the radix_tree_preload() right after it, the policy init functions and the GFP_KERNEL fallback in blkcg_activate_policy() can still enter reclaim there. lockdep reports the cycle on the first write to io.max. Use GFP_NOIO for all of them.
https://git.kernel.org/stable/c/d8d1acc226f1f4b7efd32391f703b2d43521b3cd
https://git.kernel.org/stable/c/bf274719847ecdf1c19a0af3aed087b693033f25
https://git.kernel.org/stable/c/af1420828dd88ea79c982f262821cfd30377a88b
https://git.kernel.org/stable/c/045cbfc369f5929ed473f7c200dc2e8146569ce5