Re: WARNING: ODEBUG bug in __do_softirq

From: Thomas Gleixner
Date: Wed Aug 26 2020 - 07:03:54 EST


On Wed, Aug 26 2020 at 01:54, syzbot wrote:

Cc+: David Howells

> syzbot has found a reproducer for the following issue on:
>
> HEAD commit: 3a00d3df Add linux-next specific files for 20200825
> git tree: linux-next
> console output: https://syzkaller.appspot.com/x/log.txt?x=15080fa9900000
> kernel config: https://syzkaller.appspot.com/x/.config?x=9ef0a5f95935d447
> dashboard link: https://syzkaller.appspot.com/bug?extid=51c9bdfa559769d2f897
> compiler: gcc (GCC) 10.1.0-syz 20200507
> syz repro: https://syzkaller.appspot.com/x/repro.syz?x=17927a2e900000
> C reproducer: https://syzkaller.appspot.com/x/repro.c?x=132b8ede900000
>
> The issue was bisected to:
>
> commit 5b317cbf2bcb85a1e96ce87717cb991ecab1dd4d
> Author: Rafael J. Wysocki <rafael.j.wysocki@xxxxxxxxx>
> Date: Fri Feb 22 09:17:11 2019 +0000
>
> Merge branch 'pm-cpufreq-fixes'
>
> bisection log: https://syzkaller.appspot.com/x/bisect.txt?x=171ead5d200000
> final oops: https://syzkaller.appspot.com/x/report.txt?x=149ead5d200000
> console output: https://syzkaller.appspot.com/x/log.txt?x=109ead5d200000
>
> IMPORTANT: if you fix the issue, please add the following tag to the commit:
> Reported-by: syzbot+51c9bdfa559769d2f897@xxxxxxxxxxxxxxxxxxxxxxxxx
> Fixes: 5b317cbf2bcb ("Merge branch 'pm-cpufreq-fixes'")
>
> ------------[ cut here ]------------
> ODEBUG: free active (active state 0) object type: work_struct hint: afs_manage_cell+0x0/0x11c0 fs/afs/cell.c:498

AFS is leaking an active work struct in a to be freed data struct.

Thanks,

tglx