Re: [syzbot] WARNING: refcount bug in qrtr_node_lookup

From: Dmitry Vyukov
Date: Mon Aug 30 2021 - 04:39:35 EST


On Sat, 28 Aug 2021 at 20:32, syzbot
<syzbot+c613e88b3093ebf3686e@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
>
> syzbot suspects this issue was fixed by commit:
>
> commit 7e78c597c3ebfd0cb329aa09a838734147e4f117
> Author: Xiaolong Huang <butterflyhuangxx@xxxxxxxxx>
> Date: Thu Aug 19 19:50:34 2021 +0000
>
> net: qrtr: fix another OOB Read in qrtr_endpoint_post
>
> bisection log: https://syzkaller.appspot.com/x/bisect.txt?x=11279a4d300000
> start commit: ba4f184e126b Linux 5.9-rc6
> git tree: upstream
> kernel config: https://syzkaller.appspot.com/x/.config?x=af502ec9a451c9fc
> dashboard link: https://syzkaller.appspot.com/bug?extid=c613e88b3093ebf3686e
> syz repro: https://syzkaller.appspot.com/x/repro.syz?x=12263dd9900000
> C reproducer: https://syzkaller.appspot.com/x/repro.c?x=13d77603900000
>
> If the result looks correct, please mark the issue as fixed by replying with:
>
> #syz fix: net: qrtr: fix another OOB Read in qrtr_endpoint_post
>
> For information about bisection process see: https://goo.gl/tpsmEJ#bisection

Hi Hillf,

You posted some patch related to refcounts. Do you think "net: qrtr:
fix another OOB Read in qrtr_endpoint_post" is a plausible fix? Or is
there still something wrong with refcounts?