netdev AI review [1]:

> Can e100_tx_clean() reopen this gate while the list is being torn
> down?

Yes, through netpoll in the tx timeout, ringparam and self-test paths.
v2 frees the whole list under cb_lock, with dev_kfree_skb_any().

> A netpoll e100_tx_clean() that runs after cb_to_clean has been set to
> NULL would dereference NULL at cb->status.

Reproduced with netconsole and "ethtool -G", also without this patch.
I'll fix it on v2.

> the note about the prototype static analysis tool (and the Claude
> Code involvement) only appears below the --- line.

Moved into the changelog in v2.

The other points (the skb left in a CB after a TX DMA mapping error,
the device still running when the list is freed, the e100_up() error
path) are pre-existing and not touched by this series.

[1] 
https://netdev-ai.bots.linux.dev/sashiko/#/patchset/20261128-e100-cbs-uaf-v1-1-efda575f56e5%40gmail.com

pw-bot: cr

Reply via email to