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.
Metrics
CVSS 3.1 7.8/10
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| n/a | kernel | Linux Kernel 5.17 rc6 |
References
- http://packetstormsecurity.com/files/166229/Dirty-Pipe-Linux-Privilege-Escalation.htmlExploit, Third Party Advisory, VDB Entry
- http://packetstormsecurity.com/files/166230/Dirty-Pipe-SUID-Binary-Hijack-Privilege-Escalation.htmlExploit, Third Party Advisory, VDB Entry
- http://packetstormsecurity.com/files/166258/Dirty-Pipe-Local-Privilege-Escalation.htmlExploit, Third Party Advisory, VDB Entry
- http://packetstormsecurity.com/files/176534/Linux-4.20-KTLS-Read-Only-Write.htmlThird Party Advisory, VDB Entry
- https://bugzilla.redhat.com/show_bug.cgi?id=2060795Issue Tracking, Patch, Third Party Advisory
- https://cert-portal.siemens.com/productcert/pdf/ssa-222547.pdfThird Party Advisory
- https://dirtypipe.cm4all.com/Exploit, Third Party Advisory
- https://psirt.global.sonicwall.com/vuln-detail/SNWLID-2022-0015Third Party Advisory
- https://security.netapp.com/advisory/ntap-20220325-0005/Third Party Advisory
- https://www.suse.com/support/kb/doc/?id=000020603Third Party Advisory
- http://packetstormsecurity.com/files/166229/Dirty-Pipe-Linux-Privilege-Escalation.htmlExploit, Third Party Advisory, VDB Entry
- http://packetstormsecurity.com/files/166230/Dirty-Pipe-SUID-Binary-Hijack-Privilege-Escalation.htmlExploit, Third Party Advisory, VDB Entry
- http://packetstormsecurity.com/files/166258/Dirty-Pipe-Local-Privilege-Escalation.htmlExploit, Third Party Advisory, VDB Entry
- http://packetstormsecurity.com/files/176534/Linux-4.20-KTLS-Read-Only-Write.htmlThird Party Advisory, VDB Entry
- https://bugzilla.redhat.com/show_bug.cgi?id=2060795Issue Tracking, Patch, Third Party Advisory
- https://cert-portal.siemens.com/productcert/pdf/ssa-222547.pdfThird Party Advisory
- https://dirtypipe.cm4all.com/Exploit, Third Party Advisory
- https://psirt.global.sonicwall.com/vuln-detail/SNWLID-2022-0015Third Party Advisory
- https://security.netapp.com/advisory/ntap-20220325-0005/Third Party Advisory
- https://www.suse.com/support/kb/doc/?id=000020603Third Party Advisory
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2022-0847US Government Resource
Timeline
- Published
- Mar 10, 2022
- Last modified
- Jun 17, 2026
- Added to CISA KEV
- Apr 25, 2022
- NVD status
- Analyzed