From: Willem de Bruijn <willemdebruijn.ker...@gmail.com> Date: Thu, 10 Aug 2017 12:41:58 -0400
> From: Willem de Bruijn <will...@google.com> > > 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 <andreyk...@google.com> > Signed-off-by: Willem de Bruijn <will...@google.com> Also applied and queued up for -stable, thanks Willem.