CVE-2022-0847

published 7 Mar 2022 · updated 21 Oct 2025

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.

10.0CriticalCVSS 7.8EPSS 93%CISA KEV · due 16 May 20222 public exploits

Exploited in the wild, in CISA KEV since 25 Apr 2022 (due 16 May 2022), with 2 public exploits. No fixed version is recorded.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel
=Linux Kernel 5.17 rc6

Exploit evidence

2 public sources

kev

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2022-0847 severity on Zeptric[![CVE-2022-0847](https://zeptric.io/badge/cve/CVE-2022-0847.svg)](https://zeptric.io/cve/CVE-2022-0847)