Re: [PATCH] ocfs2: Fix circular locking dependency in ocfs2_del_inode_from_orphan()
From: Prithvi
Date: Sat Jan 17 2026 - 12:42:35 EST
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