CVE-2022-0847
A flaw was found in the way the "flags" member of the new pipe buffer structure was lacking proper initialization in…
- 7.8HighCVSS base score
- 92.8%Exploitation in 30 daysEPSS · top 0.2% of all CVEs
- YesKnown exploitedin CISA's KEV since 25 Apr 2022
- 2Public exploitsMetasploit, Nuclei and Exploit-DB
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.
Exploited in the wild
CISA lists this vulnerability in its Known Exploited Vulnerabilities catalog as Linux Kernel Privilege Escalation Vulnerability.
- Added
- 25 Apr 2022
- Fix due (US federal)
- 16 May 2022
- Used by ransomware
- Not known
Apply updates per vendor instructions.
ENISA's EU Vulnerability Database lists it as exploited, from CISA's KEV, since 25 Apr 2022.
Public exploit
An exploit or proof of concept is public: anyone can try it against an unpatched system. The public collections list a Metasploit module and an Exploit-DB entry for it. CISA's SSVC rates its exploitation: it is being exploited.
Show the exploits2
Metasploit modules1 module
- Dirty Pipe Local Privilege Escalation via CVE-2022-0847 (Metasploit module) (opens in a new tab)
exploit/linux/local/cve_2022_0847_dirtypipeRank excellentdisclosed 20 Feb 2022
Exploit-DB1 entry
- Linux Kernel 5.8 < 5.16.11 - Local Privilege Escalation (DirtyPipe) (Exploit-DB entry) (opens in a new tab)
EDB-ID 50808local, linuxpublished 8 Mar 2022Not verified
Modules, templates and exploits as listed by the Metasploit Framework (BSD-3-Clause), ProjectDiscovery's Nuclei templates (MIT) and the Exploit Database (GPLv2), read once a day. Where the data comes from
Timeline
ID reserved
By redhat
- 4 days later
· 4 days later
Published
- 49 days later
· 49 days later
Added to CISA KEV
Known exploited in the wild
- 3 years later
· 3 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| CISA-ADPADP (enrichment) | 3.1 | High7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVDNVD · Analyzed | 3.1 | High7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 92.8% · top 0.2% of all CVEs (11 Nov 2026)
- CISA SSVC
- Exploitation: active · Automatable: no · Technical impact: total
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.8.
Affected products
kernel
- affected Linux Kernel 5.17 rc6
References
References11
- https://bugzilla.redhat.com/show_bug.cgi?id=2060795 (opens in a new tab)x_transferred
- https://dirtypipe.cm4all.com/ (opens in a new tab)x_transferred
- http://packetstormsecurity.com/files/166230/Dirty-Pipe-SUID-Binary-Hijack-Privilege-Escalation.html (opens in a new tab)x_transferred
- http://packetstormsecurity.com/files/166229/Dirty-Pipe-Linux-Privilege-Escalation.html (opens in a new tab)x_transferred
- http://packetstormsecurity.com/files/166258/Dirty-Pipe-Local-Privilege-Escalation.html (opens in a new tab)x_transferred
- https://www.suse.com/support/kb/doc/?id=000020603 (opens in a new tab)x_transferred
- https://security.netapp.com/advisory/ntap-20220325-0005/ (opens in a new tab)x_transferred
- https://cert-portal.siemens.com/productcert/pdf/ssa-222547.pdf (opens in a new tab)x_transferred
- https://psirt.global.sonicwall.com/vuln-detail/SNWLID-2022-0015 (opens in a new tab)x_transferred
- http://packetstormsecurity.com/files/176534/Linux-4.20-KTLS-Read-Only-Write.html (opens in a new tab)x_transferred
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2022-0847 (opens in a new tab)government-resource
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- CISA KEV catalog (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2022-15890 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2022-0847)Record last updated .