[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <164931181220.23961.18191397636572007546.git-patchwork-notify@kernel.org>
Date: Thu, 07 Apr 2022 06:10:12 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Duoming Zhou <duoming@....edu.cn>
Cc: davem@...emloft.net, kuba@...nel.org, pabeni@...hat.com,
netdev@...r.kernel.org, linux-kernel@...r.kernel.or,
gregkh@...uxfoundation.org, alexander.deucher@....com,
broonie@...nel.org, jirislaby@...nel.org
Subject: Re: [PATCH] drivers: net: slip: fix NPD bug in sl_tx_timeout()
Hello:
This patch was applied to netdev/net.git (master)
by Jakub Kicinski <kuba@...nel.org>:
On Tue, 5 Apr 2022 21:22:06 +0800 you wrote:
> When a slip driver is detaching, the slip_close() will act to
> cleanup necessary resources and sl->tty is set to NULL in
> slip_close(). Meanwhile, the packet we transmit is blocked,
> sl_tx_timeout() will be called. Although slip_close() and
> sl_tx_timeout() use sl->lock to synchronize, we don`t judge
> whether sl->tty equals to NULL in sl_tx_timeout() and the
> null pointer dereference bug will happen.
>
> [...]
Here is the summary with links:
- drivers: net: slip: fix NPD bug in sl_tx_timeout()
https://git.kernel.org/netdev/net/c/ec4eb8a86ade
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Powered by blists - more mailing lists