Re: [PATCH] ocfs2: use kzalloc for quota recovery bitmap allocation
Andrew Morton <[email protected]>
| Newsgroups | dev.linux.lists.ocfs2-devel,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <[email protected]> |
On Sat, 18 Apr 2026 13:10:48 +0000 Tristan Madani <[email protected]> wrote: > ocfs2 quota recovery allocates a bitmap buffer with kmalloc and does > not fully initialize it. This can lead to use of uninitialized bits > during quota recovery from a corrupted filesystem image. > > Use kzalloc instead to ensure the bitmap is zero-initialized. AI review asks a question about the nearby code: https://sashiko.dev/#/patchset/[email protected]