CVE-2022-49413

bfq: Update cgroup information before merging bio

HIGH
7.8
CVSS Score
Published: February 26, 2025 at 02:12 AM UTC
Updated: August 5, 2026 at 09:24 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.8
Exploit prediction
EPSS 0.3%
SSVC
No known exploit

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

4.12 ≤ v < 5.10.1214.12 ≤ v < 5.15.464.12 ≤ v < 5.17.144.12 ≤ v < 5.18.34.12 ≤ v < 5.194.12 ≤ v < 5.4.1985.11 ≤ v < 5.15.465.16 ≤ v < 5.17.145.18 ≤ v < 5.18.35.5 ≤ v < 5.10.1214.12e21b7a0b988772e82e7147e1c659a5afe2ae003c
Vendor states this is fixed in 2a1077f17169a6059992a0bbdb330e0abad1e6d9 (fixed)
Vendor states this is fixed in b06691af08b41dfd81052a3362514d9827b44bb1 (fixed)
Vendor states this is fixed in d9165200c5627a2cf4408eefabdf0058bdf95e1a (fixed)
Vendor states this is fixed in da9f3025d595956410ceaab2bea01980d7775948 (fixed)
Vendor states this is fixed in e8821f45612f2e6d9adb9c6ba0fb4184f57692aa (fixed)
Vendor states this is fixed in ea591cd4eb270393810e7be01feb8fde6a34fbbe (fixed)
Vendor states this is fixed in 4.12 (unaffected)
Vendor states this is fixed in 5.10.121 (unaffected)
Vendor states this is fixed in 5.15.46 (unaffected)
Vendor states this is fixed in 5.17.14 (unaffected)
Vendor states this is fixed in 5.18.3 (unaffected)
Vendor states this is fixed in 5.19 (unaffected)
Vendor states this is fixed in 5.4.198 (unaffected)

References (6)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/2a1077f17169a6059992a0bbdb330e0abad1e6d9
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/b06691af08b41dfd81052a3362514d9827b44bb1
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/d9165200c5627a2cf4408eefabdf0058bdf95e1a
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/da9f3025d595956410ceaab2bea01980d7775948
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/e8821f45612f2e6d9adb9c6ba0fb4184f57692aa
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/ea591cd4eb270393810e7be01feb8fde6a34fbbe

SSVC — Action Prioritization

SSVCNo known exploitNot automatableTotal impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

7.8HIGHLinux
Vector?

Quick Info

StatusANALYZED
CWE
CWE-416

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card