[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20250702182421.62557-1-duttaditya18@gmail.com>
Date: Wed, 2 Jul 2025 23:54:21 +0530
From: Aditya Dutt <duttaditya18@...il.com>
To: syzbot+30b3e48dc48dd2ad45b6@...kaller.appspotmail.com
Cc: Aditya Dutt <duttaditya18@...il.com>,
syzkaller-lts-bugs@...glegroups.com,
linux-kernel@...r.kernel.org
Subject: Test: [v5.15] INFO: task hung in jfs_commit_inode
#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
Powered by blists - more mailing lists