Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d40a340c authored by Atish Kumar Patra's avatar Atish Kumar Patra Committed by Gerrit - the friendly Code Review server
Browse files

net: ipc_router: Fix socket reference in IPC Router



The socket associated with an IPC Router port can be released before
the port is released. This leads to an use after free bug in cases
where the socket is closed while a packet is in flight.

Fix the use after free scenario by holding a sock reference during
creation of the port and releasing that in release port function.

CRs-Fixed: 811335
Change-Id: I638cc59e3b4e2347107e5ac19f233b0f7b9dd7b0
Signed-off-by: default avatarAtish Kumar Patra <apatra@codeaurora.org>
parent c22e2d9e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment