Re: [syzbot] WARNING in rcu_core

From: Thomas Gleixner
Date: Mon Aug 30 2021 - 15:39:58 EST


On Mon, Aug 30 2021 at 10:06, Paul E. McKenney wrote:
> On Mon, Aug 30, 2021 at 12:51:39PM +0200, Thomas Gleixner wrote:
>
> This looks like a use-after-free in a structure that unions the rcu_head
> structure with something else.
>
> Would adding a mem_dump_obj() somewhere in the debug-object code be
> helpful?

At least for the case where the object is not available in the debug
objects tracking.

> (Or propagate a return value out, similar to that of
> debug_object_activate()?)

That might be useful for some callers as well.

Thanks,

tglx