summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorTristan Madani <tristan@talencesecurity.com>2026-04-18 13:10:48 +0000
committerAndrew Morton <akpm@linux-foundation.org>2026-05-28 21:24:40 -0700
commit93c8c6ea90be9e9df8fe14048ad4e3caad0770a6 (patch)
treeacb09facb137d8cbfcc50b91243a5057c4a9933e /scripts
parent0e75190fe40093d85c0c698d9f8dca66df842605 (diff)
downloadlwn-93c8c6ea90be9e9df8fe14048ad4e3caad0770a6.tar.gz
lwn-93c8c6ea90be9e9df8fe14048ad4e3caad0770a6.zip
ocfs2: use kzalloc for quota recovery bitmap allocation
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. Link: https://lore.kernel.org/20260418131048.1052507-1-tristmd@gmail.com Reported-by: syzbot+7ea0b96c4ddb49fd1a70@syzkaller.appspotmail.com Signed-off-by: Tristan Madani <tristan@talencesecurity.com> Reviewed-by: Joseph Qi <joseph.qi@linux.alibaba.com> Cc: Mark Fasheh <mark@fasheh.com> Cc: Joel Becker <jlbec@evilplan.org> Cc: Junxiao Bi <junxiao.bi@oracle.com> Cc: Changwei Ge <gechangwei@live.cn> Cc: Jun Piao <piaojun@huawei.com> Cc: Heming Zhao <heming.zhao@suse.com> Cc: <stable@vger.kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions