CVE
CVE-2022-49413
CNA 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 versions
All Linux kernel vulnerabilities →
- ≥ 5.18, < 5.18.3Fixed in 5.18.3
- ≥ 5.16, < 5.17.14Fixed in 5.17.14
- ≥ 5.11, < 5.15.46Fixed in 5.15.46
- ≥ 5.5, < 5.10.121Fixed in 5.10.121
- ≥ 4.12, < 5.4.198Fixed in 5.4.198
Distribution packages (Debian, Ubuntu, Red Hat…) backport fixes without changing the upstream version: check your distribution’s advisory as well.
Advisories and patches
- git.kernel.org/stable/c/2a1077f17169a6059992a0bbdb330e0abad1e6d9 · Patch
- git.kernel.org/stable/c/b06691af08b41dfd81052a3362514d9827b44bb1 · Patch
- git.kernel.org/stable/c/d9165200c5627a2cf4408eefabdf0058bdf95e1a · Patch
- git.kernel.org/stable/c/da9f3025d595956410ceaab2bea01980d7775948 · Patch
- git.kernel.org/stable/c/e8821f45612f2e6d9adb9c6ba0fb4184f57692aa · Patch
- git.kernel.org/stable/c/ea591cd4eb270393810e7be01feb8fde6a34fbbe · Patch
Data: NVD (public domain), CISA KEV (CC0), FIRST EPSS, OSV.dev / GitHub Advisory Database (CC-BY 4.0) · This database lists affected versions and fixes only. It never hosts or links exploit code.