mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
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 15:55:58 +0800	[thread overview]
Message-ID: <20260911075558.849153-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/malloc.c b/fs/jffs2/malloc.c
index 411de8b361b2..1ce17e265159 100644
--- a/fs/jffs2/malloc.c
+++ b/fs/jffs2/malloc.c
@@ -246,7 +246,11 @@ void jffs2_free_node_frag(struct jffs2_node_frag *x)
 struct jffs2_inode_cache *jffs2_alloc_inode_cache(void)
 {
 	struct jffs2_inode_cache *ret;
+	unsigned int nofs_flag;
+
+	nofs_flag = memalloc_nofs_save();
 	ret = kmem_cache_alloc(inode_cache_slab, GFP_KERNEL);
+	memalloc_nofs_restore(nofs_flag);
 	dbg_memalloc("%p\n", ret);
 	return ret;
 }

  parent reply	other threads:[~2026-09-11  7:56 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 [this message]
2026-09-11  8:19     ` syzbot
2026-09-11  8:28   ` Edward Adam Davis
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=20260911075558.849153-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®