lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CADhLXY5W32uoKPWrtZaKDruA9pdiZAADL-7O9a3Pnp8znh5t1Q@mail.gmail.com>
Date: Sat, 10 Jan 2026 11:08:18 +0530
From: Deepanshu Kartikey <kartikey406@...il.com>
To: Joseph Qi <joseph.qi@...ux.alibaba.com>
Cc: ocfs2-devel@...ts.linux.dev, linux-kernel@...r.kernel.org, 
	syzbot+44c564a3cb08605f34a1@...kaller.appspotmail.com, 
	Joel Becker <jlbec@...lplan.org>, Mark Fasheh <mark@...heh.com>, Heming Zhao <heming.zhao@...e.com>
Subject: Re: [PATCH] ocfs2: validate allocator type to prevent BUG_ON in ocfs2_block_group_search

On Thu, Jan 8, 2026 at 1:55 PM Joseph Qi <joseph.qi@...ux.alibaba.com> wrote:
>
>
>
> On 2026/1/4 09:40, Deepanshu Kartikey wrote:
> > A corrupted filesystem image can have an inode allocator with the
> > OCFS2_BITMAP_FL flag incorrectly set, making ocfs2_is_cluster_bitmap()
> > return true. When the code later calls ocfs2_block_group_search(),
> > it triggers BUG_ON(ocfs2_is_cluster_bitmap(inode)) causing a kernel panic.
> >
> But ocfs2_is_cluster_bitmap() checks ip_blkno.
>
> Thanks,
> Joseph
>

Hi Joseph,

Thanks for the correction. You're right, ocfs2_is_cluster_bitmap()
compares ip_blkno with osb->bitmap_blkno, not a flag.

I will send a v2 with the corrected commit message.

Thanks, Deepanshu

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ