lkml.org 
[lkml]   [2021]   [May]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] net: appletalk: cops: Fix data race in cops_probe1
From
Date
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


\
 
 \ /
  Last update: 2021-05-24 23:10    [W:0.039 / U:0.240 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site