CVE-2022-0847
Linux Kernel Privilege Escalation Vulnerability
- Published
- Mar 7, 2022
- Updated
- Oct 21, 2025
- Assigning CNA
- redhat
- Evidence observed
- Mar 8, 2022
Primary CVSS
nvd · CVSS 3.1
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HHigh · next 30 days
- Percentile
- 99.8%
- Model date
- Oct 15, 2026
EPSS is a statistical estimate, not a certainty or a measure of impact. Combine it with CVSS, KEV status, exposure and your environment.
CISA Known Exploited
This CVE appears in the CISA Known Exploited Vulnerabilities catalog.
Summary
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.
Sources
modules/exploits/linux/local/cve_2022_0847_dirtypipe.rb
Metasploit Framework modulesDeclared conditions
- platform: Linux($.exploit_linux/local/cve_2022_0847_dirtypipe.platform)
- verification: check_declared($.exploit_linux/local/cve_2022_0847_dirtypipe.check)
- dirty-pipe-pocExploit
POC Exploit to add user to Sudo for CVE-2022-0847 Dirty Pipe Vulnerability
Responsible use
Use vulnerability information only on systems you own or are authorized to test. Kitploit links to public research metadata and does not store exploit code or malicious payloads.