Abhishek Singh e2cfdde491 dsp-kernel: Do not search the global map in the process-specific list
If a user makes the ioctl call for the fastrpc_internal_mmap with the
global map flag, fd, and va corresponding to some map already present
in the process-specific list, then this map present in the process-
specific list could be added to the global list. Because global maps
are also searched in the process-specific list. If a map gets removed
from the global list and another concurrent thread is using the same
map for a process-specific use case, it could lead to a use-after-free.
Avoid searching the global map in the process-specific list.

Change-Id: I59c820eb984945d39cd6e4b163307ea43ee4d2f4
Signed-off-by: Abhishek Singh <quic_abhishes@quicinc.com>
2024-07-03 05:50:24 -07:00
2022-10-20 10:29:34 -07:00
2024-05-09 13:00:44 +05:30
2023-06-12 11:04:11 -07:00
2023-01-26 23:23:19 -08:00
2023-01-26 23:23:19 -08:00
Description
No description provided
226 MiB
Languages
C 98.7%
C++ 0.9%
Makefile 0.3%
Starlark 0.1%