CVE-2022-0847
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.
- Score
- CVSS 3.1 7.8 High
- Status
- Analyzed - secalert@redhat.com
- Published
- 2022-03-10
- Last modified
- 2025-10-21
- Known exploited (CISA KEV)
- since 2022-04-25, action due 2022-05-16: Apply updates per vendor instructions.
- Weaknesses
- CWE-665
Affected products
- Fedora (Fedoraproject)
- Linux Kernel (Linux)
- H300e Firmware (Netapp)
- H300s Firmware (Netapp)
- H410c Firmware (Netapp)
- H410s Firmware (Netapp)
- H500e Firmware (Netapp)
- H500s Firmware (Netapp)
- H700e Firmware (Netapp)
- H700s Firmware (Netapp)
- Ovirt-engine (Ovirt)
- Codeready Linux Builder (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)
- Virtualization Host (Redhat)
- Scalance Lpe9403 Firmware (Siemens)
- Sma1000 Firmware (Sonicwall)
References
- 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
- 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
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2022-0847