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."

— Ubuntu

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

— CISA

Affected Software

44 affected componentsFixes available
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
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
Linux Kernel
Google Android
debian/linux
3.2.82-13.16.36-1+deb8u24.7.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 3.2.82-1Fixed in 3.16.36-1+deb8u2Fixed in 4.7.8-1

Event History

Oct 13, 2016
Data Sourced
07:45 AM
DescriptionSeverityAffected Software
Oct 19, 2016
CVE Published
12:00 AM
Data Sourced
12:00 AM
Remedy
Data Sourced
via Ubuntu·12:00 AM
RemedyDescriptionSeverityAffected Software
Updated
via Ubuntu·12:00 AM
RemedyDescriptionAffected Software
Updated
via Ubuntu·12:00 AM
Description
Oct 21, 2016
Exploit Published
via GitHub·11:19 AM
Nov 10, 2016
CVE Published
via MITRE·09:00 PM
Data Sourced
via MITRE·09:00 PM
Description
Mar 3, 2022
Kev Listed
via CISA·12:00 AM
Data Sourced
via CISA·12:00 AM
DescriptionAffected Software
Data Sourced
via CISA·12:00 AM
Weakness
Updated
via CISA·12:00 AM
Affected Software
Sep 12, 2022
Data Sourced
via Red Hat·10:00 AM
DescriptionSeverityAffected Software
Jan 17, 2023
Data Sourced
09:00 PM
Weakness
Oct 27, 2023
Data Sourced
via Android·12:00 AM
SeverityAffected Software
Updated
12:00 AM
Affected Software
Nov 7, 2023
Data Sourced
via NVD·02:33 AM
RemedyDescriptionSeverityWeaknessAffected Software
Updated
02:33 AM
Affected Software
Feb 7, 2024
Updated
via Android·12:00 AM
Affected Software
Mar 11, 2024
Updated
via Android·12:00 AM
Affected Software
Apr 29, 2024
Updated
via Android·12:00 AM
Affected Software
Jul 24, 2024
Updated
via NVD·02:27 PM
SeverityAffected Software
Aug 26, 2024
Updated
via Android·12:00 AM
Affected Software
Nov 21, 2024
Updated
via NVD·02:53 AM
RemedyAffected Software
Jan 28, 2025
Updated
via NVD·05:30 PM
RemedyAffected Software
Jan 29, 2025
Updated
via NVD·06:15 PM
SeverityWeaknessAffected Software
Apr 2, 2025
News Published
via The Hacker News·10:43 AM
Apr 8, 2025
Updated
via NVD·06:12 PM
Affected Software
Apr 12, 2025
Updated
via NVD·10:46 AM
Affected Software
Aug 2, 2025
News Published
via The Hacker News·04:30 PM
Aug 22, 2025
News Published
via The Hacker News·11:06 AM
Oct 21, 2025
Updated
via NVD·07:16 PM
Affected Software
Oct 22, 2025
Updated
via NVD·12:15 AM
Affected Software
Jul 4, 2026
Updated
via Ubuntu·12:00 AM
Description

Parent advisories

This vulnerability appears in the following advisories.

Peer vulnerabilities

Found alongside the following vulnerabilities.

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