CVEs / CVE-2022-0847
CVE-2022-0847: Linux Kernel Privilege Escalation Vulnerability
- Known exploited in the CISA KEV catalog since 25 Apr 2022
- high 7.8 CVSS 3.1 (NVD)
- EPSS 92.7% chance of exploitation in the next 30 days, higher than 99% of CVEs (30 Oct 2026)
- Last changed at its sources
Are you affected? Check your servers with Stackurity: it lists the software on each server and the vulnerabilities to fix first.
Check your servers with Stackurity Already using Stackurity? Search for CVE-2022-0847
Summary
Linux kernel contains an improper initialization vulnerability where an unprivileged local user could escalate their privileges on the system. This vulnerability has the moniker of "Dirty Pipe."
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.
Affected and fixed versions
| Product | Affected | Fixed in |
|---|---|---|
| n/a kernel | Linux Kernel 5.17 rc6 | — |
Exploitation
| In CISA KEV since | 25 Apr 2022 |
|---|---|
| Due date for US federal agencies | 16 May 2022 |
| Used in ransomware campaigns | Unknown |
| Required action | Apply updates per vendor instructions. |
Severity
| CVSS 3.1 | 7.8 highCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HScored by NVD |
|---|---|
| Weakness | CWE-665 |
References
- CVE-2022-0847 on NVD
- CVE-2022-0847 in the CISA KEV catalog
- CVE-2022-0847 on OSV
- http://packetstormsecurity.com/files/166229/Dirty-Pipe-Linux-Privilege-Escalation.html Exploit, Third Party Advisory, VDB Entry
- http://packetstormsecurity.com/files/166230/Dirty-Pipe-SUID-Binary-Hijack-Privilege-Escalation.html Exploit, Third Party Advisory, VDB Entry
- http://packetstormsecurity.com/files/166258/Dirty-Pipe-Local-Privilege-Escalation.html Exploit, Third Party Advisory, VDB Entry
- http://packetstormsecurity.com/files/176534/Linux-4.20-KTLS-Read-Only-Write.html Third Party Advisory, VDB Entry
- https://bugzilla.redhat.com/show_bug.cgi?id=2060795 Issue Tracking, Patch, Third Party Advisory
- https://cert-portal.siemens.com/productcert/pdf/ssa-222547.pdf Third Party Advisory
- https://dirtypipe.cm4all.com/ Exploit, Third Party Advisory
- https://psirt.global.sonicwall.com/vuln-detail/SNWLID-2022-0015 Third Party Advisory
- https://security.netapp.com/advisory/ntap-20220325-0005/ Third Party Advisory
- https://www.suse.com/support/kb/doc/?id=000020603 Third Party Advisory
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2022-0847 US Government Resource
Sources
Exploitation status from the CISA Known Exploited Vulnerabilities catalog. EPSS scores from FIRST. Descriptions, severity and references from the National Vulnerability Database. Open-source package versions from OSV (CC-BY 4.0). Text is shown as each source states it; Stackurity does not edit it. Check the vendor's advisory before acting.
This product uses data from the NVD API but is not endorsed or certified by the NVD.