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."
In short
CVE-2022-0847 (Linux Kernel Privilege Escalation) has a CVSS 3.1 base score of 7.8, rated high. CISA added it to the Known Exploited Vulnerabilities catalog on 25 Apr 2022. Fixed in Linux Kernel 5.15.25, Siemens Scalance Lpe9403 Firmware 2.0 or later. The Dutch NCSC covers it in advisory NCSC-2025-0382.
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.
CVSS 3.1 breakdown
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HAffected products
- Ovirt Ovirt-engine4.4.10.2
- Redhat Codeready Linux Builderall versions
- Redhat Virtualization Host4.0
- Fedoraproject Fedora35
- Linux Kernel≥ 5.15 < 5.15.25 · ≥ 5.16 < 5.16.11 · ≥ 5.8 < 5.10.102
- Netapp H300e Firmwareall versions
- Netapp H300s Firmwareall versions
- Netapp H410c Firmwareall versions
- Netapp H410s Firmwareall versions
- Netapp H500e Firmwareall versions
- Netapp H500s Firmwareall versions
- Netapp H700e Firmwareall versions
- Netapp H700s Firmwareall versions
- Redhat Enterprise Linux For Ibm Z Systems8.0
- Redhat Enterprise Linux For Ibm Z Systems Eus8.2 · 8.4
- Redhat Enterprise Linux For Real Time8
- Redhat Enterprise Linux For Real Time For Nfv8
- Redhat Enterprise Linux For Real Time For Nfv Tus8.2 · 8.4
- Redhat Enterprise Linux For Real Time Tus8.2 · 8.4
- Redhat Enterprise Linux Server Aus8.2 · 8.4
- Redhat Enterprise Linux Server For Power Little Endian Update Services For Sap Solutions8.1 · 8.2 · 8.4
- Redhat Enterprise Linux Server Tus8.2 · 8.4
- Redhat Enterprise Linux Server Update Services For Sap Solutions8.1 · 8.2 · 8.4
- Siemens Scalance Lpe9403 Firmware< 2.0
Remediation
Fixed in- Linux Kernel≥ 5.15.25
- Siemens Scalance Lpe9403 Firmware≥ 2.0
References
- http://packetstormsecurity.com/files/166229/Dirty-Pipe-Linux-Privilege-Escalation.html
- http://packetstormsecurity.com/files/166230/Dirty-Pipe-SUID-Binary-Hijack-Privilege-Escalation.html
- http://packetstormsecurity.com/files/166258/Dirty-Pipe-Local-Privilege-Escalation.html
- http://packetstormsecurity.com/files/176534/Linux-4.20-KTLS-Read-Only-Write.html
- https://bugzilla.redhat.com/show_bug.cgi?id=2060795
- https://cert-portal.siemens.com/productcert/pdf/ssa-222547.pdf
- https://dirtypipe.cm4all.com/
- https://psirt.global.sonicwall.com/vuln-detail/SNWLID-2022-0015
- https://security.netapp.com/advisory/ntap-20220325-0005/
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2022-0847
and 1 more references
Related CVEs
Exploited and critical vulnerabilities in the same product or from the same vendor.
Data from the NVD, CISA KEV catalog and FIRST EPSS. The CVSS 4.0 base score is shown where the NVD has one, otherwise CVSS 3.1.
