CVE-2022-49413·Kernel vulnerability
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().
- Severity
- high
- Software
- Kernel
- Fixed in
- 5.18.3
- Published
How likely is exploitation
FIRST's Exploit Prediction Scoring System puts the probability of this CVE being exploited in the next 30 days at <0.1% — higher than 11% of all published CVEs. EPSS is an independent forecast of exploitation, not a severity rating: it says nothing about how much damage a successful attack does, which is what a CVSS score measures.
Read the two together. CVE-2022-49413 scores 7.8 on CVSS, so a successful attack would be serious — but at <0.1%, almost nobody is currently attempting it. That is a different situation from a flaw under mass exploitation, and it is usually the difference between patching on your next maintenance window and patching tonight.
Affected versions
From: 5.18
Until: 5.18.3
Fixed in: 5.18.3
How to fix this CVE
Update your Linux kernel to version 5.18.3 or later to resolve a cgroup information management flaw in the BFQ I/O scheduler. This vulnerability allows bio requests to be incorrectly merged across different cgroups, potentially leading to use-after-free conditions. Systems running kernel versions 5.18 through 5.18.2 should prioritize this update.
sudo dnf update kernel kernel-develDefensia detects this vulnerability
How to check if you are affected
- Step 1: Check your kernel version with `uname -r` and verify if it falls in the 5.18.0–5.18.2 range
- Step 2: Confirm BFQ scheduler is active by running `cat /sys/block/sda/queue/scheduler` and checking if 'bfq' appears
- Step 3: Search kernel logs for cgroup-related errors with `dmesg | grep -i 'cgroup\|bfq\|use-after-free'`
- Step 4: After patching, confirm the new kernel version with `uname -r` shows 5.18.3 or later
FAQ
What is CVE-2022-49413?
This vulnerability affects the BFQ I/O scheduler in the Linux kernel, where stale cgroup information causes bio requests to be merged into requests belonging to different cgroups, potentially triggering use-after-free memory issues.
Is CVE-2022-49413 being actively exploited?
No, this CVE is not listed on the CISA KEV catalog and has no known public exploits available.
What versions of Kernel are affected by CVE-2022-49413?
Linux kernel versions 5.18.0 through 5.18.2 are vulnerable; version 5.18.3 and later contain the fix.
How do I check if my server is vulnerable to CVE-2022-49413?
Run `uname -r` to display your kernel version. If it shows 5.18.0, 5.18.1, or 5.18.2, your system is vulnerable and requires an immediate kernel update.
Does Defensia detect CVE-2022-49413?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If the Linux kernel is installed on a monitored server, CVE-2022-49413 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/2a1077f17169a6059992a0bbdb330e0abad1e6d9
- https://git.kernel.org/stable/c/b06691af08b41dfd81052a3362514d9827b44bb1
- https://git.kernel.org/stable/c/d9165200c5627a2cf4408eefabdf0058bdf95e1a
- https://git.kernel.org/stable/c/da9f3025d595956410ceaab2bea01980d7775948
- https://git.kernel.org/stable/c/e8821f45612f2e6d9adb9c6ba0fb4184f57692aa
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2022-49413. Free for 1 server.
Get started free