public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: patchwork-bot+netdevbpf@kernel.org
To: Pavel Skripkin <paskripkin@gmail.com>
Cc: krzysztof.kozlowski@canonical.com, sameo@linux.intel.com,
	thierry.escande@linux.intel.com, netdev@vger.kernel.org,
	linux-kernel@vger.kernel.org,
	syzbot+16bcb127fb73baeecb14@syzkaller.appspotmail.com
Subject: Re: [PATCH] NFC: port100: fix use-after-free in port100_send_complete
Date: Thu, 10 Mar 2022 04:10:10 +0000	[thread overview]
Message-ID: <164688541034.5045.14625682237475664726.git-patchwork-notify@kernel.org> (raw)
In-Reply-To: <20220308185007.6987-1-paskripkin@gmail.com>

Hello:

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

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



      parent reply	other threads:[~2022-03-10  4:10 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-08 18:50 [PATCH] NFC: port100: fix use-after-free in port100_send_complete Pavel Skripkin
2022-03-09  9:52 ` Krzysztof Kozlowski
2022-03-09 18:27   ` Pavel Skripkin
2022-03-09 21:22     ` Pavel Skripkin
2022-03-10  4:10 ` patchwork-bot+netdevbpf [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=164688541034.5045.14625682237475664726.git-patchwork-notify@kernel.org \
    --to=patchwork-bot+netdevbpf@kernel.org \
    --cc=krzysztof.kozlowski@canonical.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=paskripkin@gmail.com \
    --cc=sameo@linux.intel.com \
    --cc=syzbot+16bcb127fb73baeecb14@syzkaller.appspotmail.com \
    --cc=thierry.escande@linux.intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox