Message ID | 20241113161829.57414-11-massimiliano.pellizzer@canonical.com |
---|---|
State | New |
Headers | show |
Series | [SRU,J,1/1] ax25: fix use-after-free bugs caused by ax25_ds_del_timer | expand |
diff --git a/net/ax25/ax25_dev.c b/net/ax25/ax25_dev.c index 4842f63821c8..fe730fad1c38 100644 --- a/net/ax25/ax25_dev.c +++ b/net/ax25/ax25_dev.c @@ -103,7 +103,7 @@ void ax25_dev_device_down(struct net_device *dev) spin_lock_bh(&ax25_dev_lock); #ifdef CONFIG_AX25_DAMA_SLAVE - ax25_ds_del_timer(ax25_dev); + timer_shutdown_sync(&ax25_dev->dama.slave_timer); #endif /*