[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20181002.223248.964984017016763302.davem@davemloft.net>
Date: Tue, 02 Oct 2018 22:32:48 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: edumazet@...gle.com
Cc: netdev@...r.kernel.org, eric.dumazet@...il.com, willemb@...gle.com
Subject: Re: [PATCH net] ipv4: fix use-after-free in ip_cmsg_recv_dstaddr()
From: Eric Dumazet <edumazet@...gle.com>
Date: Sun, 30 Sep 2018 11:33:39 -0700
> Caching ip_hdr(skb) before a call to pskb_may_pull() is buggy,
> do not do it.
>
> Fixes: 2efd4fca703a ("ip: in cmsg IP(V6)_ORIGDSTADDR call pskb_may_pull")
> Signed-off-by: Eric Dumazet <edumazet@...gle.com>
> Cc: Willem de Bruijn <willemb@...gle.com>
> Reported-by: syzbot <syzkaller@...glegroups.com>
Applied and queued up for -stable.
Powered by blists - more mailing lists