CVE-2022-0847
Description
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.
Severity
HIGH
CVSS v3
7.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H · source nvd
Exploit chance (EPSS)
92.795%
chance of exploitation in the next 30 days
higher than 99.8% of scored CVEs · 2026-11-17
CISA KEV
Listed
added 2022-04-25
Public exploit code
Yes
Exploit references (NVD and CNA): 4
Metasploit modules: 1
Nuclei templates: 0
Exploit-DB: 1
Weakness
- CWE-665: Improper Initialization
CISA Known Exploited Vulnerabilities entry
| Vulnerability name | Linux Kernel Privilege Escalation Vulnerability |
|---|---|
| Vendor / product | Linux / Kernel |
| Date added | 2022-04-25 |
| Federal remediation due date | 2022-05-16 |
| Required action | Apply updates per vendor instructions. |
| Known ransomware campaign use | Unknown |
CISA SSVC decision points
| Exploitation | active |
|---|---|
| Automatable | no |
| Technical impact | total |
| Scored | 2025-02-04 |
Timeline
- 2022-03-07Published by the CNA00:00 UTC
- 2022-03-08First Exploit-DB entry (EDB-ID 50808)1 day after publication
- 2022-04-25Added to the CISA KEV catalog49 days after publication
- 2025-02-04CISA SSVC decision recorded1065 days after publication
Exploit and advisory records
| Exploit-DB | Type | Platform | Published | EDB-verified |
|---|---|---|---|---|
| EDB-ID 50808 | local | linux | 2022-03-08 | no |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| linux linux_kernel | from 5.8 before 5.10.102fixed in 5.10.102from 5.15 before 5.15.25fixed in 5.15.25from 5.16 before 5.16.11fixed in 5.16.11 | 5.10.1025.15.255.16.11 |
| fedoraproject fedora | 35no fix listed | not listed |
| netapp h300e_firmware | ||
| netapp h300s_firmware | ||
| netapp h410c_firmware | ||
| netapp h410s_firmware | ||
| netapp h500e_firmware | ||
| netapp h500s_firmware | ||
| netapp h700e_firmware | ||
| netapp h700s_firmware | ||
| ovirt ovirt-engine | 4.4.10.2no fix listed | not listed |
| redhat codeready_linux_builder | ||
| redhat enterprise_linux | 8.0no fix listed | not listed |
| redhat enterprise_linux_eus | 8.2no fix listed8.4no fix listed | not listednot listed |
| redhat enterprise_linux_for_ibm_z_systems | 8.0no fix listed | not listed |
| redhat enterprise_linux_for_ibm_z_systems_eus | 8.2no fix listed8.4no fix listed | not listednot listed |
| redhat enterprise_linux_for_power_little_endian | 8.0no fix listed | not listed |
| redhat enterprise_linux_for_power_little_endian_eus | 8.2no fix listed8.4no fix listed | not listednot listed |
| redhat enterprise_linux_for_real_time | 8no fix listed | not listed |
| redhat enterprise_linux_for_real_time_for_nfv | 8no fix listed | not listed |
References
- https://bugzilla.redhat.com/show_bug.cgi?id=2060795
- 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
- https://cert-portal.siemens.com/productcert/pdf/ssa-222547.pdf
- https://psirt.global.sonicwall.com/vuln-detail/SNWLID-2022-0015
- https://security.netapp.com/advisory/ntap-20220325-0005/
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2022-0847
- https://www.suse.com/support/kb/doc/?id=000020603
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2022-0847'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2022-0847'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2022-0847'curl 'https://api.contrastcyber.com/cve_products/CVE-2022-0847'curl 'https://api.contrastcyber.com/kev_lookup/CVE-2022-0847'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).