On Thu, 27 Jun 2024 09:21:38 +0900 Tetsuo Handa <penguin-kernel@xxxxxxxxxxxxxxxxxxx> wrote: > What change do you propose? > > https://syzkaller.appspot.com/text?tag=Patch&x=121c92fe180000 ? That's one solution, but you need to call printk_deferred_enter() *after* taking the lock, otherwise preemption could still be enabled and you could schedule and migrate between the printk_deferred_enter() and taking of the lock. -- Steve