CVE-2022-0847
Dirty Pipe
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.
- CVSS
- 7.8Highscored by CISA
- Exploited in the wild
- Yes, in CISA KEV since 25 Apr 2022CISA deadline for US federal agencies: 16 May 2022public exploit code
- EPSS
- 92.8%chance of exploitation in the next 30 daystop 0.2% of scored CVEsFIRST score of 11 Nov 2026
- Fix
- Patch availablesee the advisories in the references
- Published
- 10 Mar 2022analysed here 12 Nov 2026
Do first. Apply updates per vendor instructions. (CISA's required action for this KEV entry)
Summary
Triage
The summary, impact and action text on this page are written by our AI analysis pipeline, or taken from the NVD description when a CVE was imported from NVD. They are not the vendor's wording: check them against the sources. A longer AI executive summary and technical analysis are generated for signed-in accounts on the Max plan.
Affected products
| Product | Affected versions | Vendor says fixed in |
|---|---|---|
| kernel | Linux Kernel 5.17 rc6Vendor says fixed in: not stated |
As published in the CVE Program record. A version outside these ranges is not a statement that it is unaffected — vendors sometimes understate a range, and distribution-backported builds carry upstream numbers that do not reflect what was patched into them.
Products named in our analysis
- linux:linux_kernel
- fedoraproject:fedora
- redhat:enterprise_linux
- redhat:enterprise_linux_eus
- redhat:enterprise_linux_for_ibm_z_systems
- redhat:enterprise_linux_for_ibm_z_systems_eus
- redhat:enterprise_linux_for_power_little_endian
- redhat:enterprise_linux_for_power_little_endian_eus
- redhat:enterprise_linux_for_real_time
- redhat:enterprise_linux_for_real_time_for_nfv
- redhat:enterprise_linux_for_real_time_for_nfv_tus
- redhat:enterprise_linux_for_real_time_tus
- redhat:enterprise_linux_server_aus
- redhat:enterprise_linux_server_for_power_little_endian_update_services_for_sap_solutions
- redhat:enterprise_linux_server_tus
- redhat:enterprise_linux_server_update_services_for_sap_solutions
- redhat:codeready_linux_builder
- redhat:virtualization_host
- ovirt:ovirt-engine
- netapp:h300s_firmware
- netapp:h500s_firmware
- netapp:h700s_firmware
- netapp:h300e_firmware
- netapp:h500e_firmware
- netapp:h700e_firmware
- netapp:h410s_firmware
- netapp:h410c_firmware
- siemens:scalance_lpe9403_firmware
- sonicwall:sma1000_firmware
Fix and mitigation
WAF and other mitigations
Can a WAF block it? No. The attack needs local access to the machine, so a WAF is not on its path.
Also consider: patch
Based on the attack vector (local or physical access). We check Cloudflare, AWS, Google Cloud Armor and Azure; for Akamai, Imperva, Fastly, F5, ask your vendor.
Remediation steps (AI-written)
Step-by-step remediation is generated for accounts on the Max plan, for CVEs that match a technology in their stack. Add this technology to your stack to see the fix checklist.
Exploitation evidence
- CISA KEV catalog
- Listed since 25 Apr 2022.
- CISA due date
- 16 May 2022, the remediation deadline for US federal agencies
- CISA required action
- Apply updates per vendor instructions.
- Public exploit code
- Yes: 1 on Exploit-DB · 1 Metasploit module · 109 GitHub proofs of concept
- CISA SSVC
- exploitation active, automatable no, technical impact totalAssessed by CISA 4 Feb 2025 (SSVC 2.0.3). Exploitation is none, poc (public proof of concept) or active.
Exploit-DB
- Linux Kernel 5.8 < 5.16.11 - Local Privilege Escalation (DirtyPipe)local, 8 Mar 2022
Metasploit
- exploit/linux/local/cve_2022_0847_dirtypipeexploit, rank excellent
GitHub proofs of concept
- Arinerron/CVE-2022-0847-DirtyPipe-Exploit1,139 stars
- AlexisAhmed/CVE-2022-0847-DirtyPipe-Exploits737 stars
- r1is/CVE-2022-0847281 stars
- Al1ex/CVE-2022-084790 stars
and 105 more repositories
Listed so you can judge urgency, not as a recommendation to run anything. GitHub “proofs of concept” are unvetted: some are fake or carry malware. Exploit-DB marks the entries its staff verified.
Timeline
- 7 Mar 2022First public exploit or proof of concept
- 10 Mar 2022Published4 days later
- 25 Apr 2022Added to CISA KEV (exploited in the wild)45 days later
- 16 May 2022CISA remediation due date (US federal agencies)21 days later
- 4 Feb 2025CISA SSVC assessment: exploitation active996 days (about 3 years) later
- 21 Oct 2025CVE record last updated259 days (about 9 months) later
- 12 Nov 2026Analysed by vulneraibility.com387 days (about 1 year) later
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
| Metric | Value | What it means |
|---|---|---|
| Attack vector | LocalLocal access required (shell, logged-in user). | Local access required (shell, logged-in user). |
| Attack complexity | LowRepeatable attack, no special conditions. | Repeatable attack, no special conditions. |
| Privileges required | LowThe attacker needs basic user privileges. | The attacker needs basic user privileges. |
| User interaction | NoneNo victim action needed. | No victim action needed. |
| Scope | UnchangedImpact stays within the vulnerable component. | Impact stays within the vulnerable component. |
| Confidentiality | HighTotal data disclosure possible. | Total data disclosure possible. |
| Integrity | HighComplete modification possible. | Complete modification possible. |
| Availability | HighFull outage possible. | Full outage possible. |
Common questions
Is CVE-2022-0847 being exploited?
Yes. CVE-2022-0847 appears in CISA's Known Exploited Vulnerabilities catalog, which means exploitation in the wild has been confirmed and reported. Treat it as active rather than theoretical, and patch it ahead of higher-scoring vulnerabilities that carry no exploitation evidence.
How severe is CVE-2022-0847?
CVE-2022-0847 is rated High with a CVSS score of 7.8. Severity describes how bad exploitation would be, not how likely it is: pair it with exploitation evidence before deciding what to patch first.
Is there a patch for CVE-2022-0847?
Yes. A fix has been recorded for CVE-2022-0847. The vendor advisory is the authority on the exact fixed version — apply it from there rather than from a summary.
What does CVE-2022-0847 affect?
CVE-2022-0847 affects linux:linux_kernel, fedoraproject:fedora, redhat:enterprise_linux, redhat:enterprise_linux_eus, and 25 further products or versions. Confirm the exact affected versions against the vendor advisory before deciding you are exposed.
Exploitation status reflects CISA's KEV catalog as we last synced it. Check the catalog directly.
References
11 references in the CVE record, grouped by the tags the record gives them.
Other links (11)
- bugzilla.redhat.com /show_bug.cgi?id=2060795
- dirtypipe.cm4all.com /
- packetstormsecurity.com /files/166230/Dirty-Pipe-SUID-Binary-Hijack-Privilege-Escalation.html
- packetstormsecurity.com /files/166229/Dirty-Pipe-Linux-Privilege-Escalation.html
- packetstormsecurity.com /files/166258/Dirty-Pipe-Local-Privilege-Escalation.html
- suse.com /support/kb/doc/?id=000020603
Show 5 more
- security.netapp.com /advisory/ntap-20220325-0005/
- cert-portal.siemens.com /productcert/pdf/ssa-222547.pdf
- psirt.global.sonicwall.com /vuln-detail/SNWLID-2022-0015
- packetstormsecurity.com /files/176534/Linux-4.20-KTLS-Read-Only-Write.html
- cisa.gov /known-exploited-vulnerabilities-catalog?field_cve=CVE-2022-0847
Where the data on this page comes from
- CVE List (CVE.org): description, affected versions, references; CVE Terms of Use
- NVD: CVSS and CPE data
- CISA KEV catalog: exploitation, date added, due date
- CISA Vulnrichment (ADP): SSVC decision points
- FIRST EPSS: exploit probability and percentile
- Exploit-DB: published exploits
- Metasploit Framework: exploit and scanner modules
- PoC-in-GitHub: GitHub repositories that claim a proof of concept
Summary, impact and triage tags: written by our AI analysis pipeline from the sources above. Check them against the sources.
Similar CVEs
Get CVEs like this by email. Join the free digest: the CVEs we flag as major, all CVSS 8.0 or higher, in up to three emails a day (sent at 05:00, 11:00 and 15:00 UTC). Matching alerts to the products you run needs an account, and accounts are invite-only during the beta.