On Sun, 2017-12-10 at 03:50 +0000, simo.ghan...@gmail.com wrote: > From: Mohamed Ghannam <simo.ghan...@gmail.com> > > inet->hdrincl is racy, and could lead to uninitialized stack pointer > usage, so its value should be read only once. > > Signed-off-by: Mohamed Ghannam <simo.ghan...@gmail.com> > --- > net/ipv4/raw.c | 15 ++++++++++----- > 1 file changed, 10 insertions(+), 5 deletions(-)
Thanks a lot for fixing this very serious bug. Reviewed-by: Eric Dumazet <eduma...@google.com> Please David add : Fixes: c008ba5bdc9f ("ipv4: Avoid reading user iov twice after raw_probe_proto_opt") Thanks !