From: Yalagada Pavan Kumar <pavankumaryalagada@gmail.com>
To: syzbot <syzbot+143e0859898751aa8f94@syzkaller.appspotmail.com>
Cc: anna-maria@linutronix.de, frederic@kernel.org,
linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com,
tglx@kernel.org
Subject: Re: [syzbot] [kernel?] BUG: sleeping function called from invalid context in posix_cpu_timer_wait_running
Date: Tue, 25 Aug 2026 23:19:43 +0530 [thread overview]
Message-ID: <ao3Vt-R-B9Dx_TIM@user> (raw)
In-Reply-To: <6a8bd336.ae6ddae5.3da009.0074.GAE@google.com>
#syz test
diff --git a/kernel/time/posix-timers.c b/kernel/time/posix-timers.c
index 436ba794cc0b..5e580b4223de 100644
--- a/kernel/time/posix-timers.c
+++ b/kernel/time/posix-timers.c
@@ -1057,9 +1057,9 @@ static void posix_timer_delete(struct k_itimer *timer)
while (timer->kclock->timer_del(timer) == TIMER_RETRY) {
guard(rcu)();
- spin_unlock_irq(&timer->it_lock);
+ spin_unlock_irq_enable(&timer->it_lock);
timer_wait_running(timer);
- spin_lock_irq(&timer->it_lock);
+ spin_lock_irq_disable(&timer->it_lock);
}
}
next prev parent reply other threads:[~2026-08-25 17:50 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-24 5:14 [syzbot] [kernel?] BUG: sleeping function called from invalid context in posix_cpu_timer_wait_running syzbot
2026-08-25 17:49 ` Yalagada Pavan Kumar [this message]
2026-08-25 18:02 ` syzbot
2026-08-25 18:13 ` Yalagada Pavan Kumar
2026-08-25 18:45 ` syzbot
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ao3Vt-R-B9Dx_TIM@user \
--to=pavankumaryalagada@gmail.com \
--cc=anna-maria@linutronix.de \
--cc=frederic@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=syzbot+143e0859898751aa8f94@syzkaller.appspotmail.com \
--cc=syzkaller-bugs@googlegroups.com \
--cc=tglx@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox