Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
nfc: virtual_ncidev: Add variable to check if ndev is running
syzbot reported an memory leak that happens when an skb is add to send_buff after virtual nci closed. This patch adds a variable to track if the ndev is running before handling new skb in send function. Signed-off-by: Nguyen Dinh Phi <[email protected]> Reported-by: [email protected] Closes: https://lore.kernel.org/lkml/[email protected] Reviewed-by: Bongsu Jeon Reviewed-by: Krzysztof Kozlowski <[email protected]> Signed-off-by: David S. Miller <[email protected]>
- Loading branch information