[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20260117174226.qpmlqbbsnc6pjgxo@inspiron>
Date: Sat, 17 Jan 2026 23:12:26 +0530
From: Prithvi <activprithvi@...il.com>
To: Matthew Wilcox <willy@...radead.org>, joseph.qi@...ux.alibaba.com
Cc: mark@...heh.com, jlbec@...lplan.org, heming.zhao@...e.com,
ocfs2-devel@...ts.linux.dev, linux-kernel@...r.kernel.org,
linux-kernel-mentees@...ts.linux.dev, skhan@...uxfoundation.org,
david.hunter.linux@...il.com, khalid@...nel.org
Subject: Re: [PATCH] ocfs2: Fix circular locking dependency in
ocfs2_del_inode_from_orphan()
On Thu, Jan 15, 2026 at 04:47:56AM +0000, Matthew Wilcox wrote:
> On Thu, Jan 15, 2026 at 08:48:09AM +0530, Prithvi wrote:
> > On Fri, Jan 09, 2026 at 12:07:00AM +0530, Prithvi wrote:
> > > IIUC that would be the case when ocfs2_dio_end_io_write() operates on normal
> > > files. However, according to the report of the bug, ocfs2_dio_end_io_write()
> > > is holding &ocfs2_quota_ip_alloc_sem_key so I think due to random fuzzing by
> > > syzkaller, the function is curently operating on a quota file.
>
> So the right fix is probably to disallow DIO to a quota file, wouldn't
> you say?
Hello Matthew,
Thanks for the feedback! I agree that disallowing DIO on quota files can
probably be the fix for this bug. I will work in this direction. I think
Joseph was indicating earlier that DIO doesn't act on quota files, but I
misinterpreted his feedback...apologies for that.
Thanks,
Prithvi
Powered by blists - more mailing lists