mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Edward Adam Davis <eadavis@qq.com>
To: syzbot+08df3e4c9b304b37cb04@syzkaller.appspotmail.com
Cc: linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com
Subject: Re: [syzbot] [block?] general protection fault in rtlock_slowlock_locked
Date: Tue, 11 Nov 2025 07:20:44 +0800	[thread overview]
Message-ID: <tencent_D9EC2EDB4C9167E306CDD2F1C64A49B2AE06@qq.com> (raw)
In-Reply-To: <690ec096.a70a0220.22f260.0070.GAE@google.com>

#syz test


diff --git a/fs/jfs/jfs_lock.h b/fs/jfs/jfs_lock.h
index feb37dd9debf..ab798de87202 100644
--- a/fs/jfs/jfs_lock.h
+++ b/fs/jfs/jfs_lock.h
@@ -29,7 +29,7 @@ do {							\
 		if (cond)				\
 			break;				\
 		unlock_cmd;				\
-		io_schedule();				\
+		io_schedule_timeout(HZ);		\
 		lock_cmd;				\
 	}						\
 	__set_current_state(TASK_RUNNING);			\
diff --git a/fs/jfs/jfs_logmgr.c b/fs/jfs/jfs_logmgr.c
index b343c5ea1159..ee6e9ed5e3af 100644
--- a/fs/jfs/jfs_logmgr.c
+++ b/fs/jfs/jfs_logmgr.c
@@ -1860,6 +1860,7 @@ static void lbmLogShutdown(struct jfs_log * log)
 	lbuf = log->lbuf_free;
 	while (lbuf) {
 		struct lbuf *next = lbuf->l_freelist;
+		lbmIOWait(lbuf, 0);
 		__free_page(lbuf->l_page);
 		kfree(lbuf);
 		lbuf = next;


  parent reply	other threads:[~2025-11-10 23:20 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-10-02 16:01 [syzbot] [ntfs3?] [usb?] " syzbot
2025-11-08  4:01 ` [syzbot] [block?] " syzbot
2025-11-08  7:43   ` Hillf Danton
2025-11-08  8:11     ` syzbot
2025-11-10 12:13   ` Edward Adam Davis
2025-11-10 12:52     ` syzbot
2025-11-10 13:08   ` Edward Adam Davis
2025-11-10 13:26     ` syzbot
2025-11-10 14:18   ` Edward Adam Davis
2025-11-10 14:41     ` syzbot
2025-11-10 14:50   ` Edward Adam Davis
2025-11-10 15:17     ` syzbot
2025-11-10 23:20   ` Edward Adam Davis [this message]
2025-11-11  0:12     ` syzbot
2026-08-10 18:35 ` [syzbot] [jfs?] " 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=tencent_D9EC2EDB4C9167E306CDD2F1C64A49B2AE06@qq.com \
    --to=eadavis@qq.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=syzbot+08df3e4c9b304b37cb04@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®