[lvc-project] [PATCH net v2] slip: fix use-after-free in sl_sync()

patchwork-bot+netdevbpf at kernel.org patchwork-bot+netdevbpf at kernel.org
Thu Aug 27 13:50:08 MSK 2026


Hello:

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

On Mon, 24 Aug 2026 13:05:47 +0300 you wrote:
> slip_devs[] stores bare net_device pointers and takes no reference on
> them.  sl_sync() and sl_alloc() walk that table from slip_open() under
> rtnl_lock(), while an entry is dropped by sl_free_netdev(), which
> sl_setup() installs as dev->priv_destructor.
> 
> priv_destructor is called from netdev_run_todo(), which deliberately
> runs with the RTNL semaphore released so that it can sleep while waiting
> for the device refcount to drop:
> 
> [...]

Here is the summary with links:
  - [net,v2] slip: fix use-after-free in sl_sync()
    https://git.kernel.org/netdev/net/c/2c4e7c42d77e

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





More information about the lvc-project mailing list