GNU bug report logs - #77597
coreutils 9.6: regression in handling security.selinux attribute for ls(1)

Previous Next

Package: coreutils;

Reported by: "Rahul Sandhu" <nvraxn <at> gmail.com>

Date: Mon, 7 Apr 2025 05:00:05 UTC

Severity: normal

Full log


View this message in rfc822 format

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Pádraig Brady <P <at> draigBrady.com>, Linux Kernel Mailing List <linux-kernel <at> vger.kernel.org>, linux-security-module <at> vger.kernel.org, Stephen Smalley <stephen.smalley.work <at> gmail.com>
Cc: 77597 <at> debbugs.gnu.org, Rahul Sandhu <nvraxn <at> gmail.com>
Subject: bug#77597: listxattr() should return ENOTSUP for sysfs / tmpfs entries, not 0
Date: Sat, 31 May 2025 08:25:07 -0700
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>.




This bug report was last modified 20 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.