Messages in this thread | | | Subject | Re: [PATCH v2] net: macb: fix use after free on rmmod | From | patchwork-bot+netdevbpf@kernel ... | Date | Thu, 09 Sep 2021 10:00:06 +0000 |
| |
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
| |