CVE-2022-49384·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: md: fix double free of io_acct_set bioset Now io_acct_set is alloc and free in personality. Remove the codes that free io_acct_set in md_free and md_stop.
- Severity
- high
- Software
- Kernel
- Fixed in
- 5.18.3
- Published
- 2025-02-26
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 double-free vulnerability in the md (RAID) subsystem's io_acct_set bioset management. This flaw can lead to memory corruption and privilege escalation when the RAID personality driver improperly manages memory allocation and deallocation. Systems running kernel versions 5.18 through 5.18.2 should prioritize this patch immediately.
sudo dnf update kernel kernel-develDefensia detects this vulnerability
How to check if you are affected
- Check your kernel version: uname -r — compare the output against 5.18.0-5.18.2; versions 5.18.3+ are patched
- Verify if md/RAID is active on your system: cat /proc/mdstat — if output shows active arrays, the vulnerable code path is loaded
- Search kernel logs for md subsystem errors: sudo journalctl -b | grep -i 'md:' or dmesg | grep -i 'md:' — look for bioset allocation failures or double-free warnings
- Confirm the fix: uname -r should show 5.18.3 or higher; additionally verify via: cat /proc/version | grep -oP '\d+\.\d+\.\d+' and confirm the patch level
FAQ
What is CVE-2022-49384?
CVE-2022-49384 is a double-free memory corruption vulnerability in the Linux kernel's RAID (md) subsystem where the io_acct_set bioset is incorrectly freed in multiple code paths, potentially allowing local privilege escalation.
Is CVE-2022-49384 being actively exploited?
No, CVE-2022-49384 is not listed in CISA's Known Exploited Vulnerabilities catalog and no public exploits are currently available, though the vulnerability poses significant risk due to its high CVSS score of 7.8.
What versions of Kernel are affected by CVE-2022-49384?
Linux kernel versions 5.18.0 through 5.18.2 are affected; version 5.18.3 and all later kernel releases include the fix.
How do I check if my server is vulnerable to CVE-2022-49384?
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. Also check if RAID is in use with cat /proc/mdstat.
Does Defensia detect CVE-2022-49384?
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-49384 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2022-49384. Free for 1 server.
Get started free