CVE-2022-49413
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2022-49413 is a vulnerability in the Linux kernel's BFQ (Budget Fair Queueing) I/O scheduler that was discovered and disclosed in February 2025. The vulnerability affects the cgroup information handling in the bfqmergebio() function. When a process is migrated to a different cgroup, or during writeback operations that submit bios associated with a different cgroup, the function can operate with stale cgroup information (NVD).

Technical details

The vulnerability occurs in the Linux kernel's block I/O scheduling subsystem, specifically in the BFQ scheduler's bio merging functionality. The issue arises when bfqmergebio() operates with outdated cgroup information in the bic (Block I/O Controller) structure. This can lead to incorrect merging of requests from different cgroups or interaction with already deallocated cgroup structures. The vulnerability has been assigned a CVSS v3.1 base score of 7.8 (HIGH) with the vector string CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H, indicating local access requirements but high potential impact (NVD).

Impact

The vulnerability can result in bio merging with requests from incorrect cgroups and potential merging of bfqqs (BFQ Queue Sets) belonging to different or already deallocated cgroups. This can lead to use-after-free issues, which could potentially result in system crashes or memory corruption (Kernel Commit).

Mitigation and workarounds

The vulnerability has been fixed by updating the cgroup information in bfqmergebio() before performing any merge operations. The fix involves calling bfqbicupdate_cgroup() to ensure current cgroup information is used. The patch has been merged into the Linux kernel and is being backported to various stable kernel versions (Kernel Commit).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

“Best User Experience I have ever seen, provides full visibility to cloud workloads.”
David EstlickCISO
“Wiz provides a single pane of glass to see what is going on in our cloud environments.”
Adam FletcherChief Security Officer
“We know that if Wiz identifies something as critical, it actually is.”
Greg PoniatowskiHead of Threat and Vulnerability Management