angler-fishThe Vulnerability History Project

mt76: fix array overflow on receiving too many fragments for a packet

      If the hardware receives an oversized packet with too many rx fragments,
skb_shinfo(skb)->frags can overflow and corrupt memory of adjacent pages.
This becomes especially visible if it corrupts the freelist pointer of
a slab page.

Cc: stable@vger.kernel.org
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
    
commit b102f0c522cf668c8382c56a4f771b37d011cda2
+6 -3
expand_less