Re: [syzbot] [hfs?] KMSAN: uninit-value in hfsplus_listxattr

From: Christian Brauner
Date: Mon May 22 2023 - 07:03:41 EST


On Mon, May 22, 2023 at 10:12:38AM +0000, 侯伟桃 Vincent Hou wrote:
> Since the strbuf in hfsplus_listxattr was allocated with kmalloc and filled with hfsplus_uni2asc,
> which did not fill "\0" in last byte, in some cases, the uninited byte may be accessed when
> compare the strbuf with known namespace. But I still need check the value of xattr in strbuf
> to confirm the root cause. Please help test with below debug patch.

Uhm, no... The fs maintainers aren't responsible for testing random
debug patches sent to the list. This thing is also orphaned so the
chance of someone doing the work for you is drastically close to zero.