PT-2025-8327 · Linux+1 · Linux Kernel+1
Jan Jablonsky
·
Published
2022-05-19
·
Updated
2026-05-26
·
CVE-2022-49393
CVSS v3.1
5.5
Medium
| Vector | AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Name of the Vulnerable Software and Affected Versions
Linux kernel (affected versions not specified)
Description
The issue is related to the incorrect use of a list iterator in the fastrpc req mem unmap impl function. The list iterator value 'map' is always set and non-NULL by list for each entry(), making it incorrect to assume it will be NULL if the list is empty. This leads to a kernel crash with a trace indicating an inability to handle kernel access to user memory outside uaccess routines. The crash occurs in the fastrpc map create function, which is called by fastrpc req mem map, fastrpc device ioctl, and ultimately by the arm64 sys ioctl system call.
Recommendations
To fix the bug, use a new variable 'iter' as the list iterator, while using the original variable 'map' as a dedicated pointer to point to the found element.
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Exploit
Improper Resource Release
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Astra Linux
Linux Kernel