[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Thu, 09 Sep 2021 10:00:06 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Tong Zhang <ztong0001@...il.com>
Cc: nicolas.ferre@...rochip.com, claudiu.beznea@...rochip.com,
davem@...emloft.net, kuba@...nel.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, Nicolas.Ferre@...rochip.com
Subject: Re: [PATCH v2] net: macb: fix use after free on rmmod
Hello:
This patch was applied to netdev/net.git (refs/heads/master):
On Wed, 8 Sep 2021 12:02:32 -0700 you wrote:
> plat_dev->dev->platform_data is released by platform_device_unregister(),
> use of pclk and hclk is a use-after-free. Since device unregister won't
> need a clk device we adjust the function call sequence to fix this issue.
>
> [ 31.261225] BUG: KASAN: use-after-free in macb_remove+0x77/0xc6 [macb_pci]
> [ 31.275563] Freed by task 306:
> [ 30.276782] platform_device_release+0x25/0x80
>
> [...]
Here is the summary with links:
- [v2] net: macb: fix use after free on rmmod
https://git.kernel.org/netdev/net/c/d82d5303c4c5
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