From: Edward Adam Davis <eadavis@qq.com>
To: syzbot+47d8cb2f2cc1517e515a@syzkaller.appspotmail.com
Cc: linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com
Subject: Re: [syzbot] [ocfs2?] general protection fault in ocfs2_evict_inode (2)
Date: Tue, 19 Aug 2025 21:09:30 +0800 [thread overview]
Message-ID: <tencent_D3EE1B172523BACABBF633209E3D1BF84B08@qq.com> (raw)
In-Reply-To: <68a46146.050a0220.e29e5.00c2.GAE@google.com>
#syz test
diff --git a/fs/ocfs2/inode.c b/fs/ocfs2/inode.c
index 14bf440ea4df..6c4f78f473fb 100644
--- a/fs/ocfs2/inode.c
+++ b/fs/ocfs2/inode.c
@@ -1281,6 +1281,9 @@ static void ocfs2_clear_inode(struct inode *inode)
* the journal is flushed before journal shutdown. Thus it is safe to
* have inodes get cleaned up after journal shutdown.
*/
+ if (!osb->journal)
+ return;
+
jbd2_journal_release_jbd_inode(osb->journal->j_journal,
&oi->ip_jinode);
}
next prev parent reply other threads:[~2025-08-19 13:11 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-08-19 11:34 syzbot
2025-08-19 13:09 ` Edward Adam Davis [this message]
2025-08-19 13:32 ` syzbot
2025-08-19 13:32 ` [PATCH] ocfs2: prevent release journal inode after journal shutdown Edward Adam Davis
2025-08-19 13:41 ` [PATCH V2] " Edward Adam Davis
2025-08-19 14:17 ` [External] : " Mark Tinguely
2025-08-20 1:01 ` Edward Adam Davis
2025-08-20 5:50 ` Joseph Qi
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=tencent_D3EE1B172523BACABBF633209E3D1BF84B08@qq.com \
--to=eadavis@qq.com \
--cc=linux-kernel@vger.kernel.org \
--cc=syzbot+47d8cb2f2cc1517e515a@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®