From: patchwork-bot+netdevbpf@kernel.org
To: Saubhik Mukherjee <saubhik.mukherjee@gmail.com>
Cc: davem@davemloft.net, kuba@kernel.org, gustavoars@kernel.org,
wanghai38@huawei.com, netdev@vger.kernel.org,
linux-kernel@vger.kernel.org, ldv-project@linuxtesting.org
Subject: Re: [PATCH] net: appletalk: cops: Fix data race in cops_probe1
Date: Mon, 24 May 2021 21:10:11 +0000 [thread overview]
Message-ID: <162189061119.7619.7983599518749277035.git-patchwork-notify@kernel.org> (raw)
In-Reply-To: <20210524133712.15720-1-saubhik.mukherjee@gmail.com>
Hello:
This patch was applied to netdev/net.git (refs/heads/master):
On Mon, 24 May 2021 19:07:12 +0530 you wrote:
> In cops_probe1(), there is a write to dev->base_addr after requesting an
> interrupt line and registering the interrupt handler cops_interrupt().
> The handler might be called in parallel to handle an interrupt.
> cops_interrupt() tries to read dev->base_addr leading to a potential
> data race. So write to dev->base_addr before calling request_irq().
>
> Found by Linux Driver Verification project (linuxtesting.org).
>
> [...]
Here is the summary with links:
- net: appletalk: cops: Fix data race in cops_probe1
https://git.kernel.org/netdev/net/c/a4dd4fc6105e
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
prev parent reply other threads:[~2021-05-24 21:10 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-05-24 13:37 [PATCH] net: appletalk: cops: Fix data race in cops_probe1 Saubhik Mukherjee
2021-05-24 21: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=162189061119.7619.7983599518749277035.git-patchwork-notify@kernel.org \
--to=patchwork-bot+netdevbpf@kernel.org \
--cc=davem@davemloft.net \
--cc=gustavoars@kernel.org \
--cc=kuba@kernel.org \
--cc=ldv-project@linuxtesting.org \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=saubhik.mukherjee@gmail.com \
--cc=wanghai38@huawei.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;
as well as URLs for NNTP newsgroup(s).