[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <676e874c.050a0220.2f3838.047d.GAE@google.com>
Date: Fri, 27 Dec 2024 02:54:04 -0800
From: syzbot <syzbot+7aef76bdb53b83d62a9e@...kaller.appspotmail.com>
To: linux-kernel@...r.kernel.org, syzkaller-bugs@...glegroups.com
Subject: Re: [syzbot] Re: kernel BUG in ocfs2_set_new_buffer_uptodate()
For archival purposes, forwarding an incoming command email to
linux-kernel@...r.kernel.org, syzkaller-bugs@...glegroups.com.
***
Subject: Re: kernel BUG in ocfs2_set_new_buffer_uptodate()
Author: dmantipov@...dex.ru
#syz test https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git d6ef8b40d075c425f548002d2f35ae3f06e9cf96
diff --git a/fs/ocfs2/dir.c b/fs/ocfs2/dir.c
index 213206ebdd58..3bfbc166d1fe 100644
--- a/fs/ocfs2/dir.c
+++ b/fs/ocfs2/dir.c
@@ -416,6 +416,9 @@ static struct buffer_head *ocfs2_find_entry_id(const char *name,
if (found == 1)
return di_bh;
+ /* Cached by ocfs2_read_blocks() so remove it. */
+ ocfs2_remove_from_cache(INODE_CACHE(dir), di_bh);
+
brelse(di_bh);
out:
return NULL;
Powered by blists - more mailing lists