Re: [PATCH] ocfs2: fix circular locking dependency in ocfs2_init_acl()
Andrew Morton <[email protected]>
| Newsgroups | dev.linux.lists.syzbot,dev.linux.lists.ocfs2-devel,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <[email protected]> |
On Tue, 4 Aug 2026 14:36:02 +0800 Joseph Qi <[email protected]> wrote: > > Additionally, remove the `ip_xattr_sem` acquisition from > > `ocfs2_xattr_set_handle()`. This function is only used while initializing a > > new inode that has not yet been inserted into the inode hash or attached to > > a dentry, meaning there is no risk of concurrent access and the lock is > > unnecessary. > > > > Fixes: 16c8d569f570 ("ocfs2/acl: use 'ip_xattr_sem' to protect getting extended attribute") > > Assisted-by: Gemini:gemini-3.5-flash Gemini:gemini-3.1-pro-preview syzbot > > Reported-by: [email protected] > > Closes: https://syzkaller.appspot.com/bug?extid=4007ab5229e732466d9f > > Link: https://syzkaller.appspot.com/ai_job?id=cc75363d-c672-499e-8fc5-44bcdc1cee39 > > Signed-off-by: Krystian Kaniewski <[email protected]> > > Reviewed-by: Joseph Qi <[email protected]> Thanks. AI review might have found a pre-existing bug: https://sashiko.dev/#/patchset/[email protected]