# Re: \[PATCH net v2\] slip: fix use-after-free in sl\_sync()

- From: patchwork-bot+netdevbpf@kernel.org
- Date: 2026-08-27 10:51:03 
- List: netdev
- Page: https://ratatoskr.run/netdev/2026/08/17469073
- Thread: https://ratatoskr.run/netdev/2026/08/17452533/t.md

```text
Hello:

This patch was applied to netdev/net.git (main)
by Paolo Abeni [ref]:

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


```
