[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <165639241493.25506.6577886408154853926.git-patchwork-notify@kernel.org>
Date: Tue, 28 Jun 2022 05:00:14 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Tong Zhang <ztong0001@...il.com>
Cc: davem@...emloft.net, edumazet@...gle.com, kuba@...nel.org,
pabeni@...hat.com, f.fainelli@...il.com, jgg@...pe.ca,
arnd@...db.de, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, yiluwu@...stonybrook.edu,
romieu@...zoreil.com
Subject: Re: [PATCH v2] epic100: fix use after free on rmmod
Hello:
This patch was applied to netdev/net.git (master)
by Jakub Kicinski <kuba@...nel.org>:
On Sun, 26 Jun 2022 21:33:48 -0700 you wrote:
> epic_close() calls epic_rx() and uses dma buffer, but in epic_remove_one()
> we already freed the dma buffer. To fix this issue, reorder function calls
> like in the .probe function.
>
> BUG: KASAN: use-after-free in epic_rx+0xa6/0x7e0 [epic100]
> Call Trace:
> epic_rx+0xa6/0x7e0 [epic100]
> epic_close+0xec/0x2f0 [epic100]
> unregister_netdev+0x18/0x20
> epic_remove_one+0xaa/0xf0 [epic100]
>
> [...]
Here is the summary with links:
- [v2] epic100: fix use after free on rmmod
https://git.kernel.org/netdev/net/c/8ee9d82cd0a4
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