Bug 161056 - CVE-2005-2801 Lost ACLs on ext3
CVE-2005-2801 Lost ACLs on ext3
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 3
Classification: Red Hat
Component: kernel (Show other bugs)
3.0
All Linux
medium Severity medium
: ---
: ---
Assigned To: Stephen Tweedie
Brian Brock
public=20050205,source=bk,reported=20...
: Security
Depends On:
Blocks: 168424
  Show dependency treegraph
 
Reported: 2005-06-20 06:48 EDT by Bastien Nocera
Modified: 2007-11-30 17:07 EST (History)
3 users (show)

See Also:
Fixed In Version: RHSA-2006-0144
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2006-03-15 11:06:18 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
aclbreak.tar.gz (1.80 MB, application/octet-stream)
2005-06-20 06:48 EDT, Bastien Nocera
no flags Details
Fix false sharing between active and default ACLs (668 bytes, patch)
2005-08-24 10:22 EDT, Stephen Tweedie
no flags Details | Diff

  None (edit)
Description Bastien Nocera 2005-06-20 06:48:59 EDT
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
user::rwx
group::---
group:daemon:--x        #effective:---
mask::r--
other::---
default:user::rwx
default:group::---
default:group:daemon:--x        #effective:---
default:mask::r--
default:other::---

The problem is reproduceable on a 2.4.21-32.0.1.EL kernel, but not on a RHEL4
system.
Comment 1 Bastien Nocera 2005-06-20 06:49:00 EDT
Created attachment 115681 [details]
aclbreak.tar.gz
Comment 3 Bastien Nocera 2005-07-06 06:17:30 EDT

*** This bug has been marked as a duplicate of 155473 ***
Comment 5 Bastien Nocera 2005-07-19 05:49:46 EDT
Indeed, this isn't the same bug. Tested the above testcase with
kernel-2.4.21-32.12.EL, and the bug still exists.
Comment 7 Stephen Tweedie 2005-08-24 10:22:11 EDT
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.
Comment 8 Stephen Tweedie 2005-08-24 10:24:12 EDT
Thanks for the clear reproducer, btw; it was very helpful in verifying this fix.
Comment 13 Ernie Petrides 2005-09-15 00:10:08 EDT
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).
Comment 17 Red Hat Bugzilla 2006-03-15 11:06:18 EST
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.

http://rhn.redhat.com/errata/RHSA-2006-0144.html

Note You need to log in before you can comment on or make changes to this bug.