From: Edward Adam Davis <eadavis@sina.com>
To: syzbot+743079a09058321247d8@syzkaller.appspotmail.com
Cc: linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com
Subject: Re: [syzbot] [jffs2?] possible deadlock in jffs2_do_clear_inode (2)
Date: Fri, 11 Sep 2026 16:28:38 +0800 [thread overview]
Message-ID: <20260911082838.850442-1-eadavis@sina.com> (raw)
In-Reply-To: <6aa351f4.6e6c5f9e.28f11f.003b.GAE@google.com>
From: Edward Aadm Davis <eadavis@sina.com>
#syz test: upstream 50d05c7c76c9
diff --git a/fs/jffs2/fs.c b/fs/jffs2/fs.c
index 6ada8369a762..59972e03685d 100644
--- a/fs/jffs2/fs.c
+++ b/fs/jffs2/fs.c
@@ -256,6 +256,7 @@ struct inode *jffs2_iget(struct super_block *sb, unsigned long ino)
struct jffs2_sb_info *c;
struct jffs2_raw_inode latest_node;
union jffs2_device_node jdev;
+ unsigned int nofs_flag;
struct inode *inode;
dev_t rdev = 0;
int ret;
@@ -274,7 +275,9 @@ struct inode *jffs2_iget(struct super_block *sb, unsigned long ino)
jffs2_init_inode_info(f);
mutex_lock(&f->sem);
+ nofs_flag = memalloc_nofs_save();
ret = jffs2_do_read_inode(c, f, inode->i_ino, &latest_node);
+ memalloc_nofs_restore(nofs_flag);
if (ret)
goto error;
next prev parent reply other threads:[~2026-09-11 8:29 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-07 0:00 syzbot
2026-09-07 20:14 ` syzbot
2026-09-11 0:57 ` syzbot
2026-09-11 3:03 ` Edward Adam Davis
2026-09-11 3:26 ` syzbot
2026-09-11 7:55 ` Edward Adam Davis
2026-09-11 8:19 ` syzbot
2026-09-11 8:28 ` Edward Adam Davis [this message]
2026-09-11 8:45 ` syzbot
2026-09-11 11:41 ` Edward Adam Davis
2026-09-11 12:18 ` 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=20260911082838.850442-1-eadavis@sina.com \
--to=eadavis@sina.com \
--cc=linux-kernel@vger.kernel.org \
--cc=syzbot+743079a09058321247d8@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®