CVE-2022-0847
Linux Kernel Privilege Escalation Vulnerability
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.
Description as published by the source, in English.
Key facts
- Published
- 2022-03-10
- Last modified
- 2026-06-17
- Assigned by
- secalert@redhat.com
- CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H- Scored by
- nvd@nist.gov (NVD Primary)
- Probability of exploitation
-
88.6 %
among the highest of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15 - Fix available
- Yes, see references
Actively exploited
CISA added this vulnerability to the Known Exploited Vulnerabilities catalogue on 2022-04-25, with a remediation deadline of 2022-05-16 for US federal agencies.
Required action: Apply updates per vendor instructions.
Affected products
| Vendor | Product | Versions | Status |
|---|---|---|---|
| Fedoraproject | Fedora | 35 | Affected |
| Linux | Linux Kernel | ≥ 5.15, < 5.15.25 | Affected |
| Linux | Linux Kernel | ≥ 5.16, < 5.16.11 | Affected |
| Linux | Linux Kernel | ≥ 5.8, < 5.10.102 | Affected |
| Netapp | H300e | all versions listed | Not affected |
| Netapp | H300e Firmware | all versions listed | Affected |
| Netapp | H300s | all versions listed | Not affected |
| Netapp | H300s Firmware | all versions listed | Affected |
| Netapp | H410c | all versions listed | Not affected |
| Netapp | H410c Firmware | all versions listed | Affected |
| Netapp | H410s | all versions listed | Not affected |
| Netapp | H410s Firmware | all versions listed | Affected |
| Netapp | H500e | all versions listed | Not affected |
| Netapp | H500e Firmware | all versions listed | Affected |
| Netapp | H500s | all versions listed | Not affected |
| Netapp | H500s Firmware | all versions listed | Affected |
| Netapp | H700e | all versions listed | Not affected |
| Netapp | H700e Firmware | all versions listed | Affected |
| Netapp | H700s | all versions listed | Not affected |
| Netapp | H700s Firmware | all versions listed | Affected |
| Ovirt | Ovirt-engine | 4.4.10.2 | Affected |
| Redhat | Codeready Linux Builder | all versions listed | Affected |
| Redhat | Enterprise Linux | 8.0 | Affected |
| Redhat | Enterprise Linux | 8.0 | Not affected |
| Redhat | Enterprise Linux Eus | 8.2 | Affected |
| Redhat | Enterprise Linux Eus | 8.2 | Not affected |
| Redhat | Enterprise Linux Eus | 8.4 | Affected |
| Redhat | Enterprise Linux Eus | 8.4 | Not affected |
| Redhat | Enterprise Linux For Ibm Z Systems | 8.0 | Affected |
| Redhat | Enterprise Linux For Ibm Z Systems Eus | 8.2 | Affected |
| Redhat | Enterprise Linux For Ibm Z Systems Eus | 8.4 | Affected |
| Redhat | Enterprise Linux For Power Little Endian | 8.0 | Affected |
| Redhat | Enterprise Linux For Power Little Endian | 8.0 | Not affected |
| Redhat | Enterprise Linux For Power Little Endian Eus | 8.2 | Affected |
| Redhat | Enterprise Linux For Power Little Endian Eus | 8.2 | Not affected |
| Redhat | Enterprise Linux For Power Little Endian Eus | 8.4 | Affected |
| Redhat | Enterprise Linux For Power Little Endian Eus | 8.4 | Not affected |
| Redhat | Enterprise Linux For Real Time | 8 | Affected |
| Redhat | Enterprise Linux For Real Time For Nfv | 8 | Affected |
| Redhat | Enterprise Linux For Real Time For Nfv Tus | 8.2 | Affected |
| Redhat | Enterprise Linux For Real Time For Nfv Tus | 8.4 | Affected |
| Redhat | Enterprise Linux For Real Time Tus | 8.2 | Affected |
| Redhat | Enterprise Linux For Real Time Tus | 8.4 | Affected |
| Redhat | Enterprise Linux Server Aus | 8.2 | Affected |
| Redhat | Enterprise Linux Server Aus | 8.4 | Affected |
| Redhat | Enterprise Linux Server For Power Little Endian Update Services For Sap Solutions | 8.1 | Affected |
| Redhat | Enterprise Linux Server For Power Little Endian Update Services For Sap Solutions | 8.2 | Affected |
| Redhat | Enterprise Linux Server For Power Little Endian Update Services For Sap Solutions | 8.4 | Affected |
| Redhat | Enterprise Linux Server Tus | 8.2 | Affected |
| Redhat | Enterprise Linux Server Tus | 8.4 | Affected |
| Redhat | Enterprise Linux Server Update Services For Sap Solutions | 8.1 | Affected |
| Redhat | Enterprise Linux Server Update Services For Sap Solutions | 8.2 | Affected |
| Redhat | Enterprise Linux Server Update Services For Sap Solutions | 8.4 | Affected |
| Redhat | Virtualization Host | 4.0 | Affected |
| Siemens | Scalance Lpe9403 | all versions listed | Not affected |
| Siemens | Scalance Lpe9403 Firmware | < 2.0 | Affected |
| Sonicwall | Sma1000 | all versions listed | Not affected |
| Sonicwall | Sma1000 Firmware | ≤ 12.4.2-02044 | Affected |
Weakness type
-
CWE-665: Improper Initialization
The product does not initialize or incorrectly initializes a resource.
References
- http://packetstormsecurity.com/files/166229/Dirty-Pipe-Linux-Privilege-Escalation.html
- http://packetstormsecurity.com/files/166230/Dirty-Pipe-SUID-Binary-Hijack-Privilege-Escal…
- http://packetstormsecurity.com/files/166258/Dirty-Pipe-Local-Privilege-Escalation.html
- http://packetstormsecurity.com/files/176534/Linux-4.20-KTLS-Read-Only-Write.html
- https://bugzilla.redhat.com/show_bug.cgi?id=2060795
- https://cert-portal.siemens.com/productcert/pdf/ssa-222547.pdf
- https://dirtypipe.cm4all.com/
- https://psirt.global.sonicwall.com/vuln-detail/SNWLID-2022-0015
- https://security.netapp.com/advisory/ntap-20220325-0005/
- https://www.suse.com/support/kb/doc/?id=000020603
- http://packetstormsecurity.com/files/166229/Dirty-Pipe-Linux-Privilege-Escalation.html
- http://packetstormsecurity.com/files/166230/Dirty-Pipe-SUID-Binary-Hijack-Privilege-Escal…
- http://packetstormsecurity.com/files/166258/Dirty-Pipe-Local-Privilege-Escalation.html
- http://packetstormsecurity.com/files/176534/Linux-4.20-KTLS-Read-Only-Write.html
- https://bugzilla.redhat.com/show_bug.cgi?id=2060795
- https://cert-portal.siemens.com/productcert/pdf/ssa-222547.pdf
- https://dirtypipe.cm4all.com/
- https://psirt.global.sonicwall.com/vuln-detail/SNWLID-2022-0015
- https://security.netapp.com/advisory/ntap-20220325-0005/
- https://www.suse.com/support/kb/doc/?id=000020603
Does this affect you?
A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.