From: Hillf Danton <hdanton@sina.com>
To: syzbot <syzbot+7f3bbe59e8dd2328a990@syzkaller.appspotmail.com>
Cc: linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com
Subject: Re: [syzbot] [net] [virt] INFO: task hung in __vhost_worker_flush
Date: Sun, 31 Aug 2025 15:34:57 +0800 [thread overview]
Message-ID: <20250831073458.6191-1-hdanton@sina.com> (raw)
In-Reply-To: <68b3b1ac.a70a0220.1c57d1.028b.GAE@google.com>
> Date: Sat, 30 Aug 2025 19:21:32 -0700 [thread overview]
> syzbot has found a reproducer for the following issue on:
>
> HEAD commit: 11e7861d680c Merge tag 'for-linus' of git://git.kernel.org..
> git tree: upstream
> console output: https://syzkaller.appspot.com/x/log.txt?x=17c5c242580000
> kernel config: https://syzkaller.appspot.com/x/.config?x=d4703ac89d9e185a
> dashboard link: https://syzkaller.appspot.com/bug?extid=7f3bbe59e8dd2328a990
> compiler: gcc (Debian 12.2.0-14+deb12u1) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40
> syz repro: https://syzkaller.appspot.com/x/repro.syz?x=1671ba62580000
> C reproducer: https://syzkaller.appspot.com/x/repro.c?x=1685aa62580000
#syz test
--- a/drivers/vhost/vhost.c
+++ b/drivers/vhost/vhost.c
@@ -440,7 +440,9 @@ static bool vhost_run_work_list(void *da
struct vhost_worker *worker = data;
struct vhost_work *work, *work_next;
struct llist_node *node;
+ bool did = false;
+again:
node = llist_del_all(&worker->work_list);
if (node) {
__set_current_state(TASK_RUNNING);
@@ -455,9 +457,11 @@ static bool vhost_run_work_list(void *da
kcov_remote_stop();
cond_resched();
}
+ did = true;
+ goto again;
}
- return !!node;
+ return did;
}
static void vhost_worker_killed(void *data)
--
next prev parent reply other threads:[~2025-08-31 7:35 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-29 22:08 [syzbot] [kvm?] [net?] [virt?] " syzbot
2024-08-16 18:06 ` Sean Christopherson
2024-08-16 18:06 ` syzbot
2024-08-16 18:10 ` Sean Christopherson
2024-08-16 18:17 ` Michael S. Tsirkin
2024-08-19 15:19 ` Mike Christie
2025-03-27 11:21 ` Stefano Garzarella
2025-09-01 10:30 ` Hillf Danton
2025-09-01 11:07 ` Michael S. Tsirkin
2025-08-31 2:21 ` [syzbot] [net] [virt] " syzbot
2025-08-31 5:53 ` Hillf Danton
2025-08-31 6:29 ` syzbot
2025-08-31 7:34 ` Hillf Danton [this message]
2025-08-31 8:17 ` syzbot
2025-08-31 8:41 ` Hillf Danton
2025-08-31 9:14 ` syzbot
2025-09-01 1:37 ` Hillf Danton
2025-09-01 2:46 ` syzbot
2025-09-01 6:57 ` Hillf Danton
2025-09-01 8:55 ` syzbot
2025-08-31 12:09 ` Forwarded: " syzbot
2025-08-31 15:53 ` syzbot
[not found] <20250831080725-mutt-send-email-mst@kernel.org>
2025-08-31 12: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=20250831073458.6191-1-hdanton@sina.com \
--to=hdanton@sina.com \
--cc=linux-kernel@vger.kernel.org \
--cc=syzbot+7f3bbe59e8dd2328a990@syzkaller.appspotmail.com \
--cc=syzkaller-bugs@googlegroups.com \
/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
all inboxes | Powered by JetHome®