Re: [PATCH 0/4 V2] net: atlantic: more fuzzing fixes

From: patchwork-bot+netdevbpf
Date: Wed May 11 2022 - 07:30:20 EST


Hello:

This series was applied to netdev/net.git (master)
by David S. Miller <davem@xxxxxxxxxxxxx>:

On Mon, 9 May 2022 19:28:22 -0700 you wrote:
> The Chrome OS fuzzing team posted a "Fuzzing" report for atlantic driver
> in Q4 2021 using Chrome OS v5.4 kernel and "Cable Matters
> Thunderbolt 3 to 10 Gb Ethernet" (b0 version):
> https://docs.google.com/document/d/e/2PACX-1vT4oCGNhhy_AuUqpu6NGnW0N9HF_jxf2kS7raOpOlNRqJNiTHAtjiHRthXYSeXIRTgfeVvsEt0qK9qK/pub
>
> It essentially describes four problems:
> 1) validate rxd_wb->next_desc_ptr before populating buff->next
> 2) "frag[0] not initialized" case in aq_ring_rx_clean()
> 3) limit iterations handling fragments in aq_ring_rx_clean()
> 4) validate hw_head_ in hw_atl_b0_hw_ring_tx_head_update()
>
> [...]

Here is the summary with links:
- [1/4] net: atlantic: fix "frag[0] not initialized"
https://git.kernel.org/netdev/net/c/62e0ae0f4020
- [2/4] net: atlantic: reduce scope of is_rsc_complete
https://git.kernel.org/netdev/net/c/79784d77ebbd
- [3/4] net: atlantic: add check for MAX_SKB_FRAGS
https://git.kernel.org/netdev/net/c/6aecbba12b5c
- [4/4] net: atlantic: verify hw_head_ lies within TX buffer ring
https://git.kernel.org/netdev/net/c/2120b7f4d128

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