CVE-2022-0847Linux Kernel Privilege Escalation Vulnerability
CVSS score
7.8
High
CVSS 3.1 from NVD
Exploit probability (EPSS)
92.8%
92.8% chance of exploitation in the next 30 days, higher than 99.8% of all CVEs.
CISA KEV
Actively exploited
Added to KEV on 25 Apr 2022.
US federal deadline to fix: 16 May 2022.
Official 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.
Source: NVD · CNA: secalert@redhat.com
How to fix it, step by step
Treat it as urgent
Attackers are already exploiting this flaw: CISA added it to its Known Exploited Vulnerabilities list on 25 Apr 2022.
US federal agencies must fix it by 16 May 2022. It's a sensible deadline for everyone else too.
CISA's full instruction
Apply updates per vendor instructions.
Check whether you're affected
Find every system running Linux Kernel, fedoraproject Fedora, Red Hat Enterprise Linux Eus, Red Hat Enterprise Linux For Ibm Z Systems Eus, Red Hat Enterprise Linux For Power Little Endian Eus and compare its version with the affected versions.
Update to a fixed version
- Update Linux Kernel to 5.10.102, 5.15.25, 5.16.11 or later, on the branch you run.
If you can't update right away
Apply the workaround or mitigation in the vendor's advisory until you can update:
Check for signs of compromise
Updating closes the flaw but doesn't remove an attacker who got in earlier. Review affected systems for unknown accounts, unusual logins and configuration changes, and use any indicators of compromise the vendor or CISA publish.
Confirm the fix
Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.
Was this useful?
How it can be exploited
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Values in red make the vulnerability easier to exploit or more damaging. CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Affected products
| Affected products | Versions |
|---|---|
| Linux Linux Kernel | ≥ 5.8, < 5.10.102 · ≥ 5.15, < 5.15.25 · ≥ 5.16, < 5.16.11 |
| fedoraproject Fedora | 35 |
| Red Hat Enterprise Linux | 8.0 |
| Red Hat Enterprise Linux Eus | 8.2 · 8.4 |
| Red Hat Enterprise Linux For Ibm Z Systems | 8.0 |
| Red Hat Enterprise Linux For Ibm Z Systems Eus | 8.2 · 8.4 |
| Red Hat Enterprise Linux For Power Little Endian | 8.0 |
| Red Hat Enterprise Linux For Power Little Endian Eus | 8.2 · 8.4 |
| Red Hat Enterprise Linux For Real Time | 8 |
| Red Hat Enterprise Linux For Real Time For Nfv | 8 |
| Red Hat Enterprise Linux For Real Time For Nfv Tus | 8.2 · 8.4 |
| Red Hat Enterprise Linux For Real Time Tus | 8.2 · 8.4 |
| Red Hat Enterprise Linux Server Aus | 8.2 · 8.4 |
| Red Hat Enterprise Linux Server For Power Little Endian Update Services For Sap Solutions | 8.1 · 8.2 · 8.4 |
| Red Hat Enterprise Linux Server Tus | 8.2 · 8.4 |
| Red Hat Enterprise Linux Server Update Services For Sap Solutions | 8.1 · 8.2 · 8.4 |
| Red Hat Codeready Linux Builder | Not specified |
| Red Hat Virtualization Host | 4.0 |
| ovirt Ovirt-engine | 4.4.10.2 |
| netapp H300s Firmware | Not specified |
| netapp H500s Firmware | Not specified |
| netapp H700s Firmware | Not specified |
| netapp H300e Firmware | Not specified |
| netapp H500e Firmware | Not specified |
| netapp H700e Firmware | Not specified |
Weakness
Timeline
- Published:
- Added to CISA KEV:
- Last modified:
Frequently asked questions
Is CVE-2022-0847 being exploited?
Yes. CISA added CVE-2022-0847 to its Known Exploited Vulnerabilities catalog on 25 Apr 2022, which means there is evidence of exploitation in the wild. Its EPSS score estimates a 92.8% probability of exploitation in the next 30 days.
What is the CVSS score of CVE-2022-0847?
CVE-2022-0847 has a CVSS 3.1 base score of 7.8 (high).
Which versions are affected?
Linux Linux Kernel (≥ 5.8, < 5.10.102; ≥ 5.15, < 5.15.25; ≥ 5.16, < 5.16.11), Fedoraproject Fedora (35), Red Hat Enterprise Linux (8.0), Red Hat Enterprise Linux Eus (8.2; 8.4), Red Hat Enterprise Linux For Ibm Z Systems (8.0), Red Hat Enterprise Linux For Ibm Z Systems Eus (8.2; 8.4)
Is there a patch for CVE-2022-0847?
The official record links to vendor advisories or patches; see “What to do” above.
References
- bugzilla.redhat.com/show_bug.cgi?id=2060795(Issue Tracking, Patch, Third Party Advisory)
- packetstormsecurity.com/files/166229/Dirty-Pipe-Linux-Privilege-Escalation.html(Exploit, Third Party Advisory, VDB Entry)
- packetstormsecurity.com/files/166230/Dirty-Pipe-SUID-Binary-Hijack-Privilege-Escalation.html(Exploit, Third Party Advisory, VDB Entry)
- packetstormsecurity.com/files/166258/Dirty-Pipe-Local-Privilege-Escalation.html(Exploit, Third Party Advisory, VDB Entry)
- dirtypipe.cm4all.com/(Exploit, Third Party Advisory)
- packetstormsecurity.com/files/176534/Linux-4.20-KTLS-Read-Only-Write.html(Third Party Advisory, VDB Entry)
- cert-portal.siemens.com/productcert/pdf/ssa-222547.pdf(Third Party Advisory)
- psirt.global.sonicwall.com/vuln-detail/SNWLID-2022-0015(Third Party Advisory)
- security.netapp.com/advisory/ntap-20220325-0005/(Third Party Advisory)
- www.suse.com/support/kb/doc/?id=000020603(Third Party Advisory)
- www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2022-0847(US Government Resource)
Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.