CVE-2022-49411 bfq: Make sure bfqg for which we are queueing requests is online
A use-after-free vulnerability in the Linux kernel BFQ scheduler allows attackers to potentially execute code or escalate privileges via crafted I/O requests.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2022-49411?
CVE-2022-49411 is a high-severity use after free vulnerability in Linux kernel, published on 26 Feb 2025. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
In the Linux kernel, the following vulnerability has been resolved:
bfq: Make sure bfqg for which we are queueing requests is online
Bios queued into BFQ IO scheduler can be associated with a cgroup that was already offlined. This may then cause insertion of this bfq_group into a service tree. But this bfq_group will get freed as soon as last bio associated with it is completed leading to use after free issues for service tree users. Fix the problem by making sure we always operate on online bfq_group. If the bfq_group associated with the bio is not online, we pick the first online parent.
Weakness: CWE-416
Which versions are affected by CVE-2022-49411?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2022-49411?
Apply the vendor's patch.
Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.
Is CVE-2022-49411 being exploited?
There is no known exploitation of CVE-2022-49411 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as DEBIAN-CVE-2022-49411, GHSA-wx6q-q8rv-cm38, UBUNTU-CVE-2022-49411.