Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mailbox: tegra-hsp: Use after free in tegra_hsp_remove_doorbells()
We have to use the _safe version of list_for_each() because we're freeing the pointer as we go along. (This might not show up testing depending on what config options you have enabled). Fixes: 0fe8846 ("mailbox: Add Tegra HSP driver") Signed-off-by: Dan Carpenter <[email protected]> Signed-off-by: Thierry Reding <[email protected]>
- Loading branch information