From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-oa1-f70.google.com (mail-oa1-f70.google.com [209.85.160.70]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 490593BED7A for ; Wed, 13 May 2026 21:41:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.160.70 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778708473; cv=none; b=Id/BkOiiB3B54i0m4gdWm3BoKZZotH9+69NTaQCmSfMKLzBrkyFTPNhxPaVJbniVQfX6E4c02X565hA3RoxCPpwyUK8KIhcfV7HSlbyaWmSsyjcTFZiv3Iw0wgwvCUlONtdQh34YbthcpCpGOTTKWTfU4YHsKG/hLkRBgUfEo3s= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778708473; c=relaxed/simple; bh=cGXqcrOJv/yyElce22I9PLZQTvhW2A8Q4mBvFtC4P1o=; h=MIME-Version:Date:In-Reply-To:Message-ID:Subject:From:To:Cc: Content-Type; b=RZShIn5C7eh1YPIl83/iDDSAC2b6G6DYnoGucaGS5hoJOyvNsmI9sAZ44gMVj3IZ8wsBhtxzFOneaP2COI+oj5nYDNfAPGDslMJh0KSa1yGZ+tXT2ukEz+CdVMU8woo5Lsn55XeyNYwNe1EXJe5PRhJmpwZ90dH/dcYiYXg7Q+A= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=syzkaller.appspotmail.com; spf=pass smtp.mailfrom=M3KW2WVRGUFZ5GODRSRYTGD7.apphosting.bounces.google.com; arc=none smtp.client-ip=209.85.160.70 Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=syzkaller.appspotmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=M3KW2WVRGUFZ5GODRSRYTGD7.apphosting.bounces.google.com Received: by mail-oa1-f70.google.com with SMTP id 586e51a60fabf-4346755f7dcso9429609fac.3 for ; Wed, 13 May 2026 14:41:11 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1778708470; x=1779313270; h=cc:to:from:subject:message-id:in-reply-to:date:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Tqk0Slr65mDNKAZF2Vaic14WCI6WBEKE9EJXBGKW5II=; b=pnecC0JmfIpTbYlbUt/t5wly/nMfuWgZhDlscNIneP3f8085R1ezSQcwJ1Kx19pynx baLDl/JdQxbUKELAgYUME2vDuA9fVpd5cVfs/v8hEQmDUKEbThIdEuik1jdSD4QVJt98 32sF56B448/YWBwtgDwNwfAjL0LBs/oNaMVXzMIlu/QoqO8/PzCjLACkWL+kEd0i0Wcy XkUwT53i9I9q7tzuhJew5cTLrS4mTIegH3TKxausgVr+9mcv4UOWSFC1To7n4pCqY682 EOT1qPLPGUcc0GXQuhbTWMyiiysSjQ5M7oC7CMMNo9rGI1n96Kt5YLthamFAhSj1xrS4 XC/Q== X-Forwarded-Encrypted: i=1; AFNElJ8grgPox6OZ74+ERq93J5hccuMWG8eXKRfkj5gMyxRfR74NOPL4JZGK5Ag4amRgguLh6KAqhkcXWxaiEo4=@vger.kernel.org X-Gm-Message-State: AOJu0YylHOZwSfc+hcQKB5v/XDPn/W+ulTT0/GR9xcaf5CdH7WozQrOH J3DRvuZQwNSO8VrXNtosG09vlygj9CLWhwIiQjiEHlCsAX8T+I8y+lC22bwTFSVMJajzOrxpDMV acLNqRmncBe1VAKUgWE4WUJrS9Br5BEc6kYGt7qT0i4uaeB8w3gl1yMJ3ULA= Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Received: by 2002:a05:6820:178f:b0:68e:b81b:d81b with SMTP id 006d021491bc7-69b78dfac2amr2764182eaf.31.1778708470309; Wed, 13 May 2026 14:41:10 -0700 (PDT) Date: Wed, 13 May 2026 14:41:10 -0700 In-Reply-To: <82aeba42-7872-4e92-ade8-2b7b6a8a5e43@collabora.com> X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <6a04eff6.050a0220.190576.0001.GAE@google.com> Subject: Re: [PATCH] drm/virtio: add timeout to virtqueue wait to avoid hung task From: syzbot To: dmitry.osipenko@collabora.com Cc: airlied@redhat.com, dmitry.osipenko@collabora.com, dri-devel@lists.freedesktop.org, gurchetansingh@chromium.org, kraxel@redhat.com, linux-kernel@vger.kernel.org, maarten.lankhorst@linux.intel.com, mripard@kernel.org, olvaffe@gmail.com, ryasuoka@redhat.com, simona@ffwll.ch, tzimmermann@suse.de, virtualization@lists.linux.dev Content-Type: text/plain; charset="UTF-8" > Hi, > > On 5/12/26 11:59, Ryosuke Yasuoka wrote: >> virtio_gpu_queue_ctrl_sgs() and virtio_gpu_queue_cursor() use >> wait_event() without timeout when waiting for virtqueue space. If the >> host device stops processing commands, these waits block indefinitely. >> Since callers may hold DRM locks, this can make the entire system >> unresponsive. >> >> Replace wait_event() with wait_event_timeout() using a 5-second timeout, >> consistent with the existing timeout pattern in the driver. On timeout, >> clean up and return -ENODEV, following the same error path as >> drm_dev_enter() failure. >> >> Reported-by: syzbot+d6dd6f86d3aaf7eebe7406e45c1c6e549453f224@syzkaller.appspotmail.com >> Closes: https://syzkaller.appspot.com/bug?id=d6dd6f86d3aaf7eebe7406e45c1c6e549453f224 >> Reported-by: syzbot+908bd910da5dd79b88de4cf7baf376cc873a922e@syzkaller.appspotmail.com >> Closes: https://syzkaller.appspot.com/bug?id=908bd910da5dd79b88de4cf7baf376cc873a922e >> Signed-off-by: Ryosuke Yasuoka >> --- >> drivers/gpu/drm/virtio/virtgpu_vq.c | 20 ++++++++++++++++++-- >> 1 file changed, 18 insertions(+), 2 deletions(-) > > If host stops processing commands, this is a problem on host side. Isn't it? > > -- > Best regards, > Dmitry I see the command but can't find the corresponding bug. The email is sent to syzbot+HASH@syzkaller.appspotmail.com address but the HASH does not correspond to any known bug. Please double check the address.