Bugzilla – Bug 65424
L3: VUL-0: CVE-2005-2801: kernel: Default ACLs disappear
Last modified: 2021-11-02 16:37:41 UTC
We have a race in ext2/ext3 extended attribute sharing that has been reported to show as default ACLs that disappear under specific circumstances. We haven't had bug reports against SLES8 or SLES9 so far, and I was assuming that this did not trigger, but now I have a bug report from Grant Bigham from IBM; he has triggered it on SLES8. (The bug was fixed in the mainline kernel in December.) This will probably become an L3 case. I'm already working on a minimal fix for SLES8 and SLES9 SP1; for SP2 we might want to have the "proper" fix instead.
Created attachment 28134 [details] Proposed fix This is a minimal fix that will somewhat slow down ext2 and ext3, but should suffice to fix the race. I'm testing this fix now.
this affects older releases too, right?
Yes, SLES8 and SLES9 are affected. The fix in comment 1 didn't fix the problem for Grant. That was on an s390, but the bug has been reproduced on i386 with 2.6.10 mainline before, so I'll try to collect more debug information there first.
Created attachment 28230 [details] This fixes the real problem In order not to run into the other bugs that Andrew Tridgell triggered, we should apply the patches in both attachments.
Note that the fix from comment 1 only fixes the mbcache race, but does not address the journal_release_buffer journal accounting bug. The journal_release_buffer bug is even more unlikely to trigger, and I'd prefer not to fix it at all without any customer bug reports.
Ralf, I need your decision concerning the fix in comment 1: IMO it is safe, but the change is too fundamental to release without having QA run a bunch of ACL tests on it.
Reassigning to agruen. Andreas, can you please create the mentioned PTF as an mbuild?
This issue is already fixed in all relevant branches.
i released this fix with a security update already.
Issue is resolved. STTS Ticket closed.
CAN-2005-2801
CVE-2005-2801: CVSS v2 Base Score: 5.0 (AV:N/AC:L/Au:N/C:N/I:P/A:N)