Re: [PATCH net v2] serial: caif: fix use-after-free in caif_serial ldisc_close()

From: patchwork-bot+netdevbpf

Date: Tue Feb 10 2026 - 09:31:05 EST


Hello:

This patch was applied to netdev/net.git (main)
by Paolo Abeni <pabeni@xxxxxxxxxx>:

On Fri, 6 Feb 2026 15:44:44 +0800 you wrote:
> From: Jiayuan Chen <jiayuan.chen@xxxxxxxxxx>
>
> There is a use-after-free bug in caif_serial where handle_tx() may
> access ser->tty after the tty has been freed.
>
> The race condition occurs between ldisc_close() and packet transmission:
>
> [...]

Here is the summary with links:
- [net,v2] serial: caif: fix use-after-free in caif_serial ldisc_close()
https://git.kernel.org/netdev/net/c/308e7e4d0a84

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html