From: Willem de Bruijn
Date: Thu, 10 Aug 2017 12:41:58 -0400
> From: Willem de Bruijn
>
> Updates to tp_reserve can race with reads of the field in
> packet_set_ring. Avoid this by holding the socket lock during
> updates in setsockopt PACKET_RESERVE.
>
> This bug was discovered by syzkaller.
From: Willem de Bruijn
Updates to tp_reserve can race with reads of the field in
packet_set_ring. Avoid this by holding the socket lock during
updates in setsockopt PACKET_RESERVE.
This bug was discovered by syzkaller.
Fixes: 8913336a7e8d ("packet: add PACKET_RESERVE sockopt")
Reported-by: Andr