Linux Kernel
Linux Kernel Race Condition Vulnerability
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."
Timeline
Days relative to CVE publicationFirst public PoC 23 days before publication; added to CISA KEV 5.3 years after publication. First PoC: Linux Kernel 2.6.22 < 3.9 - 'Dirty COW' /proc/self/mem Race Condition (Write Access Method) (Exploit-DB, 19 Oct 2016).
PoC repositories
Found on GitHub.54 PoCs · 11 pending · 27 informational · 5 not a PoC · 16 suspicious or fake
PoCs 54
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| ASRTeam/CVE-2016-5195 | 21 Oct 2016 −21 d | 1 | PoC via PoC Index
Flags · score 30
Below the suspicion threshold (50); does not change the assessment. |
| timwr/CVE-2016-5195 | 21 Oct 2016 −20 d | 1,023 | PoC |
| xlucas/dirtycow.cr | 21 Oct 2016 −20 d | 13 | PoC older repo: PoC date unknown, not used for the first PoC |
| scumjr/dirtycow-vdso | 22 Oct 2016 −19 d | 512 | PoC older repo: PoC date unknown, not used for the first PoC |
| gbonacini/CVE-2016-5195 | 23 Oct 2016 −19 d | 342 | PoC |
| DavidBuchanan314/cowroot | 24 Oct 2016 −17 d | 32 | PoC older repo: PoC date unknown, not used for the first PoC |
| gebl/dirtycow-docker-vdso | 25 Oct 2016 −16 d | 144 | PoC older repo: PoC date unknown, not used for the first PoC |
| aishee/scan-dirtycow | 29 Oct 2016 −13 d | 16 | Scanner
Flags · score 15
Below the suspicion threshold (50); does not change the assessment. |
| ldenevi/CVE-2016-5195 | 6 Nov 2016 −4.3 d | 0 | PoC via PoC Index |
| whu-enjoy/CVE-2016-5195 | 17 Nov 2016 +6.2 d | 10 | PoC |
| ndobson/inspec_CVE-2016-5195 | 8 Dec 2016 +28 d | 0 | PoC |
| hack0ps/exploits | 24 Dec 2016 +44 d | 0 | PoC via PoC Index |
| lmarqueta/exploits | 24 Dec 2016 +44 d | 0 | PoC via PoC Index |
| sribaba/android-CVE-2016-5195 | 15 Jan 2017 +65 d | 0 | PoC
Flags · score 30
Below the suspicion threshold (50); does not change the assessment. |
| hyln9/VIKIROOT | 20 Jan 2017 +70 d | 271 | PoC |
| 56KbModem/Internship | 7 Feb 2017 +89 d | 0 | PoC
Flags · score 30
Below the suspicion threshold (50); does not change the assessment. |
| samknp/killcow | 16 Feb 2017 +97 d | 0 | PoC via PoC Index
Flags · score 30
Below the suspicion threshold (50); does not change the assessment. |
| samknp/realcow | 17 Feb 2017 +98 d | 0 | PoC via PoC Index
Flags · score 30
Below the suspicion threshold (50); does not change the assessment. |
| KoreaSecurity/Container_attack | 5 Apr 2017 +146 d | 0 | PoC |
| naftalyava/DirtyCow-Exploit | 11 Apr 2017 +152 d | 1 | PoC via PoC Index |
| titanhp/Dirty-COW-CVE-2016-5195-Testing | 19 Oct 2017 +342 d | 1 | PoC |
| acidburnmi/CVE-2016-5195-master | 6 Dec 2017 +1.1 y | 0 | PoC via PoC Index |
| davidqphan/DirtyCow | 13 Dec 2017 +1.1 y | 2 | PoC via PoC Index |
| rvolosatovs/mooshy | 9 Mar 2018 +1.3 y | 0 | PoC |
| xpcmdshell/derpyc0w | 11 Apr 2018 +1.4 y | 0 | PoC via PoC Index |
| pyCity/Wiggles | 28 Feb 2019 +2.3 y | 0 | PoC via PoC Index |
| shayideep/DataSecurity- | 26 Mar 2019 +2.4 y | 0 | PoC via PoC Index |
| artemgurzhii/dirty-cow-root-exploit | 7 Apr 2019 +2.4 y | 4 | PoC via PoC Index |
| imust6226/dirtcow | 22 Oct 2019 +2.9 y | 9 | PoC via PoC Index |
| Hetti/PoC-Exploitchain-GS-VBox-DirtyCow- | 27 Dec 2019 +3.1 y | 2 | PoC via PoC Index |
| www-glasswall-nl/UT-DirtyCow | 19 Nov 2020 +4.0 y | 0 | PoC via PoC Index
Flags · score 30
Below the suspicion threshold (50); does not change the assessment. |
| DanielEbert/dirtycow-vdsopart2 | 8 Dec 2020 +4.1 y | 0 | PoC |
| DanielEbert/dirtycow-vdso | 8 Dec 2020 +4.1 y | 0 | PoC |
| DanielEbert/CVE-2016-5195 | 20 Dec 2020 +4.1 y | 2 | PoC via PoC Index |
| arttnba3/CVE-2016-5195 | 16 Apr 2021 +4.4 y | 3 | PoC |
| talsim/root-dirtyc0w | 6 Oct 2021 +4.9 y | 5 | PoC via PoC Index |
| Somchandra17/Privilege-Escalation-For-Linux | 3 Jan 2022 +5.1 y | 6 | PoC via PoC Index |
| ArkAngeL43/CVE-2016-5195 | 8 Apr 2022 +5.4 y | 1 | PoC via PoC Index |
| TotallyNotAHaxxer/CVE-2016-5195 | 8 Apr 2022 +5.4 y | 1 | PoC via PoC Index |
| X0RW3LL/XenSpawn | 16 Nov 2022 +6.0 y | 165 | PoC via PoC Index |
| fei9747/CVE-2016-5195 | 29 Nov 2022 +6.0 y | 0 | PoC via PoC Index |
| LinuxKernelContent/DirtyCow | 8 Feb 2023 +6.2 y | 3 | PoC via PoC Index
Flags · score 30
Below the suspicion threshold (50); does not change the assessment. |
| MiguelHIteso/DirtyCow | 12 May 2023 +6.5 y | 0 | PoC via PoC Index |
| 43622283/docker-dirtycow | 19 May 2023 +6.5 y | 0 | PoC via PoC Index |
| EDLLT/CVE-2016-5195-master | 29 Nov 2023 +7.0 y | 0 | PoC |
| ZhiQiAnSecFork/DirtyCOW_CVE-2016-5195 | 15 Dec 2023 +7.1 y | 0 | PoC |
| Danyw24/dirtycow2- | 3 Dec 2024 +8.1 y | 0 | PoC via PoC Index |
| Z1pburg3r/dirtycow | 18 Jun 2025 +8.6 y | 0 | PoC via PoC Index |
| bugbounty88/dirtycow_exploit | 12 Jul 2025 +8.7 y | 1 | PoC via PoC Index |
| MarioAlejos-Cs/dirtycow-lab | 22 Aug 2025 +8.8 y | 0 | PoC
Flags · score 15
Below the suspicion threshold (50); does not change the assessment. |
| ramahmdr/dirtycow | 22 Jan 2026 +9.2 y | 0 | PoC via PoC Index |
| KongQBin/CVE-2016-5195 | 26 Aug 2026 +9.8 y | 0 | PoC via PoC Index |
| vudangducminh/CVE-2016-5195 | 14 Sep 2026 +9.8 y | 0 | PoC via PoC Index |
| Mr-Ochobot/CVE-2016-5195 | 14 Oct 2026 +9.9 y | 31 | PoC |
Pending 11
| Repository | Created | Found by us | Stars | Assessment |
|---|---|---|---|---|
| sideeffect42/DirtyCOWTester | 22 Oct 2016 −20 d | backfilled | 7 | Pending
Flags · score 15
Below the suspicion threshold (50); does not change the assessment. |
| oleg-fiksel/ansible_CVE-2016-5195_check | 29 Oct 2016 −12 d | backfilled | 6 | Pending
Flags · score 15
Below the suspicion threshold (50); does not change the assessment. |
| FloridSleeves/os-experiment-4 | 16 Jun 2017 +218 d | backfilled | 2 | Pending
Flags · score 15
Below the suspicion threshold (50); does not change the assessment. |
| arbll/dirtycow | 11 Oct 2017 +335 d | backfilled | 1 | Pending
Flags · score 15
Below the suspicion threshold (50); does not change the assessment. |
| KaviDk/dirtyCow | 12 May 2020 +3.5 y | backfilled | 0 | Pending
Flags · score 15
Below the suspicion threshold (50); does not change the assessment. |
| mohammadamin382/dirtycow-lab | 31 Jul 2025 +8.7 y | backfilled | 0 | Pending
Flags · score 15
Below the suspicion threshold (50); does not change the assessment. |
| kafkaan/Cybersecurity | 20 Aug 2025 +8.8 y | backfilled | 1 | Pending · repository exceeds size limit via PoC Index |
| rauljvc8/Exploit-Dirty-Cow | 16 May 2026 +9.5 y | backfilled | 0 | Pending · mkdir /quarantine/rauljvc8__Exploit-Dirty-Cow-75f010cc2999: permission denied |
| federiconbaez/cortex9-dirtycow-gup-cow-state-model | 6 Nov 2026 +10.0 y | 14 Nov 2026 | 0 | Pending
Flags · score 15
Below the suspicion threshold (50); does not change the assessment. |
| mlucianoeze/linux-backport-CVE-2016-5195 | 12 Nov 2026 +10.0 y | 14 Nov 2026 | 0 | Pending |
| imfiver/CVE-2022-0847 | unknown | backfilled | 0 | Pending · repository unavailable (HTTP 404) via PoC Index · not checked yet |
Informational 27
| Repository | Created | Found by us | Stars | Assessment |
|---|---|---|---|---|
| istenrot/centos-dirty-cow-ansible | 21 Oct 2016 −20 d | backfilled | 0 | Informational · detection
Flags · score 15
Below the suspicion threshold (50); does not change the assessment. |
| pgporada/ansible-role-cve | 22 Oct 2016 −20 d | backfilled | 10 | Informational · detection
Flags · score 15
Below the suspicion threshold (50); does not change the assessment. |
| droidvoider/dirtycow-replacer | 18 Mar 2017 +127 d | backfilled | 4 | Informational · detection
Flags · score 15
Below the suspicion threshold (50); does not change the assessment. |
| Brucetg/DirtyCow-EXP | 27 May 2018 +1.5 y | backfilled | 141 | Informational · write-up |
| shanuka-ashen/Dirty-Cow-Explanation-CVE-2016-5195- | 11 May 2020 +3.5 y | backfilled | 0 | Informational · write-up |
| dulanjaya23/Dirty-Cow-CVE-2016-5195- | 12 May 2020 +3.5 y | backfilled | 0 | Informational · write-up
Flags · score 30
Below the suspicion threshold (50); does not change the assessment. |
| sandeeparth07/CVE-2016_5195-vulnarability | 12 May 2020 +3.5 y | backfilled | 0 | Informational · write-up |
| nazgul6092/2nd-Year-Project-01-Linux-Exploitation-using-CVE-20166-5195 | 15 Jan 2022 +5.2 y | backfilled | 0 | Informational · write-up |
| KasunPriyashan/Y2S1-Project-Linux-Exploitaion-using-CVE-2016-5195-Vulnerability | 17 Jan 2022 +5.2 y | backfilled | 0 | Informational · write-up
Flags · score 30
Below the suspicion threshold (50); does not change the assessment. |
| passionchenjianyegmail8/scumjrs | 26 Apr 2022 +5.5 y | backfilled | 0 | Informational · write-up
Flags · score 30
Below the suspicion threshold (50); does not change the assessment. |
| malinthag62/The-exploitation-of-Dirty-Cow-CVE-2016-5195 | 18 May 2022 +5.5 y | backfilled | 1 | Informational · write-up
Flags · score 30
Below the suspicion threshold (50); does not change the assessment. |
| NguyenCongHaiNam/Research-CVE-2016-5195 | 26 Oct 2023 +7.0 y | backfilled | 0 | Informational · write-up |
| h1n4mx0/Research-CVE-2016-5195 | 26 Oct 2023 +7.0 y | backfilled | 0 | Informational · write-up |
| h1n4mx0z/Research-CVE-2016-5195 | 26 Oct 2023 +7.0 y | backfilled | 0 | Informational · write-up |
| sakilahamed/Linux-Kernel-Exploit-LAB | 30 Mar 2024 +7.4 y | backfilled | 0 | Informational · write-up |
| ASUKA39/CVE-2016-5195 | 5 Apr 2024 +7.4 y | backfilled | 0 | Informational · write-up |
| Samuel-G3/Escalamiento-de-Privilegios-usando-el-Kernel-Exploit-Dirty-Cow | 25 Jun 2025 +8.6 y | backfilled | 0 | Informational · write-up |
| Pavlos86/kernel-exploit-dirtycow-project-public | 28 Jul 2025 +8.7 y | backfilled | 0 | Informational · write-up |
| elhaddadalaa788-alt/kernel-exploit-dirtycow-project-subm | 1 Feb 2026 +9.2 y | backfilled | 0 | Informational · write-up |
| theo543/OSDS_Paper_CVE-2016-5195 | 6 Feb 2026 +9.2 y | backfilled | 0 | Informational · write-up
Flags · score 15
Below the suspicion threshold (50); does not change the assessment. |
| cbry-96/Dirty-Cow-Ubuntu-Server-16.04.1 | 26 Mar 2026 +9.4 y | backfilled | 1 | Informational · detection
Flags · score 15
Below the suspicion threshold (50); does not change the assessment. |
| maur0amaya/Escalamiento-de-Privilegios-usando-el-Kernel-Exploit-Dirty-Cow | 15 May 2026 +9.5 y | backfilled | 0 | Informational · write-up |
| SaanviShah30/IoT-Firmware-Reverse-Engineering | 19 May 2026 +9.5 y | backfilled | 0 | Informational · write-up
Flags · score 30
Below the suspicion threshold (50); does not change the assessment. |
| GonzaBot/kernel-exploit-dirtycow | 25 Jun 2026 +9.6 y | backfilled | 0 | Informational · write-up |
| gogooma125732/CVE-2016-5195 | 27 Jun 2026 +9.6 y | backfilled | 0 | Informational · detection
Flags · score 15
Below the suspicion threshold (50); does not change the assessment. |
| AlonsoJuan1994/Escalamiento-de-Privilegios-usando-el-Kernel-Exploit-Dirty-Cow | 2 Jul 2026 +9.6 y | backfilled | 0 | Informational · write-up |
| bL8nCO/Dirty-cow | 19 Oct 2026 +9.9 y | 14 Nov 2026 | 0 | Informational · write-up |
Not a PoC 5
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| firefart/dirtycow | 25 Nov 2016 +15 d | 932 | Not a PoC · unrelated |
| martinmullins/CVE-2016-8655_Android | 17 Dec 2016 +37 d | 12 | Not a PoC · unrelated |
| r1is/CVE-2022-0847 | 7 Mar 2022 +5.3 y | 282 | Not a PoC · unrelated |
| Greetdawn/CVE-2022-0847-DirtyPipe | 9 Mar 2022 +5.3 y | 0 | Not a PoC · unrelated |
| V0WKeep3r/CVE-2022-0847-DirtyPipe-Exploit | 10 Mar 2022 +5.3 y | 0 | Not a PoC · unrelated |
Suspicious or fake 16
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| 26597925/cowroot | 25 Oct 2016 −17 d | 0 | Fake |
| esc0rtd3w/org.cowpoop.moooooo | 16 Jan 2017 +67 d | 3 | Fake |
| davidqphan/dirtycow-android-poc | 8 Dec 2017 +1.1 y | 8 | Fake |
| j0nk0/GetRoot-Android-DirtyCow | 23 Apr 2018 +1.4 y | 111 | Fake |
| jas502n/CVE-2016-5195 | 13 Aug 2019 +2.8 y | 7 | Fake |
| zakariamaaraki/Dirty-COW-CVE-2016-5195- | 26 Nov 2019 +3.0 y | 0 | Fake |
| 0xdecae/TuruT | 24 Apr 2020 +3.5 y | 0 | Fake |
| th3-5had0w/DirtyCOW-PoC | 17 Feb 2022 +5.3 y | 1 | Fake |
| EishoTek/SH01J_Root | 12 Mar 2024 +7.3 y | 3 | Fake |
| karanlvm/DirtyPipe-Exploit | 19 Apr 2024 +7.4 y | 2 | Fake |
| yhf971/Dirty | 23 Feb 2025 +8.3 y | 0 | Fake |
| LiEnby/PSSRoot | 15 Mar 2025 +8.3 y | 2 | Suspicious · score 80
Why suspicious
|
| 0x3n19m4/CVE-2016-5195 | 2 May 2025 +8.5 y | 1 | Fake |
| PabloCoder78/kernel-exploit-dirtycow-project | 18 May 2025 +8.5 y | 0 | Fake |
| voidgguy/lenovo-a1000g-mt8317-A412_01_09_130907-kernel-3.4.0-root-cve-2016-5195 | 11 Jul 2026 +9.7 y | 0 | Fake |
| capivara-research/CVE-Exploitation | 22 Aug 2026 +9.8 y | 0 | Fake |
Only PoCs count toward the first-PoC date and the characteristics below. Suspicious repositories (score ≥ 50) never count. "Backfilled" means we found the repository more than 30 days after it was created. Do not run PoC code from unknown sources.
Other public exploits
Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.PoC characteristics
What to hunt for in your logs · from 54 PoC reposGET /.ssh/id_rsa.pub
- Seen in
- 1 repo: pyCity/Wiggles
- Evidence
- pyCity/Wiggles/pseudocode.txt:51
GET /scripts/dirtycow.sh)
GET /sites/default/files/rh-cve-2016-5195_1.sh)
Regex
Generated from PoC characteristics; not yet reviewed. Matches the request path and query.
(?i)^/\.ssh/id_rsa\.pub(?:[?#].*)?$
(?i)^/scripts/dirtycow\.sh\)(?:[?#].*)?$
(?i)^/sites/default/files/rh-cve-2016-5195_1\.sh\)(?:[?#].*)?$
Suricata
Template generated from PoC characteristics. Review before deploying.
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2016-5195 Linux Kernel exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/.ssh/id_rsa.pub"; reference:url,poc.griffinguard.io/cve/CVE-2016-5195; classtype:web-application-attack; sid:9736133; rev:1;)
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2016-5195 Linux Kernel exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/scripts/dirtycow.sh)"; reference:url,poc.griffinguard.io/cve/CVE-2016-5195; classtype:web-application-attack; sid:9889641; rev:1;)
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2016-5195 Linux Kernel exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/sites/default/files/rh-cve-2016-5195_1.sh)"; reference:url,poc.griffinguard.io/cve/CVE-2016-5195; classtype:web-application-attack; sid:9109242; rev:1;)
Sigma
Template generated from PoC characteristics. Review before deploying.
title: Linux Kernel exploit attempt (CVE-2016-5195)
id: gg-pocmon-cve-2016-5195-9736133
status: experimental
description: Request pattern taken from public PoCs for CVE-2016-5195. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2016-5195
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/.ssh/id_rsa.pub'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2016.5195
title: Linux Kernel exploit attempt (CVE-2016-5195)
id: gg-pocmon-cve-2016-5195-9889641
status: experimental
description: Request pattern taken from public PoCs for CVE-2016-5195. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2016-5195
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/scripts/dirtycow.sh)'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2016.5195
title: Linux Kernel exploit attempt (CVE-2016-5195)
id: gg-pocmon-cve-2016-5195-9109242
status: experimental
description: Request pattern taken from public PoCs for CVE-2016-5195. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2016-5195
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/sites/default/files/rh-cve-2016-5195_1.sh)'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2016.5195