Forwarded: [PATCH 1/1] jfs: try syzbot fix

From: syzbot

Date: Thu Apr 23 2026 - 09:26:23 EST


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

***

Subject: [PATCH 1/1] jfs: try syzbot fix
Author: jakovnovak30@xxxxxxxxx

#syz test

---
fs/jfs/jfs_logmgr.c | 4 ++++
1 file changed, 4 insertions(+)

diff --git a/fs/jfs/jfs_logmgr.c b/fs/jfs/jfs_logmgr.c
index 306165e61438..b319a4f542d8 100644
--- a/fs/jfs/jfs_logmgr.c
+++ b/fs/jfs/jfs_logmgr.c
@@ -1855,6 +1855,8 @@ static void lbmLogShutdown(struct jfs_log * log)

jfs_info("lbmLogShutdown: log:0x%p", log);

+ LOG_LOCK(log);
+
lbuf = log->lbuf_free;
while (lbuf) {
struct lbuf *next = lbuf->l_freelist;
@@ -1862,6 +1864,8 @@ static void lbmLogShutdown(struct jfs_log * log)
kfree(lbuf);
lbuf = next;
}
+
+ LOG_UNLOCK(log);
}


--
2.53.0