Findings

CVE-2022-0847

Linux Kernel Privilege Escalation Vulnerability

Published Mar 10, 2022 · updated Jun 16, 2026 · linux linux kernel

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.

Timeline

Detection, updates, and resolution for this record.

  1. Mar 10, 2022 · Catalog

    Detected

    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.

  2. Apr 25, 2022 · CISA KEV

    Known exploited

    Apply updates per vendor instructions.

  3. May 16, 2022 · CISA KEV

    Remediation due

    Apply updates per vendor instructions.

  4. Jun 16, 2026 · Catalog

    Updated

    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.

Required action

Apply updates per vendor instructions.

CISA due date May 16, 2022

Affected

  • cpe fedoraproject/fedora35
  • cpe linux/linux kernelversion unspecified
  • cpe netapp/h300s firmwareversion unspecified
  • cpe ovirt/ovirt-engine4.4.10.2
  • cpe redhat/codeready linux builderversion unspecified
  • cpe redhat/enterprise linux8.0
  • cpe redhat/enterprise linux eus8.2
  • cpe redhat/enterprise linux eus8.4
  • cpe redhat/enterprise linux for ibm z systems8.0
  • cpe redhat/virtualization host4.0
  • vendor Linux Kernelversion unspecified

Sources

  • CISA KEVCVE-2022-0847

    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."

    cisa.gov
  • CVE.orgCVE-2022-0847

    Official CVE identifier

    cve.org
  • FIRST EPSSCVE-2022-0847

    30-day exploitation probability 92.8%

    first.org
  • Public archive entry. The exploit body is not stored here.

    exploit-db.com
  • Metasploit Modulesexploit_linux/local/cve_2022_0847_dirtypipe

    Public module reference (excellent). Module source is not copied into this catalog.

    rapid7.com
  • NIST NVDCVE-2022-0847

    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

    nvd.nist.gov

References