CVE-2022-0847
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.
Impact & exploitability
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Affected products we track (1)
Recommendation
This vulnerability is being actively exploited in the wild — patch affected products urgently. Open any affected product above for its exact safe version.
Official patch: https://bugzilla.redhat.com/show_bug.cgi?id=2060795 ↗
Additional information
- NVD record
- https://bugzilla.redhat.com/show_bug.cgi?id=2060795Patch
- http://packetstormsecurity.com/files/176534/Linux-4.20-KTLS-Read-Only-Write.htmlAdvisory
- https://cert-portal.siemens.com/productcert/pdf/ssa-222547.pdfAdvisory
- https://psirt.global.sonicwall.com/vuln-detail/SNWLID-2022-0015Advisory
- http://packetstormsecurity.com/files/166229/Dirty-Pipe-Linux-Privilege-Escalation.htmlAdvisory
- http://packetstormsecurity.com/files/166230/Dirty-Pipe-SUID-Binary-Hijack-Privilege-Escalation.htmlAdvisory
- http://packetstormsecurity.com/files/166258/Dirty-Pipe-Local-Privilege-Escalation.htmlAdvisory
- https://dirtypipe.cm4all.com/Advisory