Re: KASAN: use-after-free Read in __fput

From: Al Viro
Date: Mon Dec 04 2017 - 13:43:16 EST


On Mon, Dec 04, 2017 at 07:39:29PM +0100, Dmitry Vyukov wrote:
> On Mon, Dec 4, 2017 at 5:44 PM, Al Viro <viro@xxxxxxxxxxxxxxxxxx> wrote:
> > On Thu, Nov 02, 2017 at 04:05:01AM -0700, syzbot wrote:
> >> Hello,
> >>
> >> syzkaller hit the following crash on
> >> 3a99df9a3d14cd866b5516f8cba515a3bfd554ab
> >> git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/master
> >> compiler: gcc (GCC) 7.1.1 20170620
> >> .config is attached
> >> Raw console output is attached.
> >
> > That one is almost certainly double-free in kcm_clone() fixed in
> > https://marc.info/?l=linux-netdev&m=151208776817071&q=raw
>
> Hi,
>
> What's the title of that commit? We need the title for syzbot. "fix
> kcm_clone()"? I don't see such commit in net-next.

For a good and simple reason that it's _not_ in net-next yet.