bug#77597: listxattr() should return ENOTSUP for sysfs / tmpfs entries, not 0
Paul Eggert
eggert at cs.ucla.edu
Sat May 31 15:25:07 UTC 2025
On 2025-05-23 04:38, Pádraig Brady wrote:
> FYI this should be addressed with:
> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=8b0ba61d
Thanks for letting me know, as this led me to further testing that found
some other kernel bugs in this area, possibly introduced by that kernel
commit. Please see:
"flistxattr with right size wrongly fails with ERANGE, breaking 'cp -a'
etc" <https://bugzilla.redhat.com/show_bug.cgi?id=2369561>
The email thread starting at "[PATCH] Fix listxattr-related races and
stack overflows"
<https://lists.nongnu.org/archive/html/acl-devel/2025-05/msg00003.html>.
More information about the Linux-security-module-archive
mailing list