mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Test: [v5.15] INFO: task hung in jfs_commit_inode
@ 2025-07-02 18:24 Aditya Dutt
  2025-07-03  5:38 ` syzbot
  0 siblings, 1 reply; 2+ messages in thread
From: Aditya Dutt @ 2025-07-02 18:24 UTC (permalink / raw)
  To: syzbot+30b3e48dc48dd2ad45b6; +Cc: Aditya Dutt, syzkaller-lts-bugs, linux-kernel

#syz test git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git linux-5.15.y

diff --git a/fs/jfs/jfs_dtree.c b/fs/jfs/jfs_dtree.c
index 27ca98614b0b..cb57d4f1161f 100644
--- a/fs/jfs/jfs_dtree.c
+++ b/fs/jfs/jfs_dtree.c
@@ -835,6 +835,8 @@ int dtInsert(tid_t tid, struct inode *ip,
 	 * the full page.
 	 */
 	DT_GETSEARCH(ip, btstack->top, bn, mp, p, index);
+	if (p->header.freelist == 0)
+		return -EINVAL;
 
 	/*
 	 *	insert entry for new key

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-07-03  5:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-07-02 18:24 Test: [v5.15] INFO: task hung in jfs_commit_inode Aditya Dutt
2025-07-03  5:38 ` syzbot

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®