# CVE-2022-49393: linux: In the Linux kernel, the following vulnerability has been resolved:  misc: fastrpc: fix list iterator in fastrpc_req_...

CVE-2022-49393 is fixed in linux on 1 platform, first by DEBIAN-CVE-2022-49393, released February 26, 2025. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2022-49393
- Priority: Routine
- CVSS: 5.5 (medium)
- EPSS: 0.0023
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Feb 26, 2025

## 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 ]---

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | linux Debian 12.15 (bookworm) | 5.18.5-1 | [DEBIAN-CVE-2022-49393](https://patchblox.com/security/data/fix/linux/debian-cve-2022-49393.md) | Feb 26, 2025 |
| Linux | linux Debian 13.5 (trixie) | 5.18.5-1 | [DEBIAN-CVE-2022-49393](https://patchblox.com/security/data/fix/linux/debian-cve-2022-49393.md) | Feb 26, 2025 |
| Linux | linux Debian 14 | 5.18.5-1 | [DEBIAN-CVE-2022-49393](https://patchblox.com/security/data/fix/linux/debian-cve-2022-49393.md) | Feb 26, 2025 |

---

Data as of 2026-11-08T13:06:02Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
