Skip to content

misc: fastrpc: fix memory corruption

Johan Hovold linux-arm-msm lkml stable 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3misc: fastrpc: fix memory corruption on probedrivers/misc/fastrpc.c+5 -00 replies
2/3misc: fastrpc: fix memory corruption on opendrivers/misc/fastrpc.c+3 -40 replies
3/3misc: fastrpc: increase maximum session countdrivers/misc/fastrpc.c+1 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] misc: fastrpc: fix memory corruption

The fastrpc driver uses a fixed-sized array to store its sessions but missing and broken sanity checks could lead to memory beyond the array being corrupted.

This specifically happens on SC8280XP platforms that use 14 sessions for the compute DSP.

These are all needed for 6.0.

Johan

Johan Hovold (3):
misc: fastrpc: fix memory corruption on probe
misc: fastrpc: fix memory corruption on open
misc: fastrpc: increase maximum session count

 drivers/misc/fastrpc.c | 14 +++++++++-----
 1 file changed, 9 insertions(+), 5 deletions(-)
Signature · 1 line
2.35.1