[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <87wmq3by49.wl-tiwai@suse.de>
Date: Fri, 15 Mar 2024 11:14:30 +0100
From: Takashi Iwai <tiwai@...e.de>
To: syzbot <syzbot+28c1a5a5b041a754b947@...kaller.appspotmail.com>
Cc: linux-kernel@...r.kernel.org,
linux-sound@...r.kernel.org,
perex@...ex.cz,
syzkaller-bugs@...glegroups.com,
tiwai@...e.com
Subject: Re: [syzbot] [sound?] possible deadlock in snd_pcm_period_elapsed (4)
On Fri, 15 Mar 2024 11:00:31 +0100,
syzbot wrote:
(snip)
> the shortest dependencies between 2nd lock and 1st lock:
> -> (&timer->lock){+.+.}-{2:2} {
> HARDIRQ-ON-W at:
> lock_acquire+0x1e4/0x530 kernel/locking/lockdep.c:5754
> __raw_spin_lock include/linux/spinlock_api_smp.h:133 [inline]
> _raw_spin_lock+0x2e/0x40 kernel/locking/spinlock.c:154
> spin_lock include/linux/spinlock.h:351 [inline]
> class_spinlock_constructor include/linux/spinlock.h:561 [inline]
> snd_timer_close_locked+0x53/0x8d0 sound/core/timer.c:412
Ouch, I incorrectly converted from spin_lock_irq() to
guard(spinlock). It should have been guard(spinlock_irq), of course.
Will submit the fix patch.
thanks,
Takashi
Powered by blists - more mailing lists