CVE-2016-6213: Medium severity Linux Linux kernel vulnerability

Published Jul 14, 2016
·
Updated

fs/namespace.c in the Linux kernel before 4.9 does not restrict how many mounts may exist in a mount namespace, which allows local users to cause a denial of service (memory consumption and deadlock) via MSBIND mount system calls, as demonstrated by a loop that triggers exponential growth in the number of mounts.

Other sources

It was found that in Linux kernel the mount table expands by a power-of-two with each bind mount command. If a system is configured to allow non-privileged user to do bind mounts, or allows to do so in a container or unprivileged mount namespace, then non-privileged user is able to cause a local DoS by overflowing the mount table, which causes a deadlock for the whole system.

CVE request:

http://seclists.org/oss-sec/2016/q3/56

Proofs:

http://seclists.org/oss-sec/2016/q3/65

http://seclists.org/oss-sec/2016/q3/75

Discussions:

https://lkml.org/lkml/2013/6/17/143

— Red Hat

Affected Software

28 affected componentsFixes available
Linux Linux kernel<=4.8.15
debian/linux
5.10.223-15.10.234-16.1.129-16.1.135-16.12.25-1
ubuntu/linux<3.13.0-106.153
3.13.0-106.153
ubuntu/linux-lts-vivid<3.19.0-78.86~14.04.1
3.19.0-78.86~14.04.1
ubuntu/linux-lts-xenial<4.4.0-57.78~14.04.1
4.4.0-57.78~14.04.1
ubuntu/linux<4.4.0-57.78
4.4.0-57.78
ubuntu/linux-raspi2<4.4.0-1038.45
4.4.0-1038.45
ubuntu/linux-snapdragon<4.4.0-1042.46
4.4.0-1042.46
ubuntu/linux-azure*
ubuntu/linux-gcp*
ubuntu/linux-hwe*
ubuntu/linux-hwe-edge*
ubuntu/linux-azure-fde*
ubuntu/linux-azure-fde-5.15*
ubuntu/linux-gke*
ubuntu/linux-gkeop*
ubuntu/linux-raspi2*
ubuntu/linux-riscv*
ubuntu/linux-intel-iot-realtime*
ubuntu/linux-realtime*
ubuntu/linux-riscv*
ubuntu/linux-azure-6.11*
ubuntu/linux-gcp-6.11*
ubuntu/linux-hwe-6.11*
ubuntu/linux-lowlatency-hwe-6.11*
ubuntu/linux-raspi-realtime*
ubuntu/linux-realtime*
ubuntu/linux-riscv*

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 5.10.223-1Fixed in 5.10.234-1Fixed in 6.1.129-1Fixed in 6.1.135-1Fixed in 6.12.25-1
  2. Upgrade

    Upgrade ubuntu/linux to a version that resolves this vulnerability.

    Fixed in 3.13.0-106.153
  3. Upgrade

    Upgrade ubuntu/linux-lts-vivid to a version that resolves this vulnerability.

    Fixed in 3.19.0-78.86~14.04.1
  4. Upgrade

    Upgrade ubuntu/linux-lts-xenial to a version that resolves this vulnerability.

    Fixed in 4.4.0-57.78~14.04.1
  5. Upgrade

    Upgrade ubuntu/linux to a version that resolves this vulnerability.

    Fixed in 4.4.0-57.78
  6. Upgrade

    Upgrade ubuntu/linux-raspi2 to a version that resolves this vulnerability.

    Fixed in 4.4.0-1038.45
  7. Upgrade

    Upgrade ubuntu/linux-snapdragon to a version that resolves this vulnerability.

    Fixed in 4.4.0-1042.46
  8. Upgrade

    Upgrade Linux kernel to a version that resolves this vulnerability.

    Fixed in 4.9

Event History

Jul 14, 2016
CVE Published
via OSV·12:00 AM
Data Sourced
via OSV·12:00 AM
DescriptionSeverityAffected Software
Data Sourced
via Red Hat·08:09 AM
DescriptionSeverityAffected Software
Dec 28, 2016
CVE Published
via MITRE·07:42 AM
Data Sourced
via MITRE·07:42 AM
Description

Frequently Asked Questions

1

What is CVE-2016-6213?

CVE-2016-6213 is a vulnerability in the Linux kernel that allows local users to cause a denial of service (memory consumption and deadlock) via MS_BIND mount system calls.

2

What is the severity of CVE-2016-6213?

The severity of CVE-2016-6213 is low.

3

How does CVE-2016-6213 affect Linux?

CVE-2016-6213 affects the Linux kernel versions before 4.9.

4

How can I fix CVE-2016-6213?

To fix CVE-2016-6213, update your Linux kernel to version 4.9 or later.

5

Where can I find more information about CVE-2016-6213?

You can find more information about CVE-2016-6213 at the following references: - [Reference 1](http://seclists.org/oss-sec/2016/q3/56) - [Reference 2](http://seclists.org/oss-sec/2016/q3/65) - [Reference 3](http://seclists.org/oss-sec/2016/q3/75)

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