CVE-2011-3585: Race Condition

Published Oct 3, 2011
·
Updated

A race condition was found in the way 'mount.cifs' and 'umount.cifs' utilities performed mount / umount of a particular CIFS share to / from specified mount point (/etc/mtab~ lockfile was created before updating the /etc/mtab file and deleted once the operation completed), when these utilies were setuid root enabled. A local attacker could use this flaw to conduct denial of service attacks (failure of subsequent CIFS share umount / mount requests) by sending termination signal to 'mount.cifs' / 'umount.cifs' processes in the moment of existence of a stale (/etc/mtab~) lockfile.

References: [1] https://bugzilla.samba.org/showbug.cgi?id=7179 (upstream bug report) [2] http://git.samba.org/?p=cifs-utils.git;a=commitdiff;h=810f7e4e0f2dbcbee0294d9b371071cb08268200 (upstream patch) [3] http://www.openwall.com/lists/oss-security/2011/09/27/1 (CVE request) [4] http://www.openwall.com/lists/oss-security/2011/09/30/5 (CVE assignment)

Note: This flaw to be exploitable as described above requires the 'mount.cifs' / 'umount.cifs' utilities to be setuid root enabled. These utilities are not setuid root enabled on Red Hat Enterprise Linux and Fedora distributions, and thus these distributions as such are not vulnerable to this flaw.

Other sources

Multiple race conditions in the (1) mount.cifs and (2) umount.cifs programs in Samba 3.6 allow local users to cause a denial of service (mounting outage) via a SIGKILL signal during a time window when the /etc/mtab~ file exists.

MITRE

Affected Software

4 affected components
Samba Samba=3.6.0
redhat Enterprise Linux=4.0
redhat Enterprise Linux=6.0
redhat Enterprise Linux=5.0

Event History

Oct 3, 2011
Data Sourced
11:04 AM
DescriptionSeverityAffected Software
Dec 31, 2019
CVE Published
via MITRE·07:47 PM
Data Sourced
via MITRE·07:47 PM
DescriptionWeakness

Frequently Asked Questions

1

What is the vulnerability ID for this vulnerability?

The vulnerability ID for this vulnerability is CVE-2011-3585.

2

What is the severity of CVE-2011-3585?

The severity of CVE-2011-3585 is medium.

3

What software is affected by CVE-2011-3585?

The affected software includes Samba 3.6.0, Redhat Enterprise Linux 4.0, 6.0, and 5.0.

4

How can local users exploit CVE-2011-3585?

Local users can exploit CVE-2011-3585 by sending a SIGKILL signal during a time window when the /etc/mtab~ file exists.

5

Are there any references for CVE-2011-3585?

Yes, you can find references for CVE-2011-3585 at the following links: [link1](https://bugzilla.redhat.com/show_bug.cgi?id=742907), [link2](https://www.openwall.com/lists/oss-security/2011/09/27/1), [link3](https://www.openwall.com/lists/oss-security/2011/09/30/5).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203