[PATCH v2 0/4] Add missing fixes to FastRPC driver

Ling Xu posted 4 patches 1 month, 4 weeks ago
There is a newer version of this series
drivers/misc/fastrpc.c | 88 ++++++++++++++++++++++++++++--------------
1 file changed, 58 insertions(+), 30 deletions(-)
[PATCH v2 0/4] Add missing fixes to FastRPC driver
Posted by Ling Xu 1 month, 4 weeks ago
This patch series adds the listed bug fixes that have been missing
in upstream fastRPC driver.
- Store actual size of map and check it against the user passed size.
- Consider map buf for map lookup.
- Fix possible map leak in fastrpc_put_args.
- Skip refcount increment for DMA handles.
Patch [v1]: https://lore.kernel.org/all/20240822105933.2644945-1-quic_ekangupt@quicinc.com/

Changes in v2:
  - Fix possible map leak in fastrpc_put_args.
  - Remove take_ref argument.

Ling Xu (4):
  misc: fastrpc: Save actual DMA size in fastrpc_map structure
  misc: fastrpc: Fix fastrpc_map_lookup operation
  misc: fastrpc: fix possible map leak in fastrpc_put_args
  misc: fastrpc: Skip reference for DMA handles

 drivers/misc/fastrpc.c | 88 ++++++++++++++++++++++++++++--------------
 1 file changed, 58 insertions(+), 30 deletions(-)

-- 
2.34.1