{"id":"CVE-2022-0847","published":"2022-03-10T17:44:57Z","modified":"2026-06-17T04:21:21Z","title":"Linux Kernel Privilege Escalation Vulnerability","vendor":"Linux","product":"Kernel","tier":"core","eol":null,"description":{"text":"A flaw was found in the way the \"flags\" member of the new pipe buffer structure was lacking proper initialization in copy_page_to_iter_pipe and push_pipe functions in the Linux kernel and could thus contain stale values. An unprivileged local user could use this flaw to write to pages in the page cache backed by read only files and as such escalate their privileges on the system.","provenance":"source","from":"NVD"},"summary":{"text":"The Linux kernel's pipe buffer handling has a flaw in which the \"flags\" member of the new pipe buffer structure is not properly initialized in the copy_page_to_iter_pipe and push_pipe functions, so it can hold stale values. A local attacker with low privileges and no user interaction could exploit this to write to page-cache pages backed by read-only files, thereby escalating their privileges on the system.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-10-23T07:06:06Z"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"NVD"},"epss":{"score":0.92795,"percentile":0.99828,"date":"2026-10-29","provenance":"source"},"kev":{"dateAdded":"2022-04-25","dueDate":"2022-05-16","ransomware":false,"requiredAction":"Apply updates per vendor instructions.","notes":"https://nvd.nist.gov/vuln/detail/CVE-2022-0847","provenance":"source"},"vulncheckKev":{"dateAdded":"2022-04-25","exploitedFirstSeen":"2022-04-25","ransomware":true,"evidence":[{"url":"https://www.cisa.gov/sites/default/files/feeds/known_exploited_vulnerabilities.json","date":"2022-04-25"},{"url":"https://go.recordedfuture.com/hubfs/reports/cta-2022-0825.pdf","date":"2022-08-25"},{"url":"https://www.pwc.com/gx/en/issues/cybersecurity/cyber-threat-intelligence/tortoise-and-malwahare.html","date":"2023-12-05"},{"url":"https://thedfirreport.com/wp-content/uploads/2024/03/WordPress-Plugin-Exploit-Leads-to-Godzilla-Web-Shell-Discovery-New-CVE.pdf.pdf","date":"2024-03-04"},{"url":"https://www.volexity.com/blog/2024/06/13/disgomoji-malware-used-to-target-indian-government/","date":"2024-06-13"},{"url":"https://securelist.com/vulnerability-exploit-report-q2-2024/113455/","date":"2024-08-21"},{"url":"https://securelist.com/vulnerabilities-and-exploits-in-q4-2024/115761/","date":"2025-02-26"},{"url":"https://securelist.com/vulnerabilities-and-exploits-in-q1-2025/116624/","date":"2025-05-30"},{"url":"https://securelist.com/vulnerabilities-and-exploits-in-q2-2025/117333/","date":"2025-08-27"},{"url":"https://securelist.com/vulnerabilities-and-exploits-in-q3-2025/118197/","date":"2025-12-03"}],"evidenceTotal":15,"provenance":"source"},"exploited":true,"otx":{"pulseCount":50,"pulses":[{"name":"Actively_Exploited_Kev | Oct 29, 2026","url":"https://otx.alienvault.com/pulse/6ae20c1db17e7057ae7d9ad1","created":"2026-10-28"},{"name":"Actively_Exploited_Kev | Oct 28, 2026","url":"https://otx.alienvault.com/pulse/6ae0ba7e0e2a97ff7b218819","created":"2026-10-27"},{"name":"Actively_Exploited_Kev | Oct 27, 2026","url":"https://otx.alienvault.com/pulse/6adf68b85c3e852f3c111d18","created":"2026-10-26"},{"name":"Actively_Exploited_Kev | Oct 24, 2026","url":"https://otx.alienvault.com/pulse/6adb740e397c3ad4799aa4cd","created":"2026-10-23"},{"name":"Actively_Exploited_Kev | Oct 23, 2026","url":"https://otx.alienvault.com/pulse/6ada236fcfba2dfa730ea482","created":"2026-10-22"},{"name":"Actively_Exploited_Kev | Oct 22, 2026","url":"https://otx.alienvault.com/pulse/6ad8d33a077cbb5cab524d80","created":"2026-10-21"},{"name":"Actively_Exploited_Kev | Oct 21, 2026","url":"https://otx.alienvault.com/pulse/6ad78130c4d1ac2be83a8b6d","created":"2026-10-20"},{"name":"Actively_Exploited_Kev | Oct 20, 2026","url":"https://otx.alienvault.com/pulse/6ad62f63c24a405a3423cc13","created":"2026-10-19"},{"name":"Actively_Exploited_Kev | Oct 19, 2026","url":"https://otx.alienvault.com/pulse/6ad4dda174e5797d0bd238b7","created":"2026-10-18"},{"name":"Actively_Exploited_Kev | Oct 18, 2026","url":"https://otx.alienvault.com/pulse/6ad38c22e1848f8189d1c121","created":"2026-10-17"}],"provenance":"machine"},"cwes":[{"id":"CWE-665","name":"Improper Initialization"}],"references":[{"url":"http://packetstormsecurity.com/files/166229/Dirty-Pipe-Linux-Privilege-Escalation.html","tags":["Exploit","Third Party Advisory","VDB Entry"]},{"url":"http://packetstormsecurity.com/files/166230/Dirty-Pipe-SUID-Binary-Hijack-Privilege-Escalation.html","tags":["Exploit","Third Party Advisory","VDB Entry"]},{"url":"http://packetstormsecurity.com/files/166258/Dirty-Pipe-Local-Privilege-Escalation.html","tags":["Exploit","Third Party Advisory","VDB Entry"]},{"url":"http://packetstormsecurity.com/files/176534/Linux-4.20-KTLS-Read-Only-Write.html","tags":["Third Party Advisory","VDB Entry"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2060795","tags":["Issue Tracking","Patch","Third Party Advisory"]},{"url":"https://cert-portal.siemens.com/productcert/pdf/ssa-222547.pdf","tags":["Third Party Advisory"]},{"url":"https://dirtypipe.cm4all.com/","tags":["Exploit","Third Party Advisory"]},{"url":"https://psirt.global.sonicwall.com/vuln-detail/SNWLID-2022-0015","tags":["Third Party Advisory"]},{"url":"https://security.netapp.com/advisory/ntap-20220325-0005/","tags":["Third Party Advisory"]},{"url":"https://www.suse.com/support/kb/doc/?id=000020603","tags":["Third Party Advisory"]},{"url":"http://packetstormsecurity.com/files/166229/Dirty-Pipe-Linux-Privilege-Escalation.html","tags":["Exploit","Third Party Advisory","VDB Entry"]},{"url":"http://packetstormsecurity.com/files/166230/Dirty-Pipe-SUID-Binary-Hijack-Privilege-Escalation.html","tags":["Exploit","Third Party Advisory","VDB Entry"]},{"url":"http://packetstormsecurity.com/files/166258/Dirty-Pipe-Local-Privilege-Escalation.html","tags":["Exploit","Third Party Advisory","VDB Entry"]},{"url":"http://packetstormsecurity.com/files/176534/Linux-4.20-KTLS-Read-Only-Write.html","tags":["Third Party Advisory","VDB Entry"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2060795","tags":["Issue Tracking","Patch","Third Party Advisory"]},{"url":"https://cert-portal.siemens.com/productcert/pdf/ssa-222547.pdf","tags":["Third Party Advisory"]},{"url":"https://dirtypipe.cm4all.com/","tags":["Exploit","Third Party Advisory"]},{"url":"https://psirt.global.sonicwall.com/vuln-detail/SNWLID-2022-0015","tags":["Third Party Advisory"]},{"url":"https://security.netapp.com/advisory/ntap-20220325-0005/","tags":["Third Party Advisory"]},{"url":"https://www.suse.com/support/kb/doc/?id=000020603","tags":["Third Party Advisory"]},{"url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2022-0847","tags":["US Government Resource"]}],"techniques":[{"id":"T1068","name":"Exploitation for Privilege Escalation","tactics":["privilege-escalation"],"provenance":"ai","basis":"ai-mapping","bases":["ai-mapping"],"basisDetail":"claude-haiku-5-5: local unprivileged user exploits kernel flaw","mappingType":"exploitation_technique","evidence":[{"from":"description","quote":"An unprivileged local user could use this flaw to write to pages in the page cache backed by read only files","start":221,"end":329}],"model":"claude-haiku-5-5","confidence":"medium","confidenceNote":"AI-mapped from the description (quote-validated, not expert-reviewed)"}],"reports":[{"id":"SRC-18fd26fa020f9a3dac70","title":"The Tortoise and The Malwahare","publisher":"pwc.com","url":"https://www.pwc.com/gx/en/issues/cybersecurity/cyber-threat-intelligence/tortoise-and-malwahare.html","date":null,"mentions":[{"quote":"We assess that Teal Kurma has likely continued leveraging major CVEs in its current campaigns, particularly ones with publicly available proof-of-concept code such as CVE-2021-44228, CVE-2021-21974, and CVE-2022-0847.","start":6231,"end":6448}]}],"affected":[],"advisories":[],"euvd":{"id":"EUVD-2022-15890","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2022-15890","exploited":true,"exploitedSince":"2022-04-25","provenance":"source"},"exploits":[{"id":50808,"url":"https://www.exploit-db.com/exploits/50808","title":"Linux Kernel 5.8 < 5.16.11 - Local Privilege Escalation (DirtyPipe)","type":"local","platform":"linux","date":"2022-03-08","verified":false,"provenance":"source"}],"exploitSources":{"exploitdb":{"count":1,"earliest":"2022-03-08"},"pocGithub":{"count":87,"skipped":22,"earliest":"2022-03-07","earliestUrl":"https://github.com/bbaranoff/CVE-2022-0847","repos":[{"name":"Arinerron/CVE-2022-0847-DirtyPipe-Exploit","url":"https://github.com/Arinerron/CVE-2022-0847-DirtyPipe-Exploit","stars":1139,"created":"2022-03-07"},{"name":"AlexisAhmed/CVE-2022-0847-DirtyPipe-Exploits","url":"https://github.com/AlexisAhmed/CVE-2022-0847-DirtyPipe-Exploits","stars":737,"created":"2022-03-12"},{"name":"r1is/CVE-2022-0847","url":"https://github.com/r1is/CVE-2022-0847","stars":281,"created":"2022-03-07"},{"name":"Al1ex/CVE-2022-0847","url":"https://github.com/Al1ex/CVE-2022-0847","stars":90,"created":"2022-03-09"},{"name":"DataDog/dirtypipe-container-breakout-poc","url":"https://github.com/DataDog/dirtypipe-container-breakout-poc","stars":77,"created":"2022-03-09"}]},"metasploit":[{"name":"Dirty Pipe Local Privilege Escalation via CVE-2022-0847","module":"exploit/linux/local/cve_2022_0847_dirtypipe","type":"exploit","disclosureDate":"2022-02-20","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/local/cve_2022_0847_dirtypipe.rb"}],"first":{"date":"2022-02-20","source":"Metasploit","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/local/cve_2022_0847_dirtypipe.rb"},"provenance":"source"},"exploitRefs":["http://packetstormsecurity.com/files/166229/Dirty-Pipe-Linux-Privilege-Escalation.html","http://packetstormsecurity.com/files/166230/Dirty-Pipe-SUID-Binary-Hijack-Privilege-Escalation.html","http://packetstormsecurity.com/files/166258/Dirty-Pipe-Local-Privilege-Escalation.html","https://dirtypipe.cm4all.com/","http://packetstormsecurity.com/files/176534/Linux-4.20-KTLS-Read-Only-Write.html"],"flow":[{"stage":"exploitation","techniques":["T1068"],"provenance":"ai"}],"timeline":[{"date":"2022-02-20","kind":"exploit-public","label":"First public exploit: Metasploit; later: PoC-in-GitHub 2022-03-07, Exploit-DB 2022-03-08","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/local/cve_2022_0847_dirtypipe.rb","provenance":"source"},{"date":"2022-03-10","kind":"published","label":"Published (NVD)","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-0847","provenance":"source"},{"date":"2022-04-25","kind":"exploited-reported","label":"Exploitation first reported (VulnCheck KEV evidence)","url":"https://www.cisa.gov/sites/default/files/feeds/known_exploited_vulnerabilities.json","provenance":"source"},{"date":"2022-04-25","kind":"kev","label":"Added to CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","provenance":"source"},{"date":"2022-04-25","kind":"euvd-exploited","label":"ENISA EUVD: exploited","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2022-15890","provenance":"source"}],"speed":{"daysToPublicExploit":null,"firstExploitFrom":"Metasploit","daysToKev":46},"priority":{"score":82.3,"factors":[{"name":"In a KEV catalog","points":35.0,"detail":"listed in CISA KEV and VulnCheck KEV"},{"name":"Recent KEV listing","points":0.0,"detail":"added 1649 days ago"},{"name":"Known ransomware use","points":10.0,"detail":"CISA KEV and VulnCheck KEV: Known"},{"name":"EPSS percentile","points":19.97,"detail":"percentile 0.9983"},{"name":"Named in threat reports","points":3.87,"detail":"1 report"},{"name":"Public exploit code","points":5.0,"detail":"4 NVD references tagged Exploit; 1 Exploit-DB entry; 1 NVD exploit link; 87 PoC-in-GitHub repos; 1 Metasploit module"},{"name":"Mentioned in OTX pulses","points":3.0,"detail":"50 pulses"},{"name":"CVSS severity","points":5.46,"detail":"base score 7.8"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]}}