[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20241017113915.2052-1-hdanton@sina.com>
Date: Thu, 17 Oct 2024 19:39:15 +0800
From: Hillf Danton <hdanton@...a.com>
To: syzbot <syzbot+c4cf28ed38d86d6b549d@...kaller.appspotmail.com>
Cc: linux-kernel@...r.kernel.org,
syzkaller-bugs@...glegroups.com
Subject: Re: [syzbot] [mm?] INFO: rcu detected stall in seq_read_iter (2)
On Wed, 16 Oct 2024 08:52:22 -0700
> syzbot found the following issue on:
>
> HEAD commit: 9e4c6c1ad9a1 Merge tag 'io_uring-6.12-20241011' of git://g..
> git tree: upstream
> C reproducer: https://syzkaller.appspot.com/x/repro.c?x=161bf840580000
#syz test
--- x/virt/kvm/kvm_main.c
+++ y/virt/kvm/kvm_main.c
@@ -6387,7 +6387,7 @@ static void kvm_sched_out(struct preempt
WRITE_ONCE(vcpu->scheduled_out, true);
- if (current->on_rq && vcpu->wants_to_run) {
+ if (current->on_rq && !current->se.sched_delayed && vcpu->wants_to_run) {
WRITE_ONCE(vcpu->preempted, true);
WRITE_ONCE(vcpu->ready, true);
}
--
Powered by blists - more mailing lists