From: Willem de Bruijn <[email protected]> Date: Thu, 10 Aug 2017 12:41:58 -0400
> From: Willem de Bruijn <[email protected]> > > 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: Andrey Konovalov <[email protected]> > Signed-off-by: Willem de Bruijn <[email protected]> Also applied and queued up for -stable, thanks Willem.
