CVE-2016-5195: Linux Kernel Race Condition Vulnerability

Published Oct 13, 2016
·
Updated

A race condition was found in the way Linux kernel's memory subsystem handled breakage of the read only private mappings COW situation on write access.

An unprivileged local user could use this flaw to gain write access to otherwise read only memory mappings and thus increase their privileges on the system.

Red Hat is aware of this issue and if you have questions about the affectedness of your system please contact Red Hat Support. For additional information see https://access.redhat.com/security/vulnerabilities/2706661

Other sources

Race condition in mm/gup.c in the Linux kernel 2.x through 4.x before 4.8.3 allows local users to gain privileges by leveraging incorrect handling of a copy-on-write (COW) feature to write to a read-only memory mapping, as exploited in the wild in October 2016, aka "Dirty COW."

Race condition in mm/gup.c in the Linux kernel allows local users to escalate privileges.

CISA

Affected Software

44 affected componentsFixes available
Linux Kernel
Canonical Ubuntu Linux=12.04
Canonical Ubuntu Linux=14.04
Canonical Ubuntu Linux=16.04
Canonical Ubuntu Linux=16.10
Linux Linux kernel>=2.6.22<3.2.83
Linux Linux kernel>=3.3<3.4.113
Linux Linux kernel>=3.5<3.10.104
Linux Linux kernel>=3.11<3.12.66
Linux Linux kernel>=3.13<3.16.38
Linux Linux kernel>=3.17<3.18.44
Linux Linux kernel>=3.19<4.1.35
Linux Linux kernel>=4.2<4.4.26
Linux Linux kernel>=4.5<4.7.9
Linux Linux kernel>=4.8<4.8.3
redhat Enterprise Linux=5
redhat Enterprise Linux=6.0
redhat Enterprise Linux=7.0
redhat Enterprise Linux Aus=6.2
redhat Enterprise Linux Aus=6.4
redhat Enterprise Linux Aus=6.5
redhat Enterprise Linux Eus=6.6
redhat Enterprise Linux Eus=6.7
redhat Enterprise Linux Eus=7.1
redhat Enterprise Linux Long Life=5.6
redhat Enterprise Linux Long Life=5.9
redhat Enterprise Linux Tus=6.5
Debian Debian Linux=7.0
Debian Debian Linux=8.0
Google Android
Fedoraproject Fedora=23
Fedoraproject Fedora=24
Fedoraproject Fedora=25
Palo Alto Networks PAN-OS>=5.1<7.0.14
Palo Alto Networks PAN-OS>=7.1.0<7.1.8
NetApp Cloud Backup
NetApp Hci Storage Nodes
NetApp OnCommand Balance
NetApp Oncommand Performance Manager
NetApp OnCommand Unified Manager for Clustered Data ONTAP
NetApp ONTAP Select Deploy administration utility
NetApp Snapprotect
NetApp Solidfire
debian/linux
5.10.223-15.10.262-16.1.176-16.1.180-16.12.94-16.12.101-17.1.7-17.1.8-1

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.262-1Fixed in 6.1.176-1Fixed in 6.1.180-1Fixed in 6.12.94-1Fixed in 6.12.101-1Fixed in 7.1.7-1Fixed in 7.1.8-1
  2. Upgrade

    Upgrade Linux kernel to a version that resolves this vulnerability.

    Fixed in 4.8.3
  3. Compensating control

    Apply Red Hat Support guidance for affectedness assessment (Red Hat is aware of the issue; contact Red Hat Support if you have questions about whether your system is affected).

Event History

Oct 13, 2016
Data Sourced
via Red Hat·07:45 AM
DescriptionSeverityAffected Software
Nov 10, 2016
CVE Published
via MITRE·09:00 PM
Data Sourced
via MITRE·09:00 PM
Description
Data Sourced
via NVD·09:59 PM
RemedyDescriptionSeverityWeaknessAffected Software
Dec 5, 2016
Data Sourced
via Android·12:00 AM
SeverityAffected Software
Mar 3, 2022
Known Exploited
via CISA·12:00 AM
Aug 6, 2025
Data Sourced
via Launchpad·02:20 AM
Description
Jul 16, 2026
Data Sourced
via Ubuntu·11:09 AM
RemedyDescriptionSeverityAffected Software
Aug 12, 2026
Data Sourced
via Debian·11:31 AM
DescriptionAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2016-5195?

CVE-2016-5195 is considered a high severity vulnerability due to its potential for privilege escalation.

2

How do I fix CVE-2016-5195?

To fix CVE-2016-5195, update your Linux kernel to a version that has addressed this vulnerability.

3

Which Linux kernel versions are affected by CVE-2016-5195?

CVE-2016-5195 affects multiple versions of the Linux kernel from 2.6.22 up to version 4.8.3.

4

Can unprivileged users exploit CVE-2016-5195?

Yes, unprivileged local users can exploit CVE-2016-5195 to gain unauthorized write access to read-only memory mappings.

5

What systems are impacted by CVE-2016-5195?

CVE-2016-5195 impacts various systems, including Ubuntu, Red Hat Enterprise Linux, and Debian.

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