In the Linux kernel, the following vulnerability has been resolved: block: ublk: make sure that block size is set correctly block size is one very key setting for block layer, and bad block size could panic kernel easily. Make sure that block size is set correctly. Meantime if ublk_validate_params() fails, clear ub->params so that disk is prevented from being added.
https://git.kernel.org/stable/c/9dbe85ac618ef6ae60abe5dd17ae2b29065d9c1e
https://git.kernel.org/stable/c/231a49460ac0203270da2471928d392e5586370f
https://git.kernel.org/stable/c/1d1665279a845d16c93687389e364386e3fe0f38