CVE-2022-0847 : Dirty Pipe - Linux Kernel Privilege Escalation
Versions Affected : All versions prior to TrueNAS SCALE 22.02.0.1. Versions Not Affected : TrueNAS CORE is not vulnerable.
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
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Base score 7.8.
Workaround
No workarounds available
Mitigation
- Currently there is no mitigation available for this flaw. Customers should update once they are available.