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

From: Tejun Heo
Date: Mon Feb 05 2024 - 16:50:02 EST


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.

Thanks.

--
tejun