From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-oo1-f69.google.com (mail-oo1-f69.google.com [209.85.161.69]) (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 769281E22E9 for ; Sat, 21 Mar 2026 18:01:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.161.69 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774116092; cv=none; b=HC/5f99q+QMwJBavFzDL/LOy7B3LogK47mwotuOPSmn1Qoy5jwygafqfZGBGGzVuYKSiojKexDTqQYE2bmbKiEq8nA1Epn3lMcOiqBdUij9uBcu5+Sb1Bf1ZdJ62ashqkIHCH+JhcD7a1u48YIerg4brcNKF+svf13G1C3yqOe4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774116092; c=relaxed/simple; bh=cxv0n4Xg/Q03T0JWzOTLrVuvkp/LZgCZbkwcQPnNyNo=; h=MIME-Version:Date:In-Reply-To:Message-ID:Subject:From:To: Content-Type; b=OeLaCuLfZGnpI2H1K6sqQLPvKkc9hGFEZgtLeJnaXxMmAYbJowowtpDUHrjFi3A9KxzzWB1QBkZRaF2TVBoKYbFQspJrEEwLsDRZAGm5liAYBjjHrWy0Col2JCPwGCWtNrrbTiojopXFzwzgGAq3HJlKuxA+V/vY4aZA5E+OyT0= 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.161.69 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-oo1-f69.google.com with SMTP id 006d021491bc7-67bc30477a5so41340991eaf.2 for ; Sat, 21 Mar 2026 11:01:31 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1774116090; x=1774720890; h=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=z4fPqF2y2DalwAH7PRXXYePcB9qNEis/QOu1DoePWOc=; b=AZyUr4FvWxJLZMv8ecRgFLMCUGjc20GdBeCJNsGwV5hdn1YT2WW/tPGxCC4YZNsX0H oSC8llLT4nV2onSp9q4e21C5P/YZlawZBS5Mutwu4wmuBt5hc7CB1y61PgonI+sZVNI0 1HBV0mHLOvMsPl3hHfs84D9wKB8E6oAA25UkRC4eAv2QSJReMOMW7QJuDLmjXyMvrmpk AoYrD3Cf5GMX0UVWA4rSVmUDsyZoFbiJBhkJkFCWy8UkDGL06uZ85SeluDsKG251aPcq G9OC/AU0Qar4DLWEm3Fqbto1fkndU8ap+BwiAd435EbeLy7yQDYF7NWkJ3gLN37Le6fs 02Qg== X-Gm-Message-State: AOJu0YwQZ5hvcf96ogda8TGwAT9klYmuEyYYR1kmSqzMsqGFDWx5byE6 imXAaadclQtJX4WKU50LlUWvLZBOujfzVgQcSrVhQXCQgEJucyrLr6inF2JOOAu5ilFQG6mNYiS zZXj5Jgbb6L0eGVHJxuuiDpgagbKAHOGRVoxhtik13h7DCH8ja9HSV2AwqOA= 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:168c:b0:67b:c033:5d48 with SMTP id 006d021491bc7-67c22bbbe26mr5173731eaf.12.1774116090508; Sat, 21 Mar 2026 11:01:30 -0700 (PDT) Date: Sat, 21 Mar 2026 11:01:30 -0700 In-Reply-To: <688fa86e.050a0220.1fc43d.0005.GAE@google.com> X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <69bedcfa.050a0220.3bf4de.0055.GAE@google.com> Subject: Forwarded: Test for 6ed94e81a1492fe1d512 From: syzbot To: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" For archival purposes, forwarding an incoming command email to linux-kernel@vger.kernel.org. *** Subject: Test for 6ed94e81a1492fe1d512 Author: syoshida@redhat.com #syz test diff --git a/net/9p/client.c b/net/9p/client.c index f0dcf252af7e..28742f19041e 100644 --- a/net/9p/client.c +++ b/net/9p/client.c @@ -599,7 +599,7 @@ p9_client_rpc(struct p9_client *c, int8_t type, const char *fmt, ...) smp_rmb(); if (err == -ERESTARTSYS && c->status == Connected && - type == P9_TFLUSH) { + type == P9_TFLUSH && !fatal_signal_pending(current)) { sigpending = 1; clear_thread_flag(TIF_SIGPENDING); goto again; @@ -609,7 +609,8 @@ p9_client_rpc(struct p9_client *c, int8_t type, const char *fmt, ...) p9_debug(P9_DEBUG_ERROR, "req_status error %d\n", req->t_err); err = req->t_err; } - if (err == -ERESTARTSYS && c->status == Connected) { + if (err == -ERESTARTSYS && c->status == Connected && + !fatal_signal_pending(current)) { p9_debug(P9_DEBUG_MUX, "flushing\n"); sigpending = 1; clear_thread_flag(TIF_SIGPENDING); @@ -694,7 +695,8 @@ static struct p9_req_t *p9_client_zc_rpc(struct p9_client *c, int8_t type, p9_debug(P9_DEBUG_ERROR, "req_status error %d\n", req->t_err); err = req->t_err; } - if (err == -ERESTARTSYS && c->status == Connected) { + if (err == -ERESTARTSYS && c->status == Connected && + !fatal_signal_pending(current)) { p9_debug(P9_DEBUG_MUX, "flushing\n"); sigpending = 1; clear_thread_flag(TIF_SIGPENDING);