Re: [BUG] workqueues and printk not playing nice since next-20240130

From: Paul E. McKenney
Date: Mon Feb 05 2024 - 17:05:35 EST


On Mon, Feb 05, 2024 at 10:30:25AM -1000, Tejun Heo wrote:
> Hello,
>
> On Mon, Feb 05, 2024 at 11:41:10AM -0800, Paul E. McKenney wrote:
> > [ 0.316453] ==================================================================
> > [ 0.317646] BUG: KASAN: use-after-free in wq_update_node_max_active+0x123/0x810
> > [ 0.318851] Read of size 8 at addr ffff88802109d788 by task swapper/0/0
>
> Ah, that one is fixed by 15930da42f89 ("workqueue: Don't call
> cpumask_test_cpu() with -1 CPU in wq_update_node_max_active()"). I have a
> hard time imagining that having anything to do with console being quiet tho.
> It's a cpumask bit test targeting cpu -1 and the result gets overwritten
> later during boot.

Thank you for confirming!

If the silent console comes up again, I will beat up on that more.

Thanx, Paul