Description
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.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
5066a4df1f427faac8372d20494483bb09a4a1cd to < 3508e293ffcb4ba8b9ce1f7a1fba0875affcf21baffected5066a4df1f427faac8372d20494483bb09a4a1cd to < 3725f3f0e2d2b54732df83fc7e8a285193d8cc1aaffected5066a4df1f427faac8372d20494483bb09a4a1cd to < 00954aa66791f1e40f3f877ef2b570df0c0fd988affected5066a4df1f427faac8372d20494483bb09a4a1cd to < d8054c8c828d5a2e5731c7a5bd73b682c68b7fccaffected5066a4df1f427faac8372d20494483bb09a4a1cd to < c4fb45611877818aab889006d88e9f87db7cac02affected5066a4df1f427faac8372d20494483bb09a4a1cd to < 0550d3b14e008b033b02cfce668008ec6addffe4affected
Linux Linux
Default version status: affected
3.14affected0 to < 3.14unaffected5.10.276 to ≤ 5.10.*unaffected5.15.227 to ≤ 5.15.*unaffected6.12.120 to ≤ 6.12.*unaffected6.18.66 to ≤ 6.18.*unaffected7.3.7 to ≤ 7.3.*unaffected7.4-rc3 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/3508e293ffcb4ba8b9ce1f7a1fba0875affcf21b ↗
- https://git.kernel.org/stable/c/3725f3f0e2d2b54732df83fc7e8a285193d8cc1a ↗
- https://git.kernel.org/stable/c/00954aa66791f1e40f3f877ef2b570df0c0fd988 ↗
- https://git.kernel.org/stable/c/d8054c8c828d5a2e5731c7a5bd73b682c68b7fcc ↗
- https://git.kernel.org/stable/c/c4fb45611877818aab889006d88e9f87db7cac02 ↗
- https://git.kernel.org/stable/c/0550d3b14e008b033b02cfce668008ec6addffe4 ↗