Re: [PATCH] NFC: port100: fix use-after-free in port100_send_complete

From: patchwork-bot+netdevbpf
Date: Wed Mar 09 2022 - 23:10:17 EST


Hello:

This patch was applied to netdev/net.git (master)
by Jakub Kicinski <kuba@xxxxxxxxxx>:

On Tue, 8 Mar 2022 21:50:07 +0300 you wrote:
> Syzbot reported UAF in port100_send_complete(). The root case is in
> missing usb_kill_urb() calls on error handling path of ->probe function.
>
> port100_send_complete() accesses devm allocated memory which will be
> freed on probe failure. We should kill this urbs before returning an
> error from probe function to prevent reported use-after-free
>
> [...]

Here is the summary with links:
- NFC: port100: fix use-after-free in port100_send_complete
https://git.kernel.org/netdev/net/c/f80cfe2f2658

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html