Forwarded: Test for 6ed94e81a1492fe1d512

From: syzbot

Date: Sat Mar 21 2026 - 13:46:43 EST


For archival purposes, forwarding an incoming command email to
linux-kernel@xxxxxxxxxxxxxxx.

***

Subject: Test for 6ed94e81a1492fe1d512
Author: syoshida@xxxxxxxxxx

#syz test

diff --git a/net/9p/client.c b/net/9p/client.c
index f0dcf252af7e..73098249f379 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;