Description
Race condition in the ecryptfs_mount function in fs/ecryptfs/main.c in the eCryptfs subsystem in the Linux kernel before 3.1 allows local users to bypass intended file permissions via a mount.ecryptfs_private mount with a mismatched uid.
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.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | ecryptfs-utils | 92-1 | — |
| Debian 13 | ecryptfs-utils | 92-1 | — |
| Debian 12 | ecryptfs-utils | 92-1 | — |
| Debian 6.0 | linux-2.6 | 2.6.32-41squeeze2 | DSA-2443-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 6 | perf +14 | 2.6.32-131.17.1.el6 | RHSA-2011:1350 |
| RHEL 5 | kernel +11 | 2.6.18-274.7.1.el5 | RHSA-2011:1386 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | ecryptfs-utils | 108-2.5 | openSUSE-SU-2024:10118-1 |
Advisories 4
- RHSA-2011:1386 Red Hat Security Advisory: kernel security, bug fix, and enhancement update Red Hat Security Advisories (RHSA) · Jun 28, 2026
- RHSA-2011:1350 Red Hat Security Advisory: kernel security, bug fix, and enhancement update Red Hat Security Advisories (RHSA) · Jun 28, 2026
- DSA-2443-1 linux-2.6 - several Debian Security (DSA / DLA) · Mar 9, 2026
- openSUSE-SU-2024:10118-1 ecryptfs-utils-108-2.5 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
References
- https://github.com/torvalds/linux/commit/764355487ea220fdc2faf128d577d7f679b91f97
- SUSE-SU-2011:0898 vendor-advisory
- http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=764355487ea220fdc2faf128d577d7f679b91f97
- https://bugzilla.redhat.com/show_bug.cgi?id=731172
- USN-1188-1 vendor-advisory
- http://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.1