[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id:
<175652041099.2398246.16448506468320735865.git-patchwork-notify@kernel.org>
Date: Sat, 30 Aug 2025 02:20:10 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Duoming Zhou <duoming@....edu.cn>
Cc: linux-kernel@...r.kernel.org, netdev@...r.kernel.org, pabeni@...hat.com,
kuba@...nel.org, edumazet@...gle.com, davem@...emloft.net,
andrew+netdev@...n.ch, vadim.fedorenko@...ux.dev, jonathan.lemon@...il.com,
richardcochran@...il.com
Subject: Re: [PATCH net] ptp: ocp: fix use-after-free bugs causing by
ptp_ocp_watchdog
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@...nel.org>:
On Thu, 28 Aug 2025 16:29:49 +0800 you wrote:
> The ptp_ocp_detach() only shuts down the watchdog timer if it is
> pending. However, if the timer handler is already running, the
> timer_delete_sync() is not called. This leads to race conditions
> where the devlink that contains the ptp_ocp is deallocated while
> the timer handler is still accessing it, resulting in use-after-free
> bugs. The following details one of the race scenarios.
>
> [...]
Here is the summary with links:
- [net] ptp: ocp: fix use-after-free bugs causing by ptp_ocp_watchdog
https://git.kernel.org/netdev/net/c/8bf935cf7898
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