Description
The do_gfs2_set_flags function in fs/gfs2/file.c in the Linux kernel before 2.6.34-git10 does not verify the ownership of a file, which allows local users to bypass intended access restrictions via a SETFLAGS ioctl request.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 5 | kernel +11 | 2.6.18-194.8.1.el5 | RHSA-2010:0504 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | kernel-source | 4.8.13-1.1 | openSUSE-SU-2024:10128-1 |
Advisories 2
- RHSA-2010:0504 Red Hat Security Advisory: kernel security and bug fix update Red Hat Security Advisories (RHSA) · Jun 28, 2026
- openSUSE-SU-2024:10128-1 kernel-debug-4.8.13-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
References
- SUSE-SA:2010:031 vendor-advisory
- SUSE-SA:2010:033 vendor-advisory
- [oss-security] 20100525 CVE request - kernel: GFS2: The setflags ioctl() doesn't check file ownership mailing-list
- kernel-gfs2-security-bypass(58926) vdb-entry
- http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=7df0e0397b9a18358573274db9fdab991941062f
- http://www.kernel.org/pub/linux/kernel/v2.6/snapshots/incr/patch-2.6.34-git9-git10.bz2
- 40645 third-party-advisory
- 43315 third-party-advisory
- [cluster-devel] 20100525 [PATCH 3/3] GFS2: Fix permissions checking for setflags ioctl() mailing-list
- oval:org.mitre.oval:def:9916 vdb-entry signature
- http://www.vmware.com/security/advisories/VMSA-2011-0003.html
- [oss-security] 20100525 Re: CVE request - kernel: GFS2: The setflags ioctl() doesn't check file ownership mailing-list
- [oss-security] 20100526 Re: CVE request - kernel: GFS2: The setflags ioctl() doesn't check file ownership mailing-list
- 20110211 VMSA-2011-0003 Third party component updates for VMware vCenter Server, vCenter Update Manager, ESXi and ESX mailing-list
- 40356 vdb-entry
- https://bugzilla.redhat.com/show_bug.cgi?id=595579
- ADV-2010-1857 vdb-entry