In the Linux kernel, the following vulnerability has been resolved: dm log userspace: drop the device reference on error userspace_ctr() takes a reference on the log device with dm_get_device(). When the integrated-flush workqueue allocation fails it jumps to the shared error path, which frees the log context without dropping that reference, so the device stays busy and cannot be removed. userspace_dtr() drops the reference correctly; do the same here.
https://git.kernel.org/stable/c/d8054c8c828d5a2e5731c7a5bd73b682c68b7fcc
https://git.kernel.org/stable/c/c4fb45611877818aab889006d88e9f87db7cac02
https://git.kernel.org/stable/c/3725f3f0e2d2b54732df83fc7e8a285193d8cc1a
https://git.kernel.org/stable/c/3508e293ffcb4ba8b9ce1f7a1fba0875affcf21b
https://git.kernel.org/stable/c/0550d3b14e008b033b02cfce668008ec6addffe4
https://git.kernel.org/stable/c/00954aa66791f1e40f3f877ef2b570df0c0fd988