[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id:
<168619862035.10114.4240315179189704298.git-patchwork-notify@kernel.org>
Date: Thu, 08 Jun 2023 04:30:20 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Ben Hutchings <ben@...adent.org.uk>
Cc: netdev@...r.kernel.org, tglx@...utronix.de, linux-kernel@...r.kernel.org,
elic@...dia.com
Subject: Re: [PATCH net] lib: cpu_rmap: Fix potential use-after-free in
irq_cpu_rmap_release()
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@...nel.org>:
On Fri, 2 Jun 2023 20:28:15 +0200 you wrote:
> irq_cpu_rmap_release() calls cpu_rmap_put(), which may free the rmap.
> So we need to clear the pointer to our glue structure in rmap before
> doing that, not after.
>
> Fixes: 4e0473f1060a ("lib: cpu_rmap: Avoid use after free on rmap->obj ...")
> Signed-off-by: Ben Hutchings <ben@...adent.org.uk>
>
> [...]
Here is the summary with links:
- [net] lib: cpu_rmap: Fix potential use-after-free in irq_cpu_rmap_release()
https://git.kernel.org/netdev/net/c/7c5d4801ecf0
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