[lvc-project] [PATCH] 9p: cap xattr max size to XATTR_SIZE_MAX
Fedor Pchelkin
pchelkin at ispras.ru
Sun Sep 1 10:16:55 MSK 2024
Hi Dominique and Christian,
the issue is still present in upstream kernel [1].
Considering the remark from Christian that limiting the allocation to
XATTR_SIZE_MAX seems too Linux-specific, maybe just fail silently with
__GFP_NOWARN flag passed to the allocator and return ENOMEM? I submitted
the patch [2] sometime ago which looks still applicable to the mainline
kernel. It was superseded with current discussion.
[1]: https://syzkaller.appspot.com/bug?extid=a83dc51a78f0f4cf20da
[2]: https://lore.kernel.org/lkml/20240202121319.21743-1-pchelkin@ispras.ru/
More information about the lvc-project
mailing list