Description
In the Linux kernel, the following vulnerability has been resolved: bfq: Update cgroup information before merging bio When the process is migrated to a different cgroup (or in case of writeback just starts submitting bios associated with a different cgroup) bfq_merge_bio() can operate with stale cgroup information in bic. Thus the bio can be merged to a request from a different cgroup or it can result in merging of bfqqs for different cgroups or bfqqs of already dead cgroups and causing possible use-after-free issues. Fix the problem by updating cgroup information in bfq_merge_bio().
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
e21b7a0b988772e82e7147e1c659a5afe2ae003c to < da9f3025d595956410ceaab2bea01980d7775948affectede21b7a0b988772e82e7147e1c659a5afe2ae003c to < b06691af08b41dfd81052a3362514d9827b44bb1affectede21b7a0b988772e82e7147e1c659a5afe2ae003c to < e8821f45612f2e6d9adb9c6ba0fb4184f57692aaaffectede21b7a0b988772e82e7147e1c659a5afe2ae003c to < d9165200c5627a2cf4408eefabdf0058bdf95e1aaffectede21b7a0b988772e82e7147e1c659a5afe2ae003c to < 2a1077f17169a6059992a0bbdb330e0abad1e6d9affectede21b7a0b988772e82e7147e1c659a5afe2ae003c to < ea591cd4eb270393810e7be01feb8fde6a34fbbeaffected
Linux Linux
Default version status: affected
4.12affected0 to < 4.12unaffected5.4.198 to ≤ 5.4.*unaffected5.10.121 to ≤ 5.10.*unaffected5.15.46 to ≤ 5.15.*unaffected5.17.14 to ≤ 5.17.*unaffected5.18.3 to ≤ 5.18.*unaffected5.19 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/da9f3025d595956410ceaab2bea01980d7775948 ↗
- https://git.kernel.org/stable/c/b06691af08b41dfd81052a3362514d9827b44bb1 ↗
- https://git.kernel.org/stable/c/e8821f45612f2e6d9adb9c6ba0fb4184f57692aa ↗
- https://git.kernel.org/stable/c/d9165200c5627a2cf4408eefabdf0058bdf95e1a ↗
- https://git.kernel.org/stable/c/2a1077f17169a6059992a0bbdb330e0abad1e6d9 ↗
- https://git.kernel.org/stable/c/ea591cd4eb270393810e7be01feb8fde6a34fbbe ↗