CVE-2022-49393
misc: fastrpc: fix list iterator in fastrpc_req_mem_unmap_impl
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= 5c1b97c7d7b736e6439af4f43a65837bc72f56c1, < 2d12905aad462383f4e7a5fdb024d2b7ae2d10cf; >= 5c1b97c7d7b736e6439af4f43a65837bc72f56c1, < c5c07c5958cf0c9af6e76813e6de15d42ee49822
- Anyone running Linux 5.18
Vulnerability facts
- Affected
- Linux >= 5c1b97c7d7b736e6439af4f43a65837bc72f56c1, < 2d12905aad462383f4e7a5fdb024d2b7ae2d10cf; >= 5c1b97c7d7b736e6439af4f43a65837bc72f56c1, < c5c07c5958cf0c9af6e76813e6de15d42ee49822; Linux 5.18
- Fixed in
- Linux 2d12905aad462383f4e7a5fdb024d2b7ae2d10cf
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.8 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 0.26% chance of exploitation in 30 days (percentile 11, 2026-11-26)
- CWE
- CWE-670
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: misc: fastrpc: fix list iterator in fastrpc_req_mem_unmap_impl This is another instance of incorrect use of list iterator and checking it for NULL. The list iterator value 'map' will *always* be set and non-NULL by list_for_each_entry(), so it is incorrect to assume that the iterator value will be NULL if the list is empty (in this case, the check 'if (!map) {' will always be false and never exit as expected). To fix the bug, use a new variable 'iter' as the list iterator, while use the original variable 'map' as a dedicated pointer to point to the found element. Without this patch, Kernel crashes with below trace: Unable to handle kernel access to user memory outside uaccess routines at virtual address 0000ffff7fb03750 ... Call trace: fastrpc_map_create+0x70/0x290 [fastrpc] fastrpc_req_mem_map+0xf0/0x2dc [fastrpc] fastrpc_device_ioctl+0x138/0xc60 [fastrpc] __arm64_sys_ioctl+0xa8/0xec invoke_syscall+0x48/0x114 el0_svc_common.constprop.0+0xd4/0xfc do_el0_svc+0x28/0x90 el0_svc+0x3c/0x130 el0t_64_sync_handler+0xa4/0x130 el0t_64_sync+0x18c/0x190 Code: 14000016 f94000a5 eb05029f 54000260 (b94018a6) ---[ end trace 0000000000000000 ]---
Affected and fixed versions
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2022-49393. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2022-49393.md Affected: Linux >= 5c1b97c7d7b736e6439af4f43a65837bc72f56c1, < 2d12905aad462383f4e7a5fdb024d2b7ae2d10cf; >= 5c1b97c7d7b736e6439af4f43a65837bc72f56c1, < c5c07c5958cf0c9af6e76813e6de15d42ee49822; Linux 5.18 Fixed in: Linux 2d12905aad462383f4e7a5fdb024d2b7ae2d10cf Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
FAQ
Is CVE-2022-49393 being exploited?
There is no confirmed exploitation: CVE-2022-49393 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.26% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2022-49393?
High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2022-49393?
Linux >= 5c1b97c7d7b736e6439af4f43a65837bc72f56c1, < 2d12905aad462383f4e7a5fdb024d2b7ae2d10cf; >= 5c1b97c7d7b736e6439af4f43a65837bc72f56c1, < c5c07c5958cf0c9af6e76813e6de15d42ee49822; Linux 5.18.
Is there a fix for CVE-2022-49393?
Yes. Fixed in Linux 2d12905aad462383f4e7a5fdb024d2b7ae2d10cf. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2022-49393?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.