VFS in the Linux kernel before 2.6.22.16, and 2.6.23.x before 2.6.23.14, performs tests of access mode by using the flag variable instead of the acc_mode variable, which might allow local users to bypass intended permissions and remove directories.
git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commitdiff%3Bh=974a9f0b47da74e28f68b9c8645c3786aa5ace1a
kernel.org/pub/linux/kernel/v2.6/ChangeLog-2.6.22.16
lists.opensuse.org/opensuse-security-announce/2008-02/msg00002.html
lists.opensuse.org/opensuse-security-announce/2008-03/msg00002.html
rhn.redhat.com/errata/RHSA-2008-0055.html
secunia.com/advisories/28485
secunia.com/advisories/28558
secunia.com/advisories/28626
secunia.com/advisories/28628
secunia.com/advisories/28643
secunia.com/advisories/28664
secunia.com/advisories/28706
secunia.com/advisories/28748
secunia.com/advisories/28806
secunia.com/advisories/28971
secunia.com/advisories/29245
securitytracker.com/id?1019289
wiki.rpath.com/wiki/Advisories:rPSA-2008-0021
www.debian.org/security/2008/dsa-1479
www.kernel.org/pub/linux/kernel/v2.6/ChangeLog-2.6.23.14
www.mandriva.com/security/advisories?name=MDVSA-2008:044
www.mandriva.com/security/advisories?name=MDVSA-2008:112
www.redhat.com/support/errata/RHSA-2008-0089.html
www.securityfocus.com/archive/1/486485/100/0/threaded
www.securityfocus.com/bid/27280
www.ubuntu.com/usn/usn-574-1
www.ubuntu.com/usn/usn-578-1
www.vupen.com/english/advisories/2008/0151
exchange.xforce.ibmcloud.com/vulnerabilities/39672
issues.rpath.com/browse/RPL-2146
oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9709
www.redhat.com/archives/fedora-package-announce/2008-January/msg00828.html