[lvc-project] [PATCH net 1/2] net: macb: fix use-after-free access to PTP clock
patchwork-bot+netdevbpf at kernel.org
patchwork-bot+netdevbpf at kernel.org
Thu Mar 19 03:44:18 MSK 2026
Hello:
This series was applied to netdev/net.git (main)
by Jakub Kicinski <kuba at kernel.org>:
On Mon, 16 Mar 2026 13:38:24 +0300 you wrote:
> PTP clock is registered on every opening of the interface and destroyed on
> every closing. However it may be accessed via get_ts_info ethtool call
> which is possible while the interface is just present in the kernel.
>
> BUG: KASAN: use-after-free in ptp_clock_index+0x47/0x50 drivers/ptp/ptp_clock.c:426
> Read of size 4 at addr ffff8880194345cc by task syz.0.6/948
>
> [...]
Here is the summary with links:
- [net,1/2] net: macb: fix use-after-free access to PTP clock
https://git.kernel.org/netdev/net/c/8da13e6d63c1
- [net,2/2] net: macb: fix uninitialized rx_fs_lock
https://git.kernel.org/netdev/net/c/34b11cc56e43
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