Red Hat Bugzilla – Bug 161056
CVE-2005-2801 Lost ACLs on ext3
Last modified: 2007-11-30 17:07:07 EST
See attached tarball:
acltest.sh - script to reproduce the problem, needs to be edited before
execution (don't forget to update the mount options if you want to use a file
rather than a partition to reproduce the problem)
aclcheck.pl - Tool for recurively checking if acls exist on a directory
acltest_root.tgz - Some random files (copy of GPL'ed "gallery" PHP-Script)
The output should something like (which it is before umount):
# file: acltest/test/9/2
# owner: root
# group: root
The problem is reproduceable on a 2.4.21-32.0.1.EL kernel, but not on a RHEL4
Created attachment 115681 [details]
*** This bug has been marked as a duplicate of 155473 ***
Indeed, this isn't the same bug. Tested the above testcase with
kernel-2.4.21-32.12.EL, and the bug still exists.
Created attachment 118060 [details]
Fix false sharing between active and default ACLs
I've been able to reproduce the problem locally; it is fixed by this patch
backported from upstream 2.6 kernels.
Thanks for the clear reproducer, btw; it was very helpful in verifying this fix.
A fix for this problem has just been committed to the RHEL3 U7
patch pool this evening (in kernel version 2.4.21-37.2.EL).
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.