CVE-2022-49393: misc: fastrpc: fix list iterator in fastrpc_req_mem_unmap_impl
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 ]---
Security readout for executives and security teams
Plain-English summary
A flaw in the Linux kernel FastRPC component can cause a kernel crash when memory mapping requests are handled incorrectly. The supplied CVSS score is 7.8 and describes potential confidentiality, integrity, and availability impact, although the published description specifically demonstrates a crash.
Executive priority
Treat this as a high-priority kernel remediation where FastRPC is present, especially on shared or locally accessible systems. It does not warrant an emergency internet-wide response based on the supplied evidence, because exploitation is local and no active exploitation is documented.
Technical view
The unmap implementation incorrectly expected a list iterator to become NULL when no matching entry existed. Because list_for_each_entry always assigns the iterator, execution could continue with an invalid pointer and trigger an out-of-bounds kernel memory access. The fix separates iteration from the pointer representing a found mapping.
Likely exposure
Exposure is limited to Linux systems using the affected FastRPC kernel component. The bundle identifies versions in the Linux 5.18 and 5.19 area, but its version boundaries are ambiguous. Confirm affected ranges against kernel or distribution guidance and determine whether FastRPC is enabled and reachable by local users.
Exploitation context
The CVSS vector describes a local, low-complexity attack requiring low privileges and no user interaction. The supplied sources show a kernel crash but provide no evidence of active exploitation, and the CVE is not listed as KEV. Broader confidentiality or integrity impact is represented by CVSS but not demonstrated in the description.
Researcher notes
The concrete failure is invalid kernel memory access caused by incorrect list-iterator handling. The trace is from an arm64 ioctl path, but the bundle does not establish that every architecture or FastRPC configuration is affected. Exact version boundaries and exploitability beyond denial of service require vendor-specific confirmation.
Mitigation direction
Apply a vendor-supported kernel update containing the cited FastRPC iterator fix.
If updating is delayed, consult the kernel or distribution vendor for supported mitigations.
Restrict untrusted local access where operationally feasible until affected systems are remediated.
Prioritize systems where FastRPC is enabled and accessible to local users.
Validation and detection
Inventory kernel versions and compare them with current vendor advisories for CVE-2022-49393.
Determine whether the FastRPC component is built, loaded, or otherwise available on each system.
Verify the installed kernel includes the applicable cited stable commit or vendor backport.
Run approved regression testing around FastRPC memory mapping and unmapping after updating.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cve · low confidence lookup
CVE-2022-49393 mapping review
Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
1CVSS vectors
3Timeline events
0ADP providers
3Source links
CVSS vector scores
1 official score
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.