Re: WARNING: refcount bug in find_key_to_update

From: Dmitry Vyukov
Date: Mon Oct 21 2019 - 12:06:16 EST


On Mon, Oct 21, 2019 at 5:59 PM David Howells <dhowells@xxxxxxxxxx> wrote:
>
> syzbot <syzbot+6455648abc28dbdd1e7f@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
>
> > syz repro: https://syzkaller.appspot.com/x/repro.syz?x=11c8adab600000
>
> How do I tell what's been passed into the add_key for the encrypted key?

Hi David,

The easiest and most reliable would be to run it and dump the data in
the kernel function.