# CVE-2022-49413: bfq: Update cgroup information before merging bio

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.29%, higher than 23% of CVEs (2026-12-01)
- Published: 2025-02-26T02:12:34.604Z
- Modified: 2026-08-05T08:55:07.478Z
- Weaknesses: CWE-416
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: Linux

## 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().

(As written by CVE List.)

## Affected

- Linux Linux: from e21b7a0b988772e82e7147e1c659a5afe2ae003c before da9f3025d595956410ceaab2bea01980d7775948; from e21b7a0b988772e82e7147e1c659a5afe2ae003c before b06691af08b41dfd81052a3362514d9827b44bb1; from e21b7a0b988772e82e7147e1c659a5afe2ae003c before e8821f45612f2e6d9adb9c6ba0fb4184f57692aa; from e21b7a0b988772e82e7147e1c659a5afe2ae003c before d9165200c5627a2cf4408eefabdf0058bdf95e1a; from e21b7a0b988772e82e7147e1c659a5afe2ae003c before 2a1077f17169a6059992a0bbdb330e0abad1e6d9; from e21b7a0b988772e82e7147e1c659a5afe2ae003c before ea591cd4eb270393810e7be01feb8fde6a34fbbe; 4.12 (not affected: before 4.12; from 5.4.198 up to 5.4.*; from 5.10.121 up to 5.10.*; from 5.15.46 up to 5.15.*; from 5.17.14 up to 5.17.*; from 5.18.3 up to 5.18.*; from 5.19 up to *)
- linux linux_kernel: from 4.12 before 5.4.198; from 5.5 before 5.10.121; from 5.11 before 5.15.46; from 5.16 before 5.17.14; from 5.18 before 5.18.3

## Every score

- Linux: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- CISA-ADP: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://git.kernel.org/stable/c/da9f3025d595956410ceaab2bea01980d7775948> (patch)
- <https://git.kernel.org/stable/c/b06691af08b41dfd81052a3362514d9827b44bb1> (patch)
- <https://git.kernel.org/stable/c/e8821f45612f2e6d9adb9c6ba0fb4184f57692aa> (patch)
- <https://git.kernel.org/stable/c/d9165200c5627a2cf4408eefabdf0058bdf95e1a> (patch)
- <https://git.kernel.org/stable/c/2a1077f17169a6059992a0bbdb330e0abad1e6d9> (patch)
- <https://git.kernel.org/stable/c/ea591cd4eb270393810e7be01feb8fde6a34fbbe> (patch)

## Sources

- CVE List: [CVE-2022-49413](https://www.cve.org/CVERecord?id=CVE-2022-49413), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2022-49413](https://nvd.nist.gov/vuln/detail/CVE-2022-49413), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-49413 · Whole record: https://cve.day/CVE-2022-49413.json · Rebuilt by cve.day 2026-11-25T22:58:20.512Z
