TOCTOU in mount.ecryptfs_private
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
eCryptfs |
Fix Released
|
High
|
Dustin Kirkland | ||
Fedora |
Fix Released
|
Undecided
|
Unassigned | ||
ecryptfs-utils (Debian) |
Fix Released
|
Undecided
|
Unassigned | ||
ecryptfs-utils (Ubuntu) |
Fix Released
|
High
|
Dustin Kirkland | ||
Hardy |
Invalid
|
Undecided
|
Unassigned | ||
Lucid |
Fix Released
|
High
|
Unassigned | ||
Maverick |
Fix Released
|
High
|
Unassigned | ||
Natty |
Fix Released
|
High
|
Unassigned | ||
Oneiric |
Fix Released
|
High
|
Dustin Kirkland | ||
linux (Ubuntu) |
Fix Released
|
Low
|
Unassigned | ||
Hardy |
Invalid
|
Low
|
Unassigned | ||
Lucid |
Fix Released
|
Low
|
Unassigned | ||
Maverick |
Fix Released
|
Low
|
Unassigned | ||
Natty |
Fix Released
|
Low
|
Unassigned | ||
Oneiric |
Fix Released
|
Low
|
Unassigned | ||
linux-ec2 (Ubuntu) |
Invalid
|
Low
|
Unassigned | ||
Hardy |
Invalid
|
Low
|
Unassigned | ||
Lucid |
Fix Released
|
Low
|
Unassigned | ||
Maverick |
Invalid
|
Low
|
Unassigned | ||
Natty |
Invalid
|
Low
|
Unassigned | ||
Oneiric |
Invalid
|
Low
|
Unassigned | ||
linux-fsl-imx51 (Ubuntu) |
Invalid
|
Low
|
Unassigned | ||
Hardy |
Invalid
|
Low
|
Unassigned | ||
Lucid |
Fix Released
|
Low
|
Unassigned | ||
Maverick |
Invalid
|
Low
|
Unassigned | ||
Natty |
Invalid
|
Low
|
Unassigned | ||
Oneiric |
Invalid
|
Low
|
Unassigned | ||
linux-linaro (Ubuntu) |
Won't Fix
|
Undecided
|
Unassigned | ||
Hardy |
Won't Fix
|
Undecided
|
Unassigned | ||
Lucid |
Won't Fix
|
Undecided
|
Unassigned | ||
Maverick |
Won't Fix
|
Undecided
|
Unassigned | ||
Natty |
Won't Fix
|
Undecided
|
Unassigned | ||
Oneiric |
Won't Fix
|
Undecided
|
Unassigned | ||
linux-lts-backport-maverick (Ubuntu) |
Invalid
|
Low
|
Unassigned | ||
Hardy |
Invalid
|
Low
|
Unassigned | ||
Lucid |
Fix Released
|
Low
|
Unassigned | ||
Maverick |
Invalid
|
Low
|
Unassigned | ||
Natty |
Invalid
|
Low
|
Unassigned | ||
Oneiric |
Invalid
|
Low
|
Unassigned | ||
linux-lts-backport-natty (Ubuntu) |
Invalid
|
Low
|
Unassigned | ||
Hardy |
Invalid
|
Low
|
Unassigned | ||
Lucid |
Fix Released
|
Low
|
Unassigned | ||
Maverick |
Invalid
|
Low
|
Unassigned | ||
Natty |
Invalid
|
Low
|
Unassigned | ||
Oneiric |
Invalid
|
Low
|
Unassigned | ||
linux-lts-backport-oneiric (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Hardy |
Invalid
|
Low
|
Unassigned | ||
Lucid |
Invalid
|
Low
|
Unassigned | ||
Maverick |
Invalid
|
Low
|
Unassigned | ||
Natty |
Invalid
|
Low
|
Unassigned | ||
Oneiric |
Invalid
|
Low
|
Unassigned | ||
linux-mvl-dove (Ubuntu) |
Invalid
|
Low
|
Unassigned | ||
Hardy |
Invalid
|
Low
|
Unassigned | ||
Lucid |
Fix Released
|
Low
|
Unassigned | ||
Maverick |
Fix Released
|
Low
|
Unassigned | ||
Natty |
Invalid
|
Low
|
Unassigned | ||
Oneiric |
Invalid
|
Low
|
Unassigned | ||
linux-qcm-msm (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Hardy |
Invalid
|
Undecided
|
Unassigned | ||
Lucid |
Invalid
|
Undecided
|
Unassigned | ||
Maverick |
Invalid
|
Undecided
|
Unassigned | ||
Natty |
Invalid
|
Undecided
|
Unassigned | ||
Oneiric |
Invalid
|
Undecided
|
Unassigned | ||
linux-source-2.6.15 (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Hardy |
Invalid
|
Undecided
|
Unassigned | ||
Lucid |
Invalid
|
Undecided
|
Unassigned | ||
Maverick |
Invalid
|
Undecided
|
Unassigned | ||
Natty |
Invalid
|
Undecided
|
Unassigned | ||
Oneiric |
Invalid
|
Undecided
|
Unassigned | ||
linux-ti-omap (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Hardy |
Invalid
|
Undecided
|
Unassigned | ||
Lucid |
Invalid
|
Undecided
|
Unassigned | ||
Maverick |
Invalid
|
Undecided
|
Unassigned | ||
Natty |
Invalid
|
Undecided
|
Unassigned | ||
Oneiric |
Invalid
|
Undecided
|
Unassigned | ||
linux-ti-omap4 (Ubuntu) |
Fix Released
|
Low
|
Unassigned | ||
Hardy |
Invalid
|
Low
|
Unassigned | ||
Lucid |
Invalid
|
Low
|
Unassigned | ||
Maverick |
Fix Released
|
Low
|
Unassigned | ||
Natty |
Fix Released
|
Low
|
Unassigned | ||
Oneiric |
Fix Released
|
Low
|
Unassigned |
Bug Description
check_ownerships() function doesn't work as it should because of a race condition. Arguments of both mount() and umount() calls can be changed between the check and the usage. This may lead to arbitrary mount point umounting or probably to gaining ability to try passphrases of otherpeople's ecryptfs storages. lock_counter() is also racy. It (1) tries to check existance and ownership of the file before open(), (2) neither use stat() instead of lstat() nor O_NOFOLLOW, (3) is not protected against deletion of the lock file by the owner. The lock file should be probably created in root only writable directory before dropping EUID.
Break-Fix: 237fead619984cc
Related branches
CVE References
- 2010-3296
- 2010-3297
- 2010-3858
- 2010-3859
- 2010-3880
- 2010-4073
- 2010-4076
- 2010-4077
- 2010-4080
- 2010-4081
- 2010-4082
- 2010-4083
- 2010-4157
- 2010-4158
- 2010-4162
- 2010-4163
- 2010-4169
- 2010-4175
- 2010-4242
- 2010-4243
- 2010-4248
- 2010-4251
- 2010-4256
- 2010-4565
- 2010-4649
- 2010-4805
- 2011-0463
- 2011-0695
- 2011-0711
- 2011-0726
- 2011-1010
- 2011-1012
- 2011-1013
- 2011-1016
- 2011-1017
- 2011-1019
- 2011-1020
- 2011-1078
- 2011-1079
- 2011-1080
- 2011-1082
- 2011-1090
- 2011-1093
- 2011-1160
- 2011-1163
- 2011-1169
- 2011-1170
- 2011-1171
- 2011-1172
- 2011-1173
- 2011-1180
- 2011-1478
- 2011-1493
- 2011-1494
- 2011-1576
- 2011-1577
- 2011-1581
- 2011-1598
- 2011-1748
- 2011-1770
- 2011-1776
- 2011-1831
- 2011-1832
- 2011-1833
- 2011-1834
- 2011-1835
- 2011-1836
- 2011-1837
- 2011-2213
- 2011-2484
- 2011-2492
- 2011-2493
- 2011-2494
- 2011-2495
- 2011-2497
- 2011-2534
- 2011-2689
- 2011-2695
- 2011-2699
- 2011-2700
- 2011-2723
- 2011-2918
- 2011-2928
- 2011-3191
Changed in ecryptfs-utils (Ubuntu): | |
status: | Fix Released → Confirmed |
Changed in ecryptfs-utils (Ubuntu Lucid): | |
status: | New → Confirmed |
Changed in ecryptfs-utils (Ubuntu Maverick): | |
status: | New → Confirmed |
Changed in ecryptfs-utils (Ubuntu Natty): | |
status: | New → Confirmed |
Changed in ecryptfs-utils (Ubuntu Lucid): | |
importance: | Undecided → High |
Changed in ecryptfs-utils (Ubuntu Maverick): | |
importance: | Undecided → High |
Changed in ecryptfs-utils (Ubuntu Natty): | |
importance: | Undecided → High |
visibility: | private → public |
Changed in linux-ec2 (Ubuntu Oneiric): | |
status: | New → Invalid |
Changed in linux-ec2 (Ubuntu Hardy): | |
status: | New → Invalid |
Changed in linux-ec2 (Ubuntu Maverick): | |
status: | New → Invalid |
Changed in linux-ec2 (Ubuntu Natty): | |
status: | New → Invalid |
Changed in linux-lts-backport-natty (Ubuntu Oneiric): | |
status: | New → Invalid |
Changed in linux-lts-backport-natty (Ubuntu Hardy): | |
status: | New → Invalid |
Changed in linux-lts-backport-natty (Ubuntu Maverick): | |
status: | New → Invalid |
Changed in linux-lts-backport-natty (Ubuntu Natty): | |
status: | New → Invalid |
Changed in linux-mvl-dove (Ubuntu Oneiric): | |
status: | New → Invalid |
Changed in linux-mvl-dove (Ubuntu Hardy): | |
status: | New → Invalid |
Changed in linux-mvl-dove (Ubuntu Natty): | |
status: | New → Invalid |
Changed in linux-lts-backport-maverick (Ubuntu Oneiric): | |
status: | New → Invalid |
Changed in linux-lts-backport-maverick (Ubuntu Hardy): | |
status: | New → Invalid |
Changed in linux-lts-backport-maverick (Ubuntu Maverick): | |
status: | New → Invalid |
Changed in linux-lts-backport-maverick (Ubuntu Natty): | |
status: | New → Invalid |
Changed in linux-ti-omap4 (Ubuntu Lucid): | |
status: | New → Invalid |
Changed in linux-ti-omap4 (Ubuntu Hardy): | |
status: | New → Invalid |
Changed in linux-fsl-imx51 (Ubuntu Oneiric): | |
status: | New → Invalid |
Changed in linux-fsl-imx51 (Ubuntu Hardy): | |
status: | New → Invalid |
Changed in linux-fsl-imx51 (Ubuntu Maverick): | |
status: | New → Invalid |
Changed in linux-fsl-imx51 (Ubuntu Natty): | |
status: | New → Invalid |
description: | updated |
Changed in linux-ti-omap (Ubuntu Hardy): | |
status: | New → Invalid |
Changed in linux-source-2.6.15 (Ubuntu Lucid): | |
status: | New → Invalid |
Changed in linux-source-2.6.15 (Ubuntu Maverick): | |
status: | New → Invalid |
Changed in linux-source-2.6.15 (Ubuntu Natty): | |
status: | New → Invalid |
Changed in linux-source-2.6.15 (Ubuntu Oneiric): | |
status: | New → Invalid |
Changed in linux-source-2.6.15 (Ubuntu Hardy): | |
status: | New → Invalid |
Changed in linux-ti-omap (Ubuntu Lucid): | |
status: | New → Invalid |
Changed in linux-ti-omap (Ubuntu Maverick): | |
status: | New → Invalid |
Changed in linux-ti-omap (Ubuntu Natty): | |
status: | New → Invalid |
Changed in linux-ti-omap (Ubuntu Oneiric): | |
status: | New → Invalid |
description: | updated |
Changed in linux (Ubuntu Lucid): | |
status: | New → Fix Committed |
Changed in linux (Ubuntu Hardy): | |
status: | New → Invalid |
Changed in linux (Ubuntu Maverick): | |
status: | New → Fix Committed |
Changed in linux (Ubuntu Natty): | |
status: | New → Fix Committed |
Changed in linux (Ubuntu Oneiric): | |
status: | New → Fix Committed |
Changed in linux-ec2 (Ubuntu Lucid): | |
status: | New → Fix Committed |
importance: | Undecided → Low |
Changed in linux-ec2 (Ubuntu Oneiric): | |
importance: | Undecided → Low |
Changed in linux-ec2 (Ubuntu Hardy): | |
importance: | Undecided → Low |
Changed in linux-ec2 (Ubuntu Maverick): | |
importance: | Undecided → Low |
Changed in linux-ec2 (Ubuntu Natty): | |
importance: | Undecided → Low |
Changed in linux-lts-backport-natty (Ubuntu Lucid): | |
status: | New → Fix Committed |
importance: | Undecided → Low |
Changed in linux-lts-backport-natty (Ubuntu Oneiric): | |
importance: | Undecided → Low |
Changed in linux-lts-backport-natty (Ubuntu Hardy): | |
importance: | Undecided → Low |
Changed in linux-lts-backport-natty (Ubuntu Maverick): | |
importance: | Undecided → Low |
Changed in linux-lts-backport-natty (Ubuntu Natty): | |
importance: | Undecided → Low |
Changed in linux-mvl-dove (Ubuntu Lucid): | |
status: | New → Fix Committed |
importance: | Undecided → Low |
Changed in linux-mvl-dove (Ubuntu Oneiric): | |
importance: | Undecided → Low |
Changed in linux-mvl-dove (Ubuntu Hardy): | |
importance: | Undecided → Low |
Changed in linux-mvl-dove (Ubuntu Maverick): | |
status: | New → Fix Committed |
importance: | Undecided → Low |
Changed in linux-mvl-dove (Ubuntu Natty): | |
importance: | Undecided → Low |
Changed in linux-lts-backport-maverick (Ubuntu Lucid): | |
status: | New → Fix Committed |
importance: | Undecided → Low |
Changed in linux-lts-backport-maverick (Ubuntu Oneiric): | |
importance: | Undecided → Low |
Changed in linux-lts-backport-maverick (Ubuntu Hardy): | |
importance: | Undecided → Low |
Changed in linux-lts-backport-maverick (Ubuntu Maverick): | |
importance: | Undecided → Low |
Changed in linux-lts-backport-maverick (Ubuntu Natty): | |
importance: | Undecided → Low |
Changed in linux (Ubuntu Lucid): | |
importance: | Undecided → Low |
Changed in linux (Ubuntu Oneiric): | |
importance: | Undecided → Low |
Changed in linux (Ubuntu Hardy): | |
importance: | Undecided → Low |
Changed in linux (Ubuntu Maverick): | |
importance: | Undecided → Low |
Changed in linux (Ubuntu Natty): | |
importance: | Undecided → Low |
Changed in linux-ti-omap4 (Ubuntu Lucid): | |
importance: | Undecided → Low |
Changed in linux-ti-omap4 (Ubuntu Oneiric): | |
status: | New → Fix Committed |
importance: | Undecided → Low |
Changed in linux-ti-omap4 (Ubuntu Hardy): | |
importance: | Undecided → Low |
Changed in linux-ti-omap4 (Ubuntu Maverick): | |
status: | New → Fix Committed |
importance: | Undecided → Low |
Changed in linux-ti-omap4 (Ubuntu Natty): | |
status: | New → Fix Committed |
importance: | Undecided → Low |
Changed in linux-fsl-imx51 (Ubuntu Lucid): | |
status: | New → Fix Committed |
importance: | Undecided → Low |
Changed in linux-fsl-imx51 (Ubuntu Oneiric): | |
importance: | Undecided → Low |
Changed in linux-fsl-imx51 (Ubuntu Hardy): | |
importance: | Undecided → Low |
Changed in linux-fsl-imx51 (Ubuntu Maverick): | |
importance: | Undecided → Low |
Changed in linux-fsl-imx51 (Ubuntu Natty): | |
importance: | Undecided → Low |
tags: | added: kernel-cve-tracking-bug |
Changed in ecryptfs-utils (Ubuntu Hardy): | |
status: | New → Invalid |
Changed in ecryptfs: | |
status: | Triaged → Fix Released |
Changed in linux-qcm-msm (Ubuntu Hardy): | |
status: | New → Invalid |
Changed in linux-qcm-msm (Ubuntu Lucid): | |
status: | New → Invalid |
Changed in linux-qcm-msm (Ubuntu Maverick): | |
status: | New → Invalid |
Changed in linux-qcm-msm (Ubuntu Natty): | |
status: | New → Invalid |
Changed in linux-qcm-msm (Ubuntu Oneiric): | |
status: | New → Invalid |
Changed in linux-lts-backport-oneiric (Ubuntu Oneiric): | |
status: | New → Invalid |
importance: | Undecided → Low |
Changed in linux-lts-backport-oneiric (Ubuntu Lucid): | |
status: | New → Invalid |
importance: | Undecided → Low |
Changed in linux-lts-backport-oneiric (Ubuntu Hardy): | |
status: | New → Invalid |
importance: | Undecided → Low |
Changed in linux-lts-backport-oneiric (Ubuntu Maverick): | |
status: | New → Invalid |
importance: | Undecided → Low |
Changed in linux-lts-backport-oneiric (Ubuntu Natty): | |
status: | New → Invalid |
importance: | Undecided → Low |
Changed in linux-ti-omap4 (Ubuntu Oneiric): | |
status: | Fix Committed → Fix Released |
Changed in linux-lts-backport-oneiric (Ubuntu): | |
status: | New → Invalid |
Changed in linux-ti-omap4 (Ubuntu): | |
status: | Fix Committed → Fix Released |
Thanks for the report. I'll get this fixed.