RE: [EXT] [PATCH net-next v3 1/2] nfc: llcp_core: Hold a ref to llcp_local->dev when holding a ref to llcp_local

From: Suman Ghosh
Date: Tue Dec 05 2023 - 06:05:07 EST


>Reported-and-tested-by:
>syzbot+bbe84a4010eeea00982d@xxxxxxxxxxxxxxxxxxxxxxxxx
>Closes: https://urldefense.proofpoint.com/v2/url?u=https-
>3A__syzkaller.appspot.com_bug-3Fextid-
>3Dbbe84a4010eeea00982d&d=DwIDAg&c=nKjWec2b6R0mOyPaz7xtfQ&r=7si3Xn9Ly-
>Se1a655kvEPIYU0nQ9HPeN280sEUv5ROU&m=Y51GaQT3fKSNuGmD-
>9dRkeRq59DJDzTJ7yEh86VaPxCJP7TBLuK6eYKAw-fnG7-
>c&s=NUdyCeltsQ_6_rZPnNvgfyPleIYGMaSIN1sC1zqpV7Y&e=
>Fixes: c7aa12252f51 ("NFC: Take a reference on the LLCP local pointer
>when creating a socket")
>Signed-off-by: Siddh Raman Pant <code@xxxxxxxx>
>---
Reviewed-by: Suman Ghosh <sumang@xxxxxxxxxxx>

> net/nfc/llcp_core.c | 24 ++++++++++++++++++++++--
> 1 file changed, 22 insertions(+), 2 deletions(-)