CVE-2022-0847: Vulnerability in Linux kernel
Actively exploited. 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, CWE-665
- Exploitation
- Confirmed 25 Apr 2022
- Severity
- 7.8 of 10
- Attack likelihood
- Unknown
- Fix
- Fixed version known
- Patch deadline
- Agencies by 16 May 2022
Details
- Vector
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Weakness
- CWE-665
- Published
- 10 Mar 2022
- Last change
- 17 Jun 2026
Affected products
Affected versions and the first fixed release
- Linux kernel From 5.8 before 5.10.102; From 5.15 before 5.15.25; From 5.16 before 5.16.11. Fixed in 5.10.102, 5.15.25, 5.16.11
- Fedoraproject Fedora Version 35. No fixed version recorded
- Red Hat Enterprise Linux Version 8.0. No fixed version recorded
- Red Hat Enterprise Linux Eus Versions 8.2, 8.4. No fixed version recorded
- Red Hat Enterprise Linux For IBM Z Systems Version 8.0. No fixed version recorded
- Red Hat Enterprise Linux For IBM Z Systems Eus Versions 8.2, 8.4. No fixed version recorded
- Red Hat Enterprise Linux For Power Little Endian Version 8.0. No fixed version recorded
- Red Hat Enterprise Linux For Power Little Endian Eus Versions 8.2, 8.4. No fixed version recorded
Advisories
Vendor and security advisories
Exploit code
Public exploits and proofs of concept, handle with care
- packetstormsecurity.com/files/166229/Dirty-Pipe-Linux-Privilege-Escalation.html
- packetstormsecurity.com/files/166230/Dirty-Pipe-SUID-Binary-Hijack-Privilege-Escalation...
- packetstormsecurity.com/files/166258/Dirty-Pipe-Local-Privilege-Escalation.html
- packetstormsecurity.com/files/176534/Linux-4.20-KTLS-Read-Only-Write.html
Related
- Linux kernel vulnerabilities Recent advisories, watch this product
- Exploited vulnerabilities Explorer, exploited only