CVE-2022-48873·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: misc: fastrpc: Don't remove map on creater_process and device_release Do not remove the map from the list on error path in fastrpc_init_create_process, instead call fastrpc_map_put, to avoid use-after-free. Do not remove it on fastrpc_device_release either, call fastrpc_map_put instead. The fastrpc_free_map is the only proper place to remove the map. This is called only after the reference count is 0.
- Severity
- high
- Software
- Kernel
- Fixed in
- 6.1.8
- Published
- 2024-08-21
Affected versions
From: 5.16
Until: 6.1.8
Fixed in: 6.1.8
How to fix this CVE
Update your Linux kernel to version 6.1.8 or later to resolve a critical memory safety issue in the fastrpc subsystem. The vulnerability involves improper reference counting in the fastrpc map handling during process initialization and device release, which can lead to use-after-free conditions. Apply the patch immediately on systems running kernel versions 5.16 through 6.1.7.
sudo dnf update kernel kernel-develDefensia detects this vulnerability
How to check if you are affected
- Step 1: Check the current kernel version with `uname -r` and compare it against the affected range (5.16 to 6.1.7)
- Step 2: Verify fastrpc is in use by checking `cat /proc/modules | grep fastrpc` or inspect device nodes with `ls -la /dev/fastrpc*`
- Step 3: Search kernel logs for fastrpc-related warnings using `dmesg | grep -i fastrpc` or `journalctl -u kernel | grep fastrpc`
- Step 4: After patching, confirm the new kernel version is running with `uname -r` and reboot to ensure all memory references are cleaned
FAQ
What is CVE-2022-48873?
CVE-2022-48873 is a use-after-free vulnerability in the Linux kernel's fastrpc subsystem where improper reference counting during process creation and device shutdown can allow local attackers to trigger memory corruption and potentially escalate privileges.
Is CVE-2022-48873 being actively exploited?
No, this vulnerability is not listed on CISA's Known Exploited Vulnerabilities catalog and no public exploits are currently available, though the high CVSS score (7.8) indicates significant local privilege escalation risk.
What versions of Kernel are affected by CVE-2022-48873?
Linux kernel versions 5.16 through 6.1.7 are vulnerable. Kernel 6.1.8 and later contain the fix.
How do I check if my server is vulnerable to CVE-2022-48873?
Run `uname -r` and check if your version falls between 5.16 and 6.1.7. If the fastrpc module is loaded (`grep fastrpc /proc/modules`), your system is potentially at risk.
Does Defensia detect CVE-2022-48873?
Yes — Defensia's CVE advisory scanner compares installed kernel versions against the NVD database. If a vulnerable kernel is detected on monitored systems, CVE-2022-48873 will appear in your dashboard with remediation steps and patch recommendations.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/193cd853145b63e670bd73740250983af1475330
- https://git.kernel.org/stable/c/1b7b7bb400dd13dcb03fc6e591bb7ca4664bbec8
- https://git.kernel.org/stable/c/35ddd482345c43d9eec1f3406c0f20a95ed4054b
- https://git.kernel.org/stable/c/4b5c44e924a571d0ad07054de549624fbc04e4d7
- https://git.kernel.org/stable/c/5bb96c8f9268e2fdb0e5321cbc358ee5941efc15
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2022-48873. Free for 1 server.
Get started free