[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <166001761451.6286.6866647099440696539.git-patchwork-notify@kernel.org>
Date: Tue, 09 Aug 2022 04:00:14 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Duoming Zhou <duoming@....edu.cn>
Cc: linux-atm-general@...ts.sourceforge.net, 3chas3@...il.com,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] atm: idt77252: fix use-after-free bugs caused by tst_timer
Hello:
This patch was applied to netdev/net.git (master)
by Jakub Kicinski <kuba@...nel.org>:
On Fri, 5 Aug 2022 15:00:08 +0800 you wrote:
> There are use-after-free bugs caused by tst_timer. The root cause
> is that there are no functions to stop tst_timer in idt77252_exit().
> One of the possible race conditions is shown below:
>
> (thread 1) | (thread 2)
> | idt77252_init_one
> | init_card
> | fill_tst
> | mod_timer(&card->tst_timer, ...)
> idt77252_exit | (wait a time)
> | tst_timer
> |
> | ...
> kfree(card) // FREE |
> | card->soft_tst[e] // USE
>
> [...]
Here is the summary with links:
- atm: idt77252: fix use-after-free bugs caused by tst_timer
https://git.kernel.org/netdev/net/c/3f4093e2bf46
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